diff --git a/.github/workflows/Release-charts.yml b/.github/workflows/Release-charts.yml index c92a0e7c..ea06a8bc 100644 --- a/.github/workflows/Release-charts.yml +++ b/.github/workflows/Release-charts.yml @@ -48,11 +48,11 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Install Helm - uses: azure/setup-helm@v3 + uses: azure/setup-helm@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.4.1 + uses: helm/chart-releaser-action@v1.6.0 env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 130ed1e9..fca8bb22 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -1,5 +1,6 @@ # ############################################################################# # Copyright (c) 2023 Contributors to the Eclipse Foundation +# Copyright (c) 2024 T-Systems International GmbH # # See the NOTICE file(s) distributed with this work for additional # information regarding copyright ownership. @@ -34,7 +35,7 @@ jobs: steps: - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '17' diff --git a/.github/workflows/dockerbuild.yml b/.github/workflows/dockerbuild.yml index 9ffcb9b7..3154dd51 100644 --- a/.github/workflows/dockerbuild.yml +++ b/.github/workflows/dockerbuild.yml @@ -72,7 +72,7 @@ jobs: - name: DockerHub login if: github.event_name != 'pull_request' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: # Use existing DockerHub credentials present as secrets username: ${{ secrets.DOCKER_HUB_USER }} diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 4a85c40c..8e041afa 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -33,7 +33,8 @@ on: jobs: - analyze-config: + analyze: + name: Analyze runs-on: ubuntu-latest permissions: actions: read @@ -42,9 +43,9 @@ jobs: steps: - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@0.18.0 + uses: aquasecurity/trivy-action@0.20.0 with: - image-ref: "tractusx/managed-simple-data-exchanger-backend:latest" # Pull image from Docker Hub and run Trivy vulnerability scanner + image-ref: "tractusx/managed-simple-data-exchanger-frontend:latest" # Pull image from Docker Hub and run Trivy vulnerability scanner format: "sarif" output: "trivy-results.sarif" exit-code: "1" # Trivy exits with code 1 if vulnerabilities are found, causing the workflow step to fail. diff --git a/CHANGELOG.md b/CHANGELOG.md index ff768c97..7275ad44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,9 +13,12 @@ New features, fixed bugs, known defects and other noteworthy changes to each rel - Policy related documentations updated. ### Changed -- Upload data api implemetation moved to RTK query for better performance. +- Upload data api implementation moved to RTK query for better performance. - Consumer: Fetching policy information from EDC for offer details overlay +## [2.3.7] - 2024-05-09 +- Bumped version for release 24.03 to match with backend version (hotfix issue in fixed backend). + ## [2.3.6] - 2024-03-08 ### Added - Policy overlay descriptions. @@ -27,7 +30,7 @@ New features, fixed bugs, known defects and other noteworthy changes to each rel - legal information added to docker image. - trivy workflow steps updated. - PCF Documentation update - - Download file functions code optimisations. + - Download file functions code optimizations. - Page layout css fixes. ### Known defects @@ -264,7 +267,8 @@ New features, fixed bugs, known defects and other noteworthy changes to each rel - Compliance with Catena-X Guidelines - Integration with Digital Twin registry service. -[unreleased]: https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/compare/v2.3.6...main +[unreleased]: https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/compare/v2.3.7...main +[2.3.7]: https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/compare/v2.3.6...v2.3.7 [2.3.6]: https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/compare/v2.3.5...v2.3.6 [2.3.5]: https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/compare/v2.3.3...v2.3.5 [2.3.3]: https://github.com/eclipse-tractusx/managed-simple-data-exchanger-frontend/compare/v2.3.2...v2.3.3 diff --git a/package-lock.json b/package-lock.json index e811065c..cc23033d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,11 +24,11 @@ "file-saver": "^2.0.5", "i18next": "^23.11.1", "i18next-browser-languagedetector": "^7.2.1", - "keycloak-js": "^21.1.1", + "keycloak-js": "^24.0.4", "lodash": "^4.17.21", "moment": "^2.29.4", "react": "^18.2.0", - "react-dom": "^18.2.0", + "react-dom": "^18.3.1", "react-dropzone": "^14.2.3", "react-hook-form": "^7.46.2", "react-i18next": "^14.1.0", @@ -45,7 +45,7 @@ "@types/lodash": "^4.14.185", "@types/node": "^20.12.4", "@types/react": "^18.2.74", - "@types/react-dom": "^18.2.24", + "@types/react-dom": "^18.3.0", "@types/react-redux": "^7.1.33", "@types/react-router-dom": "^5.3.3", "@types/react-slick": "^0.23.13", @@ -2654,9 +2654,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.25", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.25.tgz", - "integrity": "sha512-o/V48vf4MQh7juIKZU2QGDfli6p1+OOi5oXx36Hffpc9adsHeXjVp8rHuPkjd8VT8sOJ2Zp05HR7CdpGTIUFUA==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", + "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", "dev": true, "dependencies": { "@types/react": "*" @@ -6049,9 +6049,9 @@ "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==" }, "node_modules/js-sha256": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz", - "integrity": "sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==" + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.11.0.tgz", + "integrity": "sha512-6xNlKayMZvds9h1Y1VWc0fQHQ82BxTXizWPEtEeGvmOUYpBRy4gbWroHLpzowe6xiQhHpelCQiE7HEdznyBL9Q==" }, "node_modules/js-tokens": { "version": "4.0.0", @@ -6166,13 +6166,21 @@ "node": ">=4.0" } }, + "node_modules/jwt-decode": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz", + "integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==", + "engines": { + "node": ">=18" + } + }, "node_modules/keycloak-js": { - "version": "21.1.2", - "resolved": "https://registry.npmjs.org/keycloak-js/-/keycloak-js-21.1.2.tgz", - "integrity": "sha512-+6r1BvmutWGJBtibo7bcFbHWIlA7XoXRCwcA4vopeJh59Nv2Js0ju2u+t8AYth+C6Cg7/BNfO3eCTbsl/dTBHw==", + "version": "24.0.4", + "resolved": "https://registry.npmjs.org/keycloak-js/-/keycloak-js-24.0.4.tgz", + "integrity": "sha512-eLjG7CzGGgAXh78M76QUJy1R8+QDQvIJXJf6T3bq9VJZ6RXBGZXMsXvII66b83ueYDFa1gi2JojmA31Z23HO0g==", "dependencies": { - "base64-js": "^1.5.1", - "js-sha256": "^0.9.0" + "js-sha256": "^0.11.0", + "jwt-decode": "^4.0.0" } }, "node_modules/keyv": { @@ -6982,15 +6990,15 @@ } }, "node_modules/react-dom": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", - "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", "dependencies": { "loose-envify": "^1.1.0", - "scheduler": "^0.23.0" + "scheduler": "^0.23.2" }, "peerDependencies": { - "react": "^18.2.0" + "react": "^18.3.1" } }, "node_modules/react-dropzone": { @@ -7436,9 +7444,9 @@ } }, "node_modules/scheduler": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", - "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", "dependencies": { "loose-envify": "^1.1.0" } diff --git a/package.json b/package.json index f833829b..fb0fbdce 100644 --- a/package.json +++ b/package.json @@ -41,11 +41,11 @@ "file-saver": "^2.0.5", "i18next": "^23.11.1", "i18next-browser-languagedetector": "^7.2.1", - "keycloak-js": "^21.1.1", + "keycloak-js": "^24.0.4", "lodash": "^4.17.21", "moment": "^2.29.4", "react": "^18.2.0", - "react-dom": "^18.2.0", + "react-dom": "^18.3.1", "react-dropzone": "^14.2.3", "react-hook-form": "^7.46.2", "react-i18next": "^14.1.0", @@ -62,7 +62,7 @@ "@types/lodash": "^4.14.185", "@types/node": "^20.12.4", "@types/react": "^18.2.74", - "@types/react-dom": "^18.2.24", + "@types/react-dom": "^18.3.0", "@types/react-redux": "^7.1.33", "@types/react-router-dom": "^5.3.3", "@types/react-slick": "^0.23.13", @@ -97,4 +97,4 @@ "build:custom-config": "bash scripts/custom-config.sh", "check:dependencies": "java -jar ./scripts/download/org.eclipse.dash.licenses.jar ./package-lock.json -project automotive.tractusx -summary DEPENDENCIES || true" } -} \ No newline at end of file +}