From 93a17961031df350d208b3a170b43b2855ec1407 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 2 Apr 2026 18:59:10 +0200 Subject: [PATCH] chore: release main (#1768) * chore: release main * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- .github/release-please/manifest.json | 6 ++--- CHANGELOG.md | 38 ++++++++++++++++++++++++++++ package.json | 2 +- sonar-project.properties | 2 +- tests/ocpp-server/CHANGELOG.md | 6 +++++ tests/ocpp-server/pyproject.toml | 2 +- ui/web/CHANGELOG.md | 6 +++++ ui/web/package.json | 2 +- ui/web/sonar-project.properties | 2 +- 9 files changed, 58 insertions(+), 8 deletions(-) diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json index 3519b687..c105508d 100644 --- a/.github/release-please/manifest.json +++ b/.github/release-please/manifest.json @@ -1,5 +1,5 @@ { - ".": "4.1.1", - "ui/web": "4.1.1", - "tests/ocpp-server": "4.1.1" + ".": "4.2.0", + "ui/web": "4.2.0", + "tests/ocpp-server": "4.2.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index b90912ab..6caba955 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # Changelog +## [4.2.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/simulator@v4.1.1...simulator@v4.2.0) (2026-04-02) + +### 🚀 Features + +- **ocpp:** align OCPP 2.0 meter value builder with 1.6 parity ([21556f7](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/21556f732886a9c5c234c143a81668fede3d9991)) + +### 🐞 Bug Fixes + +- **deps:** update all non-major dependencies ([#1770](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1770)) ([803a118](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/803a118fb119964ad39b0e059f66aae613478873)) +- **ocpp:** align OCPP 2.x auth adapter version to VERSION_201 ([bd88bf7](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/bd88bf74971e7f012552ff9c1729170e873e0518)) +- **ocpp:** wire context param through OCPP 1.6 meter value builder ([3cbdf10](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/3cbdf10bee1e69c8b48685ab2387626ae427a873)) + +### ✨ Polish + +- move constants to domain-appropriate locations ([ff1696b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ff1696ba516778bb03912ce8a48ba56d911e8350)) +- **ocpp:** align builder naming and harmonize test structure ([6019cb2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/6019cb28512c77a30a8cbb02a6b33040173740b4)) +- **ocpp:** complete version-separation in OCPPServiceUtils ([df3fe1d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/df3fe1db9f27a659b7586c010d658a33c7e982b6)) +- **ocpp:** consolidate Ajv type alias in OCPPServiceUtils ([478f801](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/478f8019331e7b6256d6e783f90cba19217a7bb6)) +- **ocpp:** consolidate meter value builders into RequestBuilders ([9c4a5f2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/9c4a5f23dc953f21f6c24fe6d66d323b3ea63712)) +- **ocpp:** consolidate MeterValue builders into shared core ([5ab61a5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5ab61a5f7a55b8f71543d7ae85cf3e1725d4516b)) +- **ocpp:** consolidate MeterValues validators and helpers ([4712a5e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4712a5e12aaee41eb28aac38b2a6d3a311eeddc3)) +- **ocpp:** consolidate payload validation into shared utility ([b292626](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/b292626fc0dc582881d78d38fbdbb0b315ff7149)) +- **ocpp:** consolidate variable access in auth adapter ([52c94b9](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/52c94b9a6381f03bd48440323a30c770693ed6b7)) +- **ocpp:** consolidate variable reading through shared helpers ([5a02c45](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5a02c45a859cdfedabf582328d62e964102e77d8)) +- **ocpp:** extract connector status operations into dedicated module ([a5376f4](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a5376f40c7ed130804cf6bd1b99183474d7599b9)) +- **ocpp:** extract version-specific builders and transaction operations ([d6ab80b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d6ab80b1885d34dd8e195b2cd5ea16423d732070)) +- **ocpp:** harmonize sampled value builders between versions ([4eae7a7](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4eae7a79854bca65b00bf29aa670e1442be9d34e)) +- **ocpp:** move isIdTagAuthorized into OCPPServiceOperations ([2bf9624](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/2bf962409626f42ce26f4288d5ab313374d6bdb8)) +- **ocpp:** remove dead barrel re-exports ([3deaeab](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/3deaeab6cd24a1cae2a8c2f4b7523f0a0a2c7275)) +- **ocpp:** remove unnecessary exports from internal helpers ([9c9de17](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/9c9de17bea1f0528fefcc509e6e8851d35dc585d)) +- remove unnecessary type casts and improve type safety ([ccb61c1](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ccb61c1cb0155ee414c99ce2648c7dcf661f605e)) + +### 🧪 Tests + +- **ocpp:** add assertion messages to assert.ok(.includes()) checks in VariableManager tests ([2fe2519](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/2fe251965114e2217d578e603f7f18a46e0fa722)) +- **ocpp:** harmonize test constants and assertion messages ([f0b5650](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f0b5650d9da93debffc7eb92c530e73d9b8f56b8)) +- **ocpp:** move mapStopReasonToOCPP20 tests to OCPP20RequestBuilders.test.ts ([fd77bf5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/fd77bf5f6e233402b65dc554e4bc4c29eed556b8)) + ## [4.1.1](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/simulator@v4.1.0...simulator@v4.1.1) (2026-03-31) ### 🐞 Bug Fixes diff --git a/package.json b/package.json index 92f3676f..e9f2ca02 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package", "name": "e-mobility-charging-stations-simulator", - "version": "4.1.1", + "version": "4.2.0", "engines": { "node": ">=22.0.0", "pnpm": ">=10.9.0" diff --git a/sonar-project.properties b/sonar-project.properties index e31ba31f..af781b46 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -4,7 +4,7 @@ sonar.organization=sap-1 # This is the name and version displayed in the SonarCloud UI. sonar.projectName=e-mobility-charging-stations-simulator # x-release-please-start-version -sonar.projectVersion=4.1.1 +sonar.projectVersion=4.2.0 # x-release-please-end # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. diff --git a/tests/ocpp-server/CHANGELOG.md b/tests/ocpp-server/CHANGELOG.md index 82452057..be2710c9 100644 --- a/tests/ocpp-server/CHANGELOG.md +++ b/tests/ocpp-server/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [4.2.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/ocpp-server@v4.1.1...ocpp-server@v4.2.0) (2026-04-02) + +### 🧹 Chores + +- **ocpp-server:** Synchronize simulator-ui-ocpp-server versions + ## [4.1.1](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/ocpp-server@v4.1.0...ocpp-server@v4.1.1) (2026-03-31) ### 🧹 Chores diff --git a/tests/ocpp-server/pyproject.toml b/tests/ocpp-server/pyproject.toml index 3f43cb07..c7e26514 100644 --- a/tests/ocpp-server/pyproject.toml +++ b/tests/ocpp-server/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ocpp-server" -version = "4.1.1" +version = "4.2.0" description = "OCPP2 mock server" authors = [{ name = "Jérôme Benoit", email = "jerome.benoit@sap.com" }] readme = "README.md" diff --git a/ui/web/CHANGELOG.md b/ui/web/CHANGELOG.md index 6f322046..405620aa 100644 --- a/ui/web/CHANGELOG.md +++ b/ui/web/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [4.2.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/webui@v4.1.1...webui@v4.2.0) (2026-04-02) + +### 🧹 Chores + +- **webui:** Synchronize simulator-ui-ocpp-server versions + ## [4.1.1](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/webui@v4.1.0...webui@v4.1.1) (2026-03-31) ### 🧹 Chores diff --git a/ui/web/package.json b/ui/web/package.json index 0e63d786..336a178c 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package", "name": "webui", - "version": "4.1.1", + "version": "4.2.0", "readme": "README.md", "engines": { "node": ">=22.0.0", diff --git a/ui/web/sonar-project.properties b/ui/web/sonar-project.properties index 07e98369..0ff21e15 100644 --- a/ui/web/sonar-project.properties +++ b/ui/web/sonar-project.properties @@ -4,7 +4,7 @@ sonar.organization=sap-1 # This is the name and version displayed in the SonarCloud UI. sonar.projectName=e-mobility-charging-stations-simulator-webui # x-release-please-start-version -sonar.projectVersion=4.1.1 +sonar.projectVersion=4.2.0 # x-release-please-end # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -- 2.43.0