]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
chore: release main (#1768) ocpp-server@v4.2.0 simulator@v4.2.0 v4.2
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 2 Apr 2026 16:59:10 +0000 (18:59 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Apr 2026 16:59:10 +0000 (18:59 +0200)
* 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
CHANGELOG.md
package.json
sonar-project.properties
tests/ocpp-server/CHANGELOG.md
tests/ocpp-server/pyproject.toml
ui/web/CHANGELOG.md
ui/web/package.json
ui/web/sonar-project.properties

index 3519b687c4b08ca14dca6160fbeb2c0a38d49385..c105508d9f21bd20391a72174654da62294924e1 100644 (file)
@@ -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"
 }
index b90912ab3178308bacdd3496141214c00b927c53..6caba955d812b57c7b88716f140c41d2f31f0e60 100644 (file)
@@ -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
index 92f3676fedbb2047fffd7d61faf33d5a17778e57..e9f2ca02d83a4f7566d5124b11539ac2738de1af 100644 (file)
@@ -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"
index e31ba31f5289e8723ace83f5b6fca26a337b6a80..af781b46c5682a4978ab2d0347d71640df2db7c9 100644 (file)
@@ -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.
index 82452057bc8f1c259a1ceb309a09027f751ec802..be2710c9c8298d91b1ffd7092577820fad6b4965 100644 (file)
@@ -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
index 3f43cb075e19a8d327bbf2cd243fc4a611bc8575..c7e265140213b0106d9bcd416781caa185551bc1 100644 (file)
@@ -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"
index 6f322046c419229af3c41e192375eff409ed96fc..405620aad118d3c1134ee1b3f04e33f210ae2883 100644 (file)
@@ -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
index 0e63d7863bdec4d416bfa69f7d4a20aca5310969..336a178ca3f5c54ddece9aabc70ec5fa2fcc4be6 100644 (file)
@@ -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",
index 07e98369558b8f60c2b339ebd4c6969b5a910d20..0ff21e15c0823951f5393bbcd3c8df59e5a79968 100644 (file)
@@ -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.