Skip to content

Commit

Permalink
4.4.0 (#7030)
Browse files Browse the repository at this point in the history
* 4.4.0

* Update README.md

* Update upgrade43-44.md

* Update readme

* lock update

Co-authored-by: arditdomi <[email protected]>
  • Loading branch information
eromano and arditdomi authored May 20, 2021
1 parent c533b4e commit 6e0ad4c
Show file tree
Hide file tree
Showing 29 changed files with 1,172 additions and 66 deletions.
2 changes: 1 addition & 1 deletion demo-shell/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Alfresco-ADF-Angular-Demo",
"description": "Demo shell for Alfresco Angular components",
"version": "4.3.0",
"version": "4.4.0",
"author": "Alfresco Software, Ltd.",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions docs/license-info/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ The pages linked below contain the licenses for all third party dependencies of
- [ADF 4.1.0](license-info-4.1.0.md)
- [ADF 4.2.0](license-info-4.2.0.md)
- [ADF 4.3.0](license-info-4.3.0.md)
- [ADF 4.4.0](license-info-4.4.0.md)
622 changes: 622 additions & 0 deletions docs/license-info/license-info-4.4.0.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/release-notes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The first **General available** release was v2.0.0.

## General available

- [4.4.0](RelNote440.md)
- [4.3.0](RelNote430.md)
- [4.2.0](RelNote420.md)
- [4.1.0](RelNote410.md)
Expand Down
2 changes: 0 additions & 2 deletions docs/release-notes/RelNote390.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ This is the latest **General Available** release of the Application Development

The release can be found on GitHub at [this location](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/3.9.0).

You can contact Francesco Corti (francesco.corti at alfresco.com) for details of features planned for future versions of ADF.

## Contents

- [New package versions](#new-package-versions)
Expand Down
2 changes: 0 additions & 2 deletions docs/release-notes/RelNote400.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ This is the latest **General Available** release of the Application Development

The release can be found on GitHub at [this location](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/4.0.0).

You can contact Francesco Corti (francesco.corti at alfresco.com) for details of features planned for future versions of ADF.

## Contents

- [New package versions](#new-package-versions)
Expand Down
2 changes: 0 additions & 2 deletions docs/release-notes/RelNote410.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ This is the latest **General Available** release of the Application Development

The release can be found on GitHub at [this location](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/4.1.0).

You can contact Francesco Corti (francesco.corti at alfresco.com) for details of features planned for future versions of ADF.

## Contents

- [New package versions](#new-package-versions)
Expand Down
2 changes: 0 additions & 2 deletions docs/release-notes/RelNote420.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ This is the latest **General Available** release of the Application Development

The release can be found on GitHub at [this location](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/4.2.0).

You can contact Francesco Corti (francesco.corti at alfresco.com) for details of features planned for future versions of ADF.

## Contents

- [New package versions](#new-package-versions)
Expand Down
2 changes: 0 additions & 2 deletions docs/release-notes/RelNote430.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ This is the latest **General Available** release of the Application Development

The release can be found on GitHub at [this location](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/4.3.0).

You can contact Francesco Corti (francesco.corti at alfresco.com) for details of features planned for future versions of ADF.

## Contents

- [New package versions](#new-package-versions)
Expand Down
299 changes: 299 additions & 0 deletions docs/release-notes/RelNote440.md

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions docs/upgrade-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ Title: Upgrade guides

Below are links to the upgrade guides notes for all released versions of ADF back to v2.6.0

- [Upgrading from ADF v3.2 to v3.3](upgrade41-42.md)
- [Upgrading from ADF v3.2 to v3.3](upgrade40-41.md)
- [Upgrading from ADF v3.2 to v3.3](upgrade39-40.md)
- [Upgrading from ADF v3.2 to v3.3](upgrade37-38.md)
- [Upgrading from ADF v4.3 to v4.4](upgrade43-44.md)
- [Upgrading from ADF v4.2 to v4.3](upgrade42-43.md)
- [Upgrading from ADF v4.1 to v4.2](upgrade41-42.md)
- [Upgrading from ADF v4.0 to v4.1](upgrade40-41.md)
- [Upgrading from ADF v3.9 to v4.0](upgrade39-40.md)
- [Upgrading from ADF v3.7 to v3.8](upgrade37-38.md)
- [Upgrading from ADF v3.2 to v3.3](upgrade32-33.md)
- [Upgrading from ADF v3.1 to v3.2](upgrade31-32.md)
- [Upgrading from ADF v3.0 to v3.1](upgrade30-31.md)
Expand Down
12 changes: 6 additions & 6 deletions docs/upgrade-guide/upgrade41-42.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If your application has few changes from the original app created by the
[Yeoman generator](https://github.com/Alfresco/generator-ng2-alfresco-app)
then you may be able to update your project with the following steps:

1. Update the Yeoman generator to the latest version (4.1.0). Note that
1. Update the Yeoman generator to the latest version. Note that
you might need to run these commands with `sudo` on Linux or MacOS:

```sh
Expand Down Expand Up @@ -73,11 +73,11 @@ After starting the app, if everything is working fine, that's all and you don't
```json
"dependencies": {
...
"@alfresco/adf-core": "4.1.0",
"@alfresco/adf-content-services": "4.1.0",
"@alfresco/adf-process-services-cloud": "4.1.0",
"@alfresco/adf-insights": "4.1.0",
"@alfresco/js-api": "4.1.0",
"@alfresco/adf-core": "4.2.0",
"@alfresco/adf-content-services": "4.2.0",
"@alfresco/adf-process-services-cloud": "4.2.0",
"@alfresco/adf-insights": "4.2.0",
"@alfresco/js-api": "4.2.0",
...
```
Expand Down
89 changes: 89 additions & 0 deletions docs/upgrade-guide/upgrade42-43.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
Title: Upgrading from ADF v4.2 to v4.3
---

# Upgrading from ADF v4.2 to v4.3

This guide explains how to upgrade your ADF v4.2 project to work with v4.3.

Do not skip this task, if you want your application to be updated to a most recent version of ADF.
Upgrades of multiple versions of ADF cannot be done in one step only, but should follow the chain of sequential updates.

**Note:** the steps described below might involve making changes
to your code. If you are working with a versioning system then you should
commit any changes you are currently working on. If you aren't using versioning
then be sure to make a backup copy of your project before going ahead with the
upgrade.

This guide explains how to upgrade your ADF v3.2 project to work with v3.3.

Do not skip this task, if you want your application to be updated to a most recent version of ADF. Upgrades of multiple versions of ADF cannot be done in one step only, but should follow the chain of sequential updates.

**Note:** the steps described below might involve making changes
to your code. If you are working with a versioning system then you should
commit any changes you are currently working on. If you aren't using versioning
then be sure to make a backup copy of your project before going ahead with the
upgrade.

## Library updates

### Automatic update using the Yeoman Generator

If your application has few changes from the original app created by the
[Yeoman generator](https://github.com/Alfresco/generator-ng2-alfresco-app)
then you may be able to update your project with the following steps:

1. Update the Yeoman generator to the latest version. Note that
you might need to run these commands with `sudo` on Linux or MacOS:

```sh
npm uninstall -g generator-alfresco-adf-app
npm install -g generator-alfresco-adf-app
```

2. Run the new yeoman app generator:

```sh
yo alfresco-adf-app
```

3. Clean your old distribution and dependencies by deleting the `node_modules` folder
and the `package-lock.json` file.

4. Install the dependencies:
```sh
npm install
```

At this point, the generator might have overwritten some of your code where it differs from
the original generated app. Be sure to check for any differences from your project code
(using a versioning system might make this easier) and if there are any differences,
retrofit your changes. When you have done this, you should be able to start the application
as usual:

```sh
npm run start
```

After starting the app, if everything is working fine, that's all and you don't need to do anything else. However, if things don't work as they should then recover the original version of the project and try the manual approach.
### Manual update
1. Update the `package.json` file with the latest library versions:
```json
"dependencies": {
...
"@alfresco/adf-core": "4.3.0",
"@alfresco/adf-content-services": "4.3.0",
"@alfresco/adf-process-services-cloud": "4.3.0",
"@alfresco/adf-insights": "4.3.0",
"@alfresco/js-api": "4.3.0",
...
```
2. Clean your old distribution and dependencies by deleting `node_modules` and `package-lock.json`.
3. Reinstall your dependencies
```sh
npm install
```
89 changes: 89 additions & 0 deletions docs/upgrade-guide/upgrade43-44.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
Title: Upgrading from ADF v4.3 to v4.4
---

# Upgrading from ADF v4.3 to v4.4

This guide explains how to upgrade your ADF v4.3 project to work with v4.4.

Do not skip this task, if you want your application to be updated to a most recent version of ADF.
Upgrades of multiple versions of ADF cannot be done in one step only, but should follow the chain of sequential updates.

**Note:** the steps described below might involve making changes
to your code. If you are working with a versioning system then you should
commit any changes you are currently working on. If you aren't using versioning
then be sure to make a backup copy of your project before going ahead with the
upgrade.

This guide explains how to upgrade your ADF v4.3 project to work with v4.4.

Do not skip this task, if you want your application to be updated to a most recent version of ADF. Upgrades of multiple versions of ADF cannot be done in one step only, but should follow the chain of sequential updates.

**Note:** the steps described below might involve making changes
to your code. If you are working with a versioning system then you should
commit any changes you are currently working on. If you aren't using versioning
then be sure to make a backup copy of your project before going ahead with the
upgrade.

## Library updates

### Automatic update using the Yeoman Generator

If your application has few changes from the original app created by the
[Yeoman generator](https://github.com/Alfresco/generator-ng2-alfresco-app)
then you may be able to update your project with the following steps:

1. Update the Yeoman generator to the latest version. Note that
you might need to run these commands with `sudo` on Linux or MacOS:

```sh
npm uninstall -g generator-alfresco-adf-app
npm install -g generator-alfresco-adf-app
```

2. Run the new yeoman app generator:

```sh
yo alfresco-adf-app
```

3. Clean your old distribution and dependencies by deleting the `node_modules` folder
and the `package-lock.json` file.

4. Install the dependencies:
```sh
npm install
```

At this point, the generator might have overwritten some of your code where it differs from
the original generated app. Be sure to check for any differences from your project code
(using a versioning system might make this easier) and if there are any differences,
retrofit your changes. When you have done this, you should be able to start the application
as usual:

```sh
npm run start
```

After starting the app, if everything is working fine, that's all and you don't need to do anything else. However, if things don't work as they should then recover the original version of the project and try the manual approach.
### Manual update
1. Update the `package.json` file with the latest library versions:
```json
"dependencies": {
...
"@alfresco/adf-core": "4.4.0",
"@alfresco/adf-content-services": "4.4.0",
"@alfresco/adf-process-services-cloud": "4.4.0",
"@alfresco/adf-insights": "4.4.0",
"@alfresco/js-api": "4.4.0",
...
```
2. Clean your old distribution and dependencies by deleting `node_modules` and `package-lock.json`.
3. Reinstall your dependencies
```sh
npm install
```
1 change: 1 addition & 0 deletions docs/vulnerability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ The pages linked below contain the audit for all third party dependencies of ADF
- [ADF 4.1.0](audit-info-4.1.0.md)
- [ADF 4.2.0](audit-info-4.2.0.md)
- [ADF 4.3.0](audit-info-4.3.0.md)
- [ADF 4.4.0](audit-info-4.4.0.md)
22 changes: 22 additions & 0 deletions docs/vulnerability/audit-info-4.4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
Title: Audit info, alfresco-ng2-components 4.4.0
---

# Audit information for alfresco-ng2-components 4.4.0

This page lists the security audit of the dependencies this project depends on.

## Risks

- Critical risk: 0
- High risk: 0
- Moderate risk: 0
- Low risk: 0

Dependencies analyzed: 729

## Libraries

| Severity | Module | Vulnerable versions |
| --- | --- | --- |

2 changes: 1 addition & 1 deletion lib/cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@alfresco/adf-cli",
"description": "Alfresco ADF cli and utils",
"version": "4.3.0",
"version": "4.4.0",
"author": "Alfresco Software, Ltd.",
"bin": {
"adf-cli": "./bin/adf-cli",
Expand All @@ -20,7 +20,7 @@
"dist": "rm -rf ./dist/ && npm run build && cp -R ./bin ./dist/ && cp -R ./resources ./dist && cp -R ./templates ./dist && cp ./package.json ./dist/"
},
"dependencies": {
"@alfresco/js-api": "4.4.0-3493",
"@alfresco/js-api": "4.4.0",
"commander": "^4.0.0",
"ejs": "^2.6.1",
"license-checker": "^25.0.1",
Expand Down
6 changes: 3 additions & 3 deletions lib/content-services/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@alfresco/adf-content-services",
"description": "Alfresco ADF content services",
"version": "4.3.0",
"version": "4.4.0",
"author": "Alfresco Software, Ltd.",
"main": "bundles/adf-content-services.js",
"repository": {
Expand All @@ -20,8 +20,8 @@
"@angular/forms": ">=10.0.2",
"@angular/material": ">=10.0.1",
"@angular/router": ">=10.0.2",
"@alfresco/js-api": "4.4.0-3493",
"@alfresco/adf-core": "4.3.0",
"@alfresco/js-api": "4.4.0",
"@alfresco/adf-core": "4.4.0",
"@ngx-translate/core": ">=13.0.0",
"moment": ">=2.22.2"
},
Expand Down
6 changes: 3 additions & 3 deletions lib/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@alfresco/adf-core",
"description": "Alfresco ADF core",
"version": "4.3.0",
"version": "4.4.0",
"author": "Alfresco Software, Ltd.",
"main": "bundles/adf-core.js",
"repository": {
Expand All @@ -26,8 +26,8 @@
"@angular/router": ">=10.0.2",
"@mat-datetimepicker/core": ">=4.1.0",
"@mat-datetimepicker/moment": ">=4.1.0",
"@alfresco/js-api": "4.4.0-3493",
"@alfresco/adf-extensions": "4.3.0",
"@alfresco/js-api": "4.4.0",
"@alfresco/adf-extensions": "4.4.0",
"@ngx-translate/core": ">=13.0.0",
"minimatch-browser": ">=1.0.0",
"moment": ">=2.22.2",
Expand Down
Loading

0 comments on commit 6e0ad4c

Please sign in to comment.