]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
chore: release main (#1758) ocpp-server@v4.0.0 simulator@v4.0.0
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 28 Mar 2026 23:31:23 +0000 (00:31 +0100)
committerGitHub <noreply@github.com>
Sat, 28 Mar 2026 23:31:23 +0000 (00:31 +0100)
* 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 061ba92e6c901fbbc56f9491531b020814b3d7d5..7356b12dd5217e07edfae9eb8a7dcf72c7d628e1 100644 (file)
@@ -1,5 +1,5 @@
 {
-  ".": "3.4.0",
-  "ui/web": "3.4.0",
-  "tests/ocpp-server": "3.4.0"
+  ".": "4.0.0",
+  "ui/web": "4.0.0",
+  "tests/ocpp-server": "4.0.0"
 }
index c5f3cdad28949a2221a4046de2b40c3e322a1772..f5632028fcb617c4c76a02dd5d7094238bac96be 100644 (file)
@@ -1,5 +1,74 @@
 # Changelog
 
+## [4.0.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/simulator@v3.4.0...simulator@v4.0.0) (2026-03-28)
+
+### ⚠ BREAKING CHANGES
+
+- connectors and evses Maps are now private on ChargingStation. Use iterateConnectors(), iterateEvses(), hasEvse(), getEvseStatus(), getConnectorStatus() instead of direct Map access.
+
+### 🚀 Features
+
+- enrich OCPP 2.0 template with OCPP 1.6 equivalent config keys ([a2fc938](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a2fc93879a836c5a6a27789b6c372fcb9f34e6e1))
+- implement TxEnded meter value accumulator per OCPP 2.0.1 spec §2.1 ([4ca2e99](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4ca2e99eddcfbebf0ec9bd7608cbf73ed3581eb5))
+- log once per key when OCPP 1.6 configuration key is remapped to OCPP 2.0 variable ([d2ee9aa](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d2ee9aa01c0eba5d06c4934b7d432da26d68f5bc))
+- resolve OCPP 1.6 configuration keys to OCPP 2.0 equivalents transparently ([66b8ba4](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/66b8ba4525e4792924ca97d28a5d9d6de2ee76f9))
+- support configurable measurands per transaction stage in OCPP 2.0 ([3196f5d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/3196f5d82a28214bdc83aab5df1b0bfa31c510ad))
+
+### 🐞 Bug Fixes
+
+- align ConnectionTimeOut semantics with OCPP spec ([97cb0e1](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/97cb0e121af25342787fbd18d966ff47ff5e2b5c))
+- align OCPP 2.0 variable names to spec (LocalPreAuthorization, LocalAuthorizationOffline) ([405ad5f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/405ad5f556cf9873ecc457df7217cfaf20f470ff))
+- correct WebSocketPingInterval documentation and registry default ([06f62f7](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/06f62f72908f43e3ef9bcb1cd55310830d5a612f))
+- **deps:** add security overrides for brace-expansion, picomatch, smol-toml ([816ea7a](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/816ea7adfec784fa1c9951c93f346c6d04cfa61c))
+- **deps:** update all non-major dependencies ([#1759](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1759)) ([5a31d2b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5a31d2b232a9d002b741c1f61ee8afe72e9bd363))
+- **docs:** use bold instead of italic for vendor-specific markers to avoid underscore conflicts ([d7c72e2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d7c72e26f69716a17838e87eb68bd7d20b92e9ff))
+- map WebSocketPingInterval to OCPPCommCtrlr per OCPP 2.0.1 spec ([12650b2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/12650b2d3c2d0741a0ae71e660230c8fd12d5926))
+- remove OrganizationName from ISO15118Ctrlr (spec says SecurityCtrlr only) ([f1107d5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f1107d55fa6670e6f4ae96a69de367c8ed4b2d2c))
+- replace incorrect zero fallbacks for maximumPower and maximumAmperage ([e5f8aed](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e5f8aeda400d3b4ada694517733ad4dd625dab50))
+- type buildRejected reasonCode as ReasonCodeEnumType instead of string ([ae9f9cd](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ae9f9cd6a68dc0fd21f55a31693d67179646e40d))
+- use case-insensitive boolean parsing for OCPP configuration values ([bae2346](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/bae23467f97a83cd21e3632e2c337f26c4414b38))
+- use Component.Variable[.Instance] key format for OCPP 2.0 variable persistence ([f7e682f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f7e682fd3a4cf972957a9dffb6cbc85da855a628))
+- use OCPP version-specific parameter keys for meter value measurands ([5723899](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/572389955eab4697aaa7ec38c464094b82b3a707))
+
+### ✨ Polish
+
+- accept enum types in registry/manager signatures, remove 429 redundant as-string casts ([436d8ef](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/436d8efe769f00427d41c553150fb9aff18d76be))
+- add Enabled to OCPP20RequiredVariableName enum and fix LocalAuthListCtrlr.Enabled mapping ([e0617e0](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e0617e04295e3ebce8ef99af8f75f8ad4323bc24))
+- add SimulateSignatureVerificationFailure to OCPP20VendorVariableName enum ([15ab6c8](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/15ab6c8d9136c70fd413150a2690c6b6d6980f09))
+- align intermediate variable naming with codebase conventions ([ebe64c9](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ebe64c903c62b00cecf248f568938ff46400aed1))
+- align variable naming and remove non-null assertions in tests and UI ([75cb24c](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/75cb24c62ff4aad77e77cc3306003454cefa29e9))
+- centralize handler type bridges in OCPP base classes ([5bd5b13](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5bd5b131a8bbf0416b1db479324dde3f8edd8cab))
+- consolidate enforceMessageLimits types with generic R and RejectionReason ([e6bc461](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e6bc4615407390fa47e07af12d5a4fb9f1a4c1c4))
+- deduplicate imports ([c5545f1](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/c5545f1b865528bf8adbd46df04eac6f4c3148bf))
+- eliminate all non-null assertion suppressions with proper null guards ([5959eb2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5959eb2df872dbdb27032bfd114024be38c32749))
+- eliminate explicit `any` from `once()` and `toHandler()` with proper generics ([0d41439](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/0d41439d7ae8ba25223ae41c70f4667f514b201f))
+- encapsulate connector/EVSE iteration behind generator API ([404ba5d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/404ba5d9851fbaa7eeeffe912a34e5c76bc3a6fd))
+- extract normalized boolean variable in validation checks ([16679b7](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/16679b7a3fcd0a211cc0736df1a93709449d7d4c))
+- harmonize connector iteration to use iterateConnectors() across prod and tests ([0375fa4](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/0375fa40335d25d42646fff1dc9c7bf7677e9e22))
+- harmonize errMsg → errorMsg for intra-file naming consistency ([e76a841](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e76a841c7e2fce7e9f3151d0507ef94454285e79))
+- make `eventType` required in `OCPP20TransactionEventOptions` ([243cf56](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/243cf560728b40d456525a4911b1091d13fc9649))
+- move ConfigurationValueSize, ReportingValueSize, ValueSize to OCPP20OptionalVariableName ([1d0814f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/1d0814fe5443c3be0322127397ba0a9b09b15042))
+- move debug param to last position in buildMeterValue ([7cd25ce](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7cd25ce497c07c35706d96c88b59217dae36c79a))
+- replace Measurands string literal with OCPP20RequiredVariableName enum ([1f2723b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/1f2723bb031ecccb4975b997f393c48f064fe29f))
+- type buildTransactionEvent with OCPP20TransactionEventOptions ([b6de95e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/b6de95e291e521391ed4f362c8526362f34e5e47))
+- type deprecated config key maps with `keyof` to eliminate 4 casts ([29a04ab](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/29a04ab52dbd381ca34fa2e09235a13a5817d8ad))
+- use `JsonObject` and generic `OCPPAuthAdapter<TVersionId>` in auth module ([d93b534](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d93b5347015bb319d52c8b09655173c1bae9e439))
+- use `OCPP20MessageFormatEnumType` instead of string literal union ([5f24ad5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5f24ad5620a5b35d92b0db3594099eab4ffbb28a))
+- use Number.isNaN() instead of global isNaN() ([6a360ba](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/6a360bac7a0685ea4a59597488a8d46a8de40e67))
+- use OCPP20RequiredVariableName for measurands in OCPP20ServiceUtils ([811f142](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/811f1428da6d747dcc7555d1bd99dc2ac38afce5))
+
+### 🧪 Tests
+
+- add symmetric Ended meter value tests for start/stop/zero-interval ([689e439](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/689e439da97b5e19d8c12c1eb799aba5b543ed7a))
+- add whitespace-padded value coverage for convertToBoolean ([7c9443f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7c9443f55b4130b390f8f824a5f8a71269710998))
+- isolate readCombinedLog tests from real logs directory ([1c52a65](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/1c52a65e7b54213aab1a6ff811045995c2af6d4e))
+- restore and harmonize OCPP 2.0 transaction meter value assertions ([ea3eb1e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ea3eb1ef8b0accd397bbe5b31d59947521ae69c1))
+
+### 📚 Documentation
+
+- align README OCPP 2.0.1 variable list with code registry ([ba64338](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ba643383690f11d34741b4a38842332d9a77384e))
+- list OCPP 2.0 device model variables by component in README ([9b3547f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/9b3547f80459cac4a8be9ca0fa171677fa627f06))
+
 ## [3.4.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/simulator@v3.3.0...simulator@v3.4.0) (2026-03-26)
 
 ### 🚀 Features
index 1194a00a5080f31fa02c7c94aca12b9f4912d9a9..565299cca96489f53fde683939eb9a33720982c0 100644 (file)
@@ -1,7 +1,7 @@
 {
   "$schema": "https://json.schemastore.org/package",
   "name": "e-mobility-charging-stations-simulator",
-  "version": "3.4.0",
+  "version": "4.0.0",
   "engines": {
     "node": ">=22.0.0",
     "pnpm": ">=10.9.0"
index 4df29cc96c260849d18367e165cdebe45b6be0ed..11621c1eee97e133d3729d39c0565a703f158f2c 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=3.4.0
+sonar.projectVersion=4.0.0
 # x-release-please-end
 
 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
index df6edb97e072dbe5100db8d81f2616a5f2ede55b..a9f2db57a41de939dd384b9664658ea5113db7b4 100644 (file)
@@ -1,5 +1,11 @@
 # Changelog
 
+## [4.0.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/ocpp-server@v3.4.0...ocpp-server@v4.0.0) (2026-03-28)
+
+### 🐞 Bug Fixes
+
+- **deps:** update all non-major dependencies ([#1759](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1759)) ([5a31d2b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5a31d2b232a9d002b741c1f61ee8afe72e9bd363))
+
 ## [3.4.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/ocpp-server@v3.3.0...ocpp-server@v3.4.0) (2026-03-26)
 
 ### 🚀 Features
index 04171c38e7d3f56cc4457ef5d3613af00ae53786..ed1979f038c7ae3c4b19b3ffab4962a91309b5f0 100644 (file)
@@ -1,6 +1,6 @@
 [project]
 name = "ocpp-server"
-version = "3.4.0"
+version = "4.0.0"
 description = "OCPP2 mock server"
 authors = [{ name = "Jérôme Benoit", email = "jerome.benoit@sap.com" }]
 readme = "README.md"
index b50fb724768389951fdc02db9a23621121dcc2e7..6309b07b5c9062b46130b58bb627b86739852f72 100644 (file)
@@ -1,5 +1,29 @@
 # Changelog
 
+## [4.0.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/webui@v3.4.0...webui@v4.0.0) (2026-03-28)
+
+### ⚠ BREAKING CHANGES
+
+- connectors and evses Maps are now private on ChargingStation. Use iterateConnectors(), iterateEvses(), hasEvse(), getEvseStatus(), getConnectorStatus() instead of direct Map access.
+
+### 🚀 Features
+
+- support configurable measurands per transaction stage in OCPP 2.0 ([3196f5d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/3196f5d82a28214bdc83aab5df1b0bfa31c510ad))
+
+### 🐞 Bug Fixes
+
+- **deps:** update all non-major dependencies ([#1759](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1759)) ([5a31d2b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5a31d2b232a9d002b741c1f61ee8afe72e9bd363))
+- use case-insensitive boolean parsing for OCPP configuration values ([bae2346](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/bae23467f97a83cd21e3632e2c337f26c4414b38))
+
+### ✨ Polish
+
+- align variable naming and remove non-null assertions in tests and UI ([75cb24c](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/75cb24c62ff4aad77e77cc3306003454cefa29e9))
+- encapsulate connector/EVSE iteration behind generator API ([404ba5d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/404ba5d9851fbaa7eeeffe912a34e5c76bc3a6fd))
+
+### 🧪 Tests
+
+- add whitespace-padded value coverage for convertToBoolean ([7c9443f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7c9443f55b4130b390f8f824a5f8a71269710998))
+
 ## [3.4.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/webui@v3.3.0...webui@v3.4.0) (2026-03-26)
 
 ### 🚀 Features
index 40e3bededc0f6ad1d99d4b0ff982ad6ddc0a25b2..8fd4c0d70e3b38dba0a4759f2aee5858804bc8dc 100644 (file)
@@ -1,7 +1,7 @@
 {
   "$schema": "https://json.schemastore.org/package",
   "name": "webui",
-  "version": "3.4.0",
+  "version": "4.0.0",
   "readme": "README.md",
   "engines": {
     "node": ">=22.0.0",
index dd121b052571e3d5e9f326a992ce26a9eb9e4ec3..124abc40f5dcc280e46a5fecbebfad1be47e33f2 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=3.4.0
+sonar.projectVersion=4.0.0
 # x-release-please-end
 
 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.