diff --git a/docs/license-info/README.md b/docs/license-info/README.md index c98f525fa4..3291a4cfc8 100644 --- a/docs/license-info/README.md +++ b/docs/license-info/README.md @@ -61,3 +61,4 @@ The pages linked below contain the licenses for all third party dependencies of - [ADF 8.2.0](license-info-8.2.0.md) - [ADF 8.2.1](license-info-8.2.1.md) - [ADF 8.3.1](license-info-8.3.1.md) +- [ADF 8.4.0](license-info-8.4.0.md) diff --git a/docs/license-info/license-info-8.4.0.md b/docs/license-info/license-info-8.4.0.md new file mode 100644 index 0000000000..f7c5c69bc6 --- /dev/null +++ b/docs/license-info/license-info-8.4.0.md @@ -0,0 +1,48 @@ +--- +Title: License info, alfresco-ng2-components 8.4.0 +--- + +# License information for alfresco-ng2-components 8.4.0 + +This page lists all third party libraries the project depends on. + +## Libraries + +| Name | Version | License | +| --- | --- | --- | +| [@angular/animations](https://github.com/angular/angular) | 19.2.20 | [MIT](https://opensource.org/license/mit/) | +| [@angular/cdk](https://github.com/angular/components) | 19.2.19 | [MIT](https://opensource.org/license/mit/) | +| [@angular/common](https://github.com/angular/angular) | 19.2.20 | [MIT](https://opensource.org/license/mit/) | +| [@angular/compiler](https://github.com/angular/angular) | 19.2.20 | [MIT](https://opensource.org/license/mit/) | +| [@angular/core](https://github.com/angular/angular) | 19.2.20 | [MIT](https://opensource.org/license/mit/) | +| [@angular/forms](https://github.com/angular/angular) | 19.2.20 | [MIT](https://opensource.org/license/mit/) | +| [@angular/material-date-fns-adapter](https://github.com/angular/components) | 19.2.19 | [MIT](https://opensource.org/license/mit/) | +| [@angular/material](https://github.com/angular/components) | 19.2.19 | [MIT](https://opensource.org/license/mit/) | +| [@angular/platform-browser-dynamic](https://github.com/angular/angular) | 19.2.20 | [MIT](https://opensource.org/license/mit/) | +| [@angular/platform-browser](https://github.com/angular/angular) | 19.2.20 | [MIT](https://opensource.org/license/mit/) | +| [@angular/router](https://github.com/angular/angular) | 19.2.20 | [MIT](https://opensource.org/license/mit/) | +| [@apollo/client](https://github.com/apollographql/apollo-client) | 3.13.1 | [MIT](https://opensource.org/license/mit/) | +| [@cspell/eslint-plugin](https://github.com/streetsidesoftware/cspell) | 9.4.0 | [MIT](https://opensource.org/license/mit/) | +| [@mat-datetimepicker/core](https://github.com/kuhnroyal/mat-datetimepicker) | 15.0.2 | [MIT](https://opensource.org/license/mit/) | +| [@ngx-translate/core](https://github.com/ngx-translate/core) | 17.0.0 | [MIT](https://opensource.org/license/mit/) | +| [angular-oauth2-oidc-jwks](https://github.com/manfredsteyer/angular-oauth2-oidc) | 17.0.2 | [MIT](https://opensource.org/license/mit/) | +| [angular-oauth2-oidc](https://github.com/manfredsteyer/angular-oauth2-oidc) | 17.0.2 | [MIT](https://opensource.org/license/mit/) | +| [apollo-angular](https://github.com/kamilkisiela/apollo-angular) | 10.0.3 | [MIT](https://opensource.org/license/mit/) | +| [chart.js](https://github.com/chartjs/Chart.js) | 4.4.4 | [MIT](https://opensource.org/license/mit/) | +| [cropperjs](https://github.com/fengyuanchen/cropperjs) | 1.6.2 | [MIT](https://opensource.org/license/mit/) | +| [date-fns](https://github.com/date-fns/date-fns) | 2.30.0 | [MIT](https://opensource.org/license/mit/) | +| dotenv-expand | 5.1.0 | [BSD-2-Clause](https://opensource.org/licenses/BSD-2-Clause) | +| editorjs-html | 4.0.5 | [MIT](https://opensource.org/license/mit/) | +| [eventemitter3](https://github.com/primus/eventemitter3) | 5.0.4 | [MIT](https://opensource.org/license/mit/) | +| [graphql-ws](https://github.com/enisdenjo/graphql-ws) | 6.0.7 | [MIT](https://opensource.org/license/mit/) | +| [material-icons](https://github.com/marella/material-icons) | 1.13.14 | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [minimatch-browser](https://github.com/isaacs/minimatch) | 1.0.0 | [ISC](https://www.isc.org/licenses/) | +| [ng2-charts](https://github.com/valor-software/ng2-charts) | 4.1.1 | [ISC](https://www.isc.org/licenses/) | +| [node-fetch](https://github.com/node-fetch/node-fetch) | 3.3.2 | [MIT](https://opensource.org/license/mit/) | +| [pdfjs-dist](https://github.com/mozilla/pdf.js) | 5.1.91 | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [raphael](https://github.com/DmitryBaranovskiy/raphael) | 2.3.0 | [MIT](https://opensource.org/license/mit/) | +| [rxjs](https://github.com/reactivex/rxjs) | 7.8.2 | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) | +| [superagent](https://github.com/ladjs/superagent) | 9.0.2 | [MIT](https://opensource.org/license/mit/) | +| [tslib](https://github.com/Microsoft/tslib) | 2.8.1 | [0BSD](http://landley.net/toybox/license.html) | +| [zone.js](https://github.com/angular/angular) | 0.15.0 | [MIT](https://opensource.org/license/mit/) | + diff --git a/docs/release-notes/README.md b/docs/release-notes/README.md index d3cd65bc81..c1ced915e0 100644 --- a/docs/release-notes/README.md +++ b/docs/release-notes/README.md @@ -9,6 +9,7 @@ The first **General Availability** release was v2.0.0. ## General Availability +- [8.4.0](RelNote-8.4.0.md) - [8.3.1](RelNote-8.3.1.md) - [8.2.1](RelNote-8.2.1.md) - [8.2.0](RelNote-8.2.0.md) diff --git a/docs/release-notes/RelNote-8.4.0.md b/docs/release-notes/RelNote-8.4.0.md new file mode 100644 index 0000000000..d29f0d85e8 --- /dev/null +++ b/docs/release-notes/RelNote-8.4.0.md @@ -0,0 +1,40 @@ +--- +Title: Changelog for alfresco-ng2-components v8.4.0 +--- + +# Changelog + +- [af95723f30](https://github.com/Alfresco/alfresco-ng2-components/commit/af95723f30) [ACS-11589] [ACA] info drawer test-area does not show full text (#11816) +- [d70ae599c7](https://github.com/Alfresco/alfresco-ng2-components/commit/d70ae599c7) Fix security vulnerabilities in npm dependencies (#11815) +- [07c6a4d923](https://github.com/Alfresco/alfresco-ng2-components/commit/07c6a4d923) Remove jasmine-spec-reporter dependency from package.json and package-lock.json (#11814) +- [6fc8dda887](https://github.com/Alfresco/alfresco-ng2-components/commit/6fc8dda887) Remove mocha and jasmine-ajax dependencies (#11813) +- [48eb258311](https://github.com/Alfresco/alfresco-ng2-components/commit/48eb258311) AAE-44184 Colspan setting on form fields is ignored or not properly applied (#11800) +- [32850a0ce8](https://github.com/Alfresco/alfresco-ng2-components/commit/32850a0ce8) [MNT-25185] Display authority name instead of id if provided (#11809) +- [8a6bcac29e](https://github.com/Alfresco/alfresco-ng2-components/commit/8a6bcac29e) [ACS-11506]: moved aria-live region (#11808) +- [8ce0561ef5](https://github.com/Alfresco/alfresco-ng2-components/commit/8ce0561ef5) AAE-44086 Unify styling and coloring of errors in forms (#11797) +- [69a9dc1386](https://github.com/Alfresco/alfresco-ng2-components/commit/69a9dc1386) AAE-44002 Allow user input for date and datetime fields (#11791) +- [70a6f42649](https://github.com/Alfresco/alfresco-ng2-components/commit/70a6f42649) AAE-40741 Form rule `Validate form` doesn't do anything (#11788) +- [74252797b7](https://github.com/Alfresco/alfresco-ng2-components/commit/74252797b7) AAE-28918 Fix for start process button is enabled when required widgets are read only without value (#11781) +- [79871455f4](https://github.com/Alfresco/alfresco-ng2-components/commit/79871455f4) [ACS-10242] SR: Personal files: Filter by Size popup announces entire content instead of dialog title (#11782) +- [d7a8f03dbf](https://github.com/Alfresco/alfresco-ng2-components/commit/d7a8f03dbf) AAE-43749 Added date formatting according to locale (#11769) +- [a3e13da3a4](https://github.com/Alfresco/alfresco-ng2-components/commit/a3e13da3a4) [ACS-10280]: Keyboard Navigation: Search: Unnecessary stops in the results table using the Tab key (#11736) +- [565db01819](https://github.com/Alfresco/alfresco-ng2-components/commit/565db01819) [MNT-25635] Search filter autocomplete search for tags when input changes (#11780) +- [f321b74be0](https://github.com/Alfresco/alfresco-ng2-components/commit/f321b74be0) AAE-21162 Add deploymentCompletion property to ApplicationInstance model (#11784) +- [28fe6d3a76](https://github.com/Alfresco/alfresco-ng2-components/commit/28fe6d3a76) AAE-43710 Fix form field spacing misalignments (#11763) +- [d526d31425](https://github.com/Alfresco/alfresco-ng2-components/commit/d526d31425) AAE-34137 Fix for disabling `complete` button on the form after declining form confirmation dialog (#11766) +- [e97439f09b](https://github.com/Alfresco/alfresco-ng2-components/commit/e97439f09b) AAE-43391 Disable 'Start process' and 'Complete' when whitespace is entered into required form fields (#11760) +- [bdd4b687c6](https://github.com/Alfresco/alfresco-ng2-components/commit/bdd4b687c6) AAE-43290 updating the minor version for angular in ADF (#11752) +- [46989ae081](https://github.com/Alfresco/alfresco-ng2-components/commit/46989ae081) [ACS-11319] Move tree actions menu item buttons inside the component (#11749) +- [a50dfd050d](https://github.com/Alfresco/alfresco-ng2-components/commit/a50dfd050d) CSX-460 Revert Remove excess disabled attribute PR (#11748) +- [e57910f5c3](https://github.com/Alfresco/alfresco-ng2-components/commit/e57910f5c3) [ACS-11271] Rebranding of FE apps (#11746) +- [3bea95b8e0](https://github.com/Alfresco/alfresco-ng2-components/commit/3bea95b8e0) Revert "[ACS-10219] add class selector (#11387)" (#11745) +- [adce4cabf5](https://github.com/Alfresco/alfresco-ng2-components/commit/adce4cabf5) [MNT-25447] Fix: Viewing preview renditions for versions fails (#11747) +- [ebf742c54b](https://github.com/Alfresco/alfresco-ng2-components/commit/ebf742c54b) AAE-43331 Expand adf-icon (#11744) +- [759d206302](https://github.com/Alfresco/alfresco-ng2-components/commit/759d206302) HXIDP-6471 Provide start process variables to custom screen (#11712) +- [a865372819](https://github.com/Alfresco/alfresco-ng2-components/commit/a865372819) [ACS-10267] Announce titles for repository info as headings (#11728) +- [2bab587876](https://github.com/Alfresco/alfresco-ng2-components/commit/2bab587876) [ACS-11205] Bring back removed getter (#11735) +- [e325ad3871](https://github.com/Alfresco/alfresco-ng2-components/commit/e325ad3871) AAE-39678 Apply visibility conditions if dependent field's value is changed with form rules (#11729) +- [a8ae3d3b4e](https://github.com/Alfresco/alfresco-ng2-components/commit/a8ae3d3b4e) AAE-42908 Evaluate expressions for rich-text-display list types (#11726) +- [bc41c33ba8](https://github.com/Alfresco/alfresco-ng2-components/commit/bc41c33ba8) [ACS-11205] Add LazyApi decorator (#11711) +- [83e80906d8](https://github.com/Alfresco/alfresco-ng2-components/commit/83e80906d8) [ACS-11213] upgrade ngx translate to v17 (#11719) +- [ef5944a09c](https://github.com/Alfresco/alfresco-ng2-components/commit/ef5944a09c) Post-release version bump (#11734) diff --git a/docs/vulnerability/README.md b/docs/vulnerability/README.md index bc50271616..f3d940a4df 100644 --- a/docs/vulnerability/README.md +++ b/docs/vulnerability/README.md @@ -58,3 +58,4 @@ The pages linked below contain the audit for all third party dependencies of ADF - [ADF 8.2.0](audit-info-8.2.0.md) - [ADF 8.2.1](audit-info-8.2.1.md) - [ADF 8.3.1](audit-info-8.3.1.md) +- [ADF 8.4.0](audit-info-8.4.0.md) diff --git a/docs/vulnerability/audit-info-8.4.0.md b/docs/vulnerability/audit-info-8.4.0.md new file mode 100644 index 0000000000..e09e93a236 --- /dev/null +++ b/docs/vulnerability/audit-info-8.4.0.md @@ -0,0 +1,23 @@ +--- +Title: Audit info, alfresco-ng2-components 8.4.0 +--- + +# Audit information for alfresco-ng2-components 8.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: + +## Libraries + +| Severity | Module | Vulnerable versions | +| --- | --- | --- | + + diff --git a/lib/cli/package-lock.json b/lib/cli/package-lock.json index d89cd49360..5eb642abc6 100644 --- a/lib/cli/package-lock.json +++ b/lib/cli/package-lock.json @@ -9,7 +9,7 @@ "version": "8.4.0", "license": "Apache-2.0", "dependencies": { - "@alfresco/js-api": ">=9.2.0", + "@alfresco/js-api": ">=9.3.0", "ejs": "^3.1.10", "license-checker": "^25.0.1", "node-fetch": "^2.7.0", @@ -26,9 +26,9 @@ } }, "node_modules/@alfresco/js-api": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-9.2.1.tgz", - "integrity": "sha512-GuxBtvBzu3nqu0G+FUGM2boND8VxBI2lX7TE72zX4CbTsS4/0YKZvpTpmOVqZOW4tlNQxy1fExPqQlEPahx+fg==", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-9.3.1.tgz", + "integrity": "sha512-LTO5/DusccR6VQaztYHgCBvn9gfDchNfJf/pjuRH9GTCyi8k14BTvjs9e8RTg78WOlO7cs4iLzMq9wFvlzVc4Q==", "license": "Apache-2.0", "dependencies": { "eventemitter3": "^5.0.1", diff --git a/lib/cli/package.json b/lib/cli/package.json index acb5b0bc8d..454cdccd9c 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -22,7 +22,7 @@ "unlink": "cd ../../dist/libs/cli && npm unlink" }, "dependencies": { - "@alfresco/js-api": ">=9.2.0", + "@alfresco/js-api": ">=9.3.0", "ejs": "^3.1.10", "license-checker": "^25.0.1", "node-fetch": "^2.7.0", diff --git a/lib/content-services/package.json b/lib/content-services/package.json index b3da41540b..329bba93e9 100644 --- a/lib/content-services/package.json +++ b/lib/content-services/package.json @@ -21,9 +21,9 @@ "@angular/platform-browser": ">=14.1.3", "@angular/platform-browser-dynamic": ">=14.1.3", "@angular/router": ">=14.1.3", - "@alfresco/js-api": ">=9.3.1", + "@alfresco/js-api": ">=9.4.0", "@ngx-translate/core": ">=17.0.0", - "@alfresco/adf-core": ">=8.3.1" + "@alfresco/adf-core": ">=8.4.0" }, "keywords": [ "content-services", diff --git a/lib/core/package.json b/lib/core/package.json index a36512053f..c663f4adc9 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -38,8 +38,8 @@ "@angular/router": ">=16.0.0", "@mat-datetimepicker/core": ">=12.0.1", "@ngx-translate/core": ">=17.0.0", - "@alfresco/js-api": ">=9.3.1", - "@alfresco/adf-extensions": ">=8.3.1", + "@alfresco/js-api": ">=9.4.0", + "@alfresco/adf-extensions": ">=8.4.0", "minimatch": ">=10.0.0", "pdfjs-dist": ">=3.3.122" }, diff --git a/lib/extensions/package.json b/lib/extensions/package.json index 2d876ff312..3d0904a82d 100644 --- a/lib/extensions/package.json +++ b/lib/extensions/package.json @@ -14,7 +14,7 @@ "peerDependencies": { "@angular/common": ">=14.1.3", "@angular/core": ">=14.1.3", - "@alfresco/js-api": ">=9.3.1" + "@alfresco/js-api": ">=9.4.0" }, "keywords": [ "extensions", diff --git a/lib/insights/package.json b/lib/insights/package.json index 01a5b3bb26..07a56dad15 100644 --- a/lib/insights/package.json +++ b/lib/insights/package.json @@ -11,8 +11,8 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "dependencies": { - "@alfresco/adf-core": ">=8.3.1", - "@alfresco/adf-content-services": ">=8.3.1", + "@alfresco/adf-core": ">=8.4.0", + "@alfresco/adf-content-services": ">=8.4.0", "@ngx-translate/core": ">=17.0.0", "chart.js": "^4.3.0", "ng2-charts": "^4.1.1", diff --git a/lib/process-services-cloud/package.json b/lib/process-services-cloud/package.json index aa31b34042..504691db76 100644 --- a/lib/process-services-cloud/package.json +++ b/lib/process-services-cloud/package.json @@ -21,9 +21,9 @@ "@angular/platform-browser": ">=14.1.3", "@angular/platform-browser-dynamic": ">=14.1.3", "@angular/router": ">=14.1.3", - "@alfresco/js-api": ">=9.3.1", - "@alfresco/adf-core": ">=8.3.1", - "@alfresco/adf-content-services": ">=8.3.1", + "@alfresco/js-api": ">=9.4.0", + "@alfresco/adf-core": ">=8.4.0", + "@alfresco/adf-content-services": ">=8.4.0", "@apollo/client": ">=3.7.2", "@ngx-translate/core": ">=17.0.0", "apollo-angular": ">=4.0.1", diff --git a/lib/process-services/package.json b/lib/process-services/package.json index 1fc69912d7..e81245f136 100644 --- a/lib/process-services/package.json +++ b/lib/process-services/package.json @@ -21,9 +21,9 @@ "@angular/platform-browser": ">=14.1.3", "@angular/platform-browser-dynamic": ">=14.1.3", "@angular/router": ">=14.1.3", - "@alfresco/js-api": ">=9.3.1", - "@alfresco/adf-core": ">=8.3.1", - "@alfresco/adf-content-services": ">=8.3.1", + "@alfresco/js-api": ">=9.4.0", + "@alfresco/adf-core": ">=8.4.0", + "@alfresco/adf-content-services": ">=8.4.0", "@ngx-translate/core": ">=17.0.0" }, "keywords": [ diff --git a/scripts/release.sh b/scripts/release.sh index 8636a74b47..7e098b3b66 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -31,6 +31,17 @@ while [[ $1 == -* ]]; do esac done +if [[ ! -f "$ROOTDIR/dist/libs/cli/bin/adf-cli" ]]; then + echo -e "\e[33madf-cli not found in dist, building it first...\e[0m" + nx build cli + if [[ $? -ne 0 ]]; then + echo -e "\e[31mFailed to build adf-cli. Exiting.\e[0m" + exit 1 + fi + echo -e "\e[32madf-cli built successfully.\e[0m" +else + echo -e "\e[32madf-cli already built, skipping build step.\e[0m" +fi LICENSE_ROW="- [ADF $VERSION](license-info-$VERSION.md)"; LICENSE_GREP=`escape_for_grep "$LICENSE_ROW"` LICENSE_README="$ROOTDIR/docs/license-info/README.md"; @@ -39,7 +50,7 @@ LICENSE_GREP_RESULT=`grep "$LICENSE_GREP" "$LICENSE_README"`; if [ -z "$LICENSE_GREP_RESULT" ]; then echo -e "\e[33mAdding third party license info for version: $VERSION\e[0m" - adf-cli licenses + node "$ROOTDIR/dist/libs/cli/bin/adf-cli" licenses mv "$ROOTDIR/license-info-$VERSION.md" "$ROOTDIR/docs/license-info/license-info-$VERSION.md" echo $LICENSE_ROW >> $LICENSE_README else @@ -54,7 +65,7 @@ VULNERABILITY_GREP_RESULT=`grep "$VULNERABILITY_GREP" "$VULNERABILITY_README"`; if [ -z "$VULNERABILITY_GREP_RESULT" ]; then echo -e "\e[33mAdding vulnerability info for version: $VERSION\e[0m" - adf-cli audit + node "$ROOTDIR/dist/libs/cli/bin/adf-cli" audit mv "$ROOTDIR/audit-info-$VERSION.md" "$ROOTDIR/docs/vulnerability/audit-info-$VERSION.md" echo $VULNERABILITY_ROW >> $VULNERABILITY_README else