From 017232131d3a6a429c120a5b3e6664e4e6aa83f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 7 Mar 2026 00:01:11 +0100 Subject: [PATCH] chore: release main (#1691) * 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 | 157 +++++++++++++++++++++++++++ package.json | 2 +- sonar-project.properties | 2 +- tests/ocpp-server/CHANGELOG.md | 6 + tests/ocpp-server/pyproject.toml | 2 +- ui/web/CHANGELOG.md | 11 ++ ui/web/package.json | 2 +- ui/web/sonar-project.properties | 2 +- 9 files changed, 182 insertions(+), 8 deletions(-) diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json index 7f074753..896c1aab 100644 --- a/.github/release-please/manifest.json +++ b/.github/release-please/manifest.json @@ -1,5 +1,5 @@ { - ".": "2.4.0", - "ui/web": "2.4.0", - "tests/ocpp-server": "2.4.0" + ".": "3.0.0", + "ui/web": "3.0.0", + "tests/ocpp-server": "3.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index c1e1ea18..33be9d27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,162 @@ # Changelog +## [3.0.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/simulator@v2.4.0...simulator@v3.0.0) (2026-03-06) + +### ⚠ BREAKING CHANGES + +- **ocpp:** AuthCache interface methods (get, set, remove, clear, getStats) are now synchronous. OCPPAuthService.clearCache() and invalidateCache() return void instead of Promise. + +### 🐞 Bug Fixes + +- **charging-station:** audit fixes — error handling, OCPP conformance, DRY, type safety ([4aad1da](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4aad1da72d0ab08b423ff30d86c453414e2a43cc)) +- correct @mikro-orm/sqlite import to @mikro-orm/better-sqlite, format ElectricUtils tests ([6f8f3c3](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/6f8f3c31a9d9ba42a67e01578b7bef81a82dc44a)) +- **deps:** update all non-major dependencies ([#1695](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1695)) ([0696d07](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/0696d077c8275a74eb035c0088d6f3cb059090f4)) +- **deps:** update all non-major dependencies ([#1702](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1702)) ([a683783](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a6837837a5002bc74c5611c68bac1fe2fa9b2d82)) +- **deps:** update dependency tar to ^7.5.10 ([#1700](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1700)) ([65b997e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/65b997e22f84028d62733d0a6403501eb3587307)) +- **ocpp2:** check all idle conditions for OnIdle Reset per Errata 2.14 ([72975d3](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/72975d3ec88447d39e2e641657d7c690f4ac2fb1)) +- **ocpp:** auth cache spec compliance (R0–R17) ([#1699](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1699)) ([a68050a](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a68050ada31838f51ed33f6bf94b0a2f48300aa3)) +- **ocpp:** remove invalid additionalProperties/additionalItems from OCPP 1.6 and 2.0 JSON schemas ([55468f6](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/55468f61d82dbbdaa897a0d63e782f989651609b)) +- **performance-storage:** make MikroORM integration work ([#1701](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1701)) ([86668b5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/86668b5fa65be93c682bc91b6fba5b139385a3ed)) +- quote test glob so /bin/sh delegates to Node ([94d61ff](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/94d61ff7f181b08a99562be5a8001e36f37536a0)) +- remove accidentally committed mikro-orm.config.ts (gitignored local config) ([a853abf](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a853abf6add159c7138a9a28f38491e3ea26b501)) +- **test-isolation:** make OCPP20VariableManager tests self-contained ([4135954](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/413595441278a30f6150f3f42e05775a5537e805)) +- **test-isolation:** move mock creation to beforeEach in CableFirst test ([5df3524](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5df3524f59efb16d19d0d69c117dc188cb036f57)) +- **test-isolation:** move mock instances to beforeEach in OCPP 2.0 tests ([9c2a803](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/9c2a803e444b5976dcc5d1fe34f1b4e19a6236d6)) +- **test-isolation:** replace mock.reset() with mock.restoreAll() in auth tests ([454427f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/454427f5cd65568d839e1fd3ba201ed52eadef16)) +- **test-type-safety:** remove unsafe type casts and add factory helper ([3d2431e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/3d2431e2f36acc4768d14b7faccdf724fcd048a6)) +- **test:** investigate Windows CI hang ([#1694](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1694)) ([af75694](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/af75694d3f9b9cd1fea78573c4db424f14a319d5)) +- **test:** remove redundant nested afterEach in Reset test causing Windows hang ([019e3a2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/019e3a27c08d720ec2b23462719262ee11371809)) +- **test:** remove redundant standardCleanup() from nested afterEach ([cee36fe](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/cee36fe440c0680876af94e55aadb369c3b1bf2c)) +- **tests:** achieve zero lint errors ([7d87a34](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7d87a3457ccaa4ea6aa4626ca97f113a1c806c93)) +- **tests:** add afterEach cleanup to RemoteStartAuth test ([024e8b4](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/024e8b4e109f64c0b4aa7c01cfdc31c29970fab8)) +- **tests:** add missing [@file](https://github.com/file) headers and standardCleanup() ([c5d29bd](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/c5d29bd77e02e63b0b8164dd40bfb219af51a098)) +- **tests:** add missing getEvseStatus method and harmonize mock factory types ([af9e344](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/af9e34429334e1dc3073955804944615721145fa)) +- **tests:** address audit findings — assertion consistency, JSDoc, DRY, try/finally ([f5e3826](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f5e3826b3d47dda25a30cba0b38be43d584e544e)) +- **tests:** align mock delete/stop signatures with async ChargingStation interface ([56ea3eb](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/56ea3eb7254311a0bfb7e17abfe55cdd37014f41)) +- **tests:** bind method reference in ClearCache test ([efeb465](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/efeb46596faccf917c4ffc742da13e31f49cae2d)) +- **tests:** cleanup ALL private intervals in cleanupChargingStation ([80d452c](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/80d452c12bece10159d768e6e02811cff0118d7d)) +- **tests:** ensure proper test isolation and cleanup ([7bd7342](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7bd734261cb86ceee70acf87146ec25ffdec072c)) +- **tests:** fix Windows CI - separate type vs value imports correctly ([62d8cd5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/62d8cd5553899ca5fc14fe3e02ee83655e20eeb4)) +- **tests:** fix Windows CI failures - separate value imports from type imports ([a52cf51](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a52cf51d5035dab36f0fdf1b0db9810dc3d894be)) +- **tests:** fix Windows CI failures - type import and test assertion ([cd516fd](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/cd516fdcf47ac79ec75dc50be79cee3fd0067ebd)) +- **tests:** fix wrong constant name imports in GetVariables and SetVariables tests ([10e8426](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/10e84267757a71ca11876063c97344ca56345f81)) +- **tests:** make auth integration tests deterministic ([64385f7](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/64385f722c740cf323b70628e7d2244931099ba7)) +- **tests:** move ocppVersion inside stationInfo in auth mock factory ([ad1826d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ad1826d32dc139997a4b4b40b77aecbe2e0287e5)) +- **tests:** prevent Windows CI hang by moving timer reset to test that enables it ([d467fe1](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d467fe1ef2fab9e5af3b31dbf366a13da2149c1f)) +- **tests:** remove non-null assertions in InstallCertificate test ([a7ad798](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a7ad79828059aa56acfd2fa91bdb1b0092b3234f)) +- **tests:** remove standardCleanup from SetVariables test to fix Windows hang ([cabf95a](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/cabf95a70e110df4d7619f254cae8411f07cf624)) +- **tests:** remove unused mock imports after cleanup refactor ([98647fa](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/98647fae65a0a23281c160bbd6be030ef7dc0073)) +- **tests:** rename test cases to 'should [verb]' convention ([e523ff4](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e523ff4e59e50371ddae16e009d60b015a113113)) +- **tests:** resolve all ESLint errors in factory consolidation ([4024bd2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4024bd28fb09d8c7c4b520cc26d1f53c345f62be)) +- **tests:** restore ping() method and cleanup wsPingSetInterval ([df60b61](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/df60b612e9fb861597445d13886b88bac674b966)) +- **tests:** restore standardCleanup in SetVariables test ([543ad73](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/543ad7323ece59deeb3780c94c242f3440d0f1af)) +- **tests:** separate type import for Windows ESM compatibility ([f3dd410](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f3dd410532faa5fd2fb2f5e74e13628ff18bb34d)) +- **tests:** use import type for type-only imports in ESM ([ea0a8aa](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ea0a8aa6e4a94138f9aa3bed90d99b6a3d90dd96)) +- **tests:** use inline type exports to fix Windows ESM compatibility ([3416cd2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/3416cd2bf1200e8da6ce49936eaf12f32ddfe4fb)) +- **test:** use fake timers to prevent Reset test hangs on Windows ([3cc3280](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/3cc32802bd72dcba223af40d88e8f528cb07c31c)) + +### ✨ Polish + +- extract EVSE/reservation helpers, reduce duplication ([63dd1f6](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/63dd1f623f59da14c0d5e3e7f5989d1b1c85849b)) +- **ocpp2:** OCPP 2.0.1 audit fixes — spec compliance, type safety, test coverage ([#1697](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1697)) ([26c08ac](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/26c08ac2eaedc641d67cdc5d47c9ef5bc19e69d0)) +- **ocpp2:** remove duplicate EVSE transaction check, use helper ([c0491af](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/c0491afb2a95d86470472f132360513b76f65680)) +- **ocpp:** move ClearCache handler to OCPP 1.6 service ([fe8423d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/fe8423d156795bffd13c17a6711a80176f3bccc2)) +- restore initial mock reset code ([505955e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/505955e4e8c3b43e508ec45dd4aaf0d7d39f2617)) +- **test:** audit-driven test quality improvements ([03ca39b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/03ca39b5c36cd244262011f33a2f6b742db8607d)) +- **test:** consolidate certificate constants and factory functions ([e205c6d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e205c6d1cd5365991137bdd763cadbf76cfaac2a)) +- **test:** consolidate MockChargingStation type and clean Reset tests ([66f2dca](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/66f2dcafaf055ae2ad0f7e83de7ade382e5c5615)) +- **test:** harmonize mockStation naming across all test files ([1ffd9d1](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/1ffd9d12b5694ba74d8c820da9fdfc1e78d098a2)) +- **test:** harmonize test file headers and fix async patterns ([23fe971](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/23fe97146e9f2045470a9e4aee511dc08a23e111)) +- **test:** remove duplicate MockChargingStation interface from MockFactories ([33e4c6d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/33e4c6deb6e2e66f503cd18e01ffd066c736beac)) +- **test:** remove duplicate test coverage in error test files ([9d923d5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/9d923d52097db14f7678c221a3853d483de837b6)) +- **test:** remove implementation history from comments ([a5e4b79](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a5e4b79b86ae53fb65d3994a95da6b99642c8638)) +- **test:** remove local certificate aliases, use consolidated constants directly ([efc1563](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/efc15636585d1047e4e6910a016fea51042a149f)) +- **test:** remove more implementation history from comments ([6a1c87c](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/6a1c87c1daa3ba8efc935eb4e05362965a288f2b)) +- **test:** remove unnecessary comments from Reset tests ([d87b87b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d87b87b577081d94c87f188cc490000a31a9d1c4)) +- **tests:** add mock factories to eliminate test duplication ([2845ec5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/2845ec5e39b5217694a76b32ce8261a06e3ad9e2)) +- **tests:** add shared test helpers and fixtures for DRY compliance ([950460d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/950460d07dca174b4d474b0c926d0157c3664ee4)) +- **tests:** add testable interface to eliminate eslint-disable comments ([00051db](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/00051db475ef42a203c653b5de29a3d327623073)) +- **tests:** cleanup unused exports and consolidate testable classes ([4d6442e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4d6442e0e5f487b8cda73345f6ecc1189914144a)) +- **tests:** consolidate duplicate mock factories ([563a87b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/563a87ba6d2c69e1cfbd0c3e6d9ced13ac73725f)) +- **tests:** consolidate duplicate test constants ([b17f81f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/b17f81facff881a623135995620245810d76225a)) +- **tests:** consolidate mock station creation utilities ([f623219](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f62321907e18368a9298f346edfbac17621f51d6)) +- **tests:** consolidate MockUIService classes and remove redundant subclass ([838a2ca](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/838a2ca01f1fcc1d25aa944179da4a5150e1ce7b)) +- **tests:** delete deprecated ChargingStationFactory and fix remaining imports ([d6c6fcf](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d6c6fcfc2de964a19b56f0d81675e8aa59393f2c)) +- **tests:** extend MockChargingStationOptions with all factory options ([5b15338](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5b15338148e9d3c18c7c88ff221762799a466839)) +- **tests:** fix TypeScript errors in auth and variable manager tests ([2ac610b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/2ac610b112eff9c01dcfce2d4511183d033fb5d5)) +- **tests:** harmonize test naming and consolidate utilities ([f5bfca6](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f5bfca630923337c40f07e5209c54be4bb26d286)) +- **tests:** harmonize test suite structure and eliminate duplication ([9029501](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/902950177e9e75eea9e73cdd89d1d2ac32f4d3b8)) +- **tests:** improve test isolation and remove dead code ([cac380f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/cac380fc8eb8f07bddd63f01d474888d3210267e)) +- **tests:** migrate all test files to createMockChargingStation ([83da32a](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/83da32ae86aadeb121cc6ec561c4e7eaf2677b6f)) +- **tests:** migrate OCPP20TestUtils to createMockChargingStation ([900dccd](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/900dccd96c75d1ecbce83b9dc36da9092a0d251a)) +- **tests:** modularize ChargingStationTestUtils ([bcaca7f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/bcaca7f15365ab0c41b83c1ba9ebba1e4fa2bbde)) +- **tests:** move mock creation from it() to beforeEach() ([1a91a64](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/1a91a64fdb3c76a5cbdac8d3d9effb7849a8b86a)) +- **tests:** named cosPhi constants, accurate mock call types, remove cast workarounds ([97d522e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/97d522ef59f7b383cd71643f425dcc64041b90fd)) +- **tests:** reduce eslint-disable comments with proper typing ([7cd70f3](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7cd70f39190b6f1ddab9a27ea2c8b54cbe2ab634)) +- **tests:** remove aliases, extract time constants, fix naming and lint issues ([7ffcb51](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7ffcb51d41fd164d10db5f538a59c0ed10f7de83)) +- **tests:** remove deprecated code and backward compatibility ([fda8a4e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/fda8a4e0424b1f3e7f5c877c6f2fbf5b3ec57364)) +- **tests:** remove deprecated identifier factories ([feb28b4](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/feb28b4aeebf1a460ac9bd4fe25506eb5b9fd31a)) +- **tests:** remove eslint-disable and fix type safety issues ([7513f63](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7513f6339b33c863f11a0187dba41a5966789166)) +- **tests:** remove file-level eslint-disable and fix as any casts ([b634232](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/b63423200a90fd704738e7694920dcc6c83e9326)) +- **tests:** remove unused constants and add missing JSDoc ([4b1e89c](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4b1e89ccf2992565a4bfe4abf46deb60516b8cad)) +- **tests:** rename createRealChargingStation to createMockChargingStation ([11b065b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/11b065b13edc4ebfd6a3a8096330bf56a2644d92)) +- **tests:** restructure TEST_STYLE_GUIDE and use centralized constants ([b12eb5b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/b12eb5bdbe95cbc9d7a3b157f2464e3cb4a322e1)) +- **tests:** split ChargingStation.test.ts into domain files ([14c732a](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/14c732a96dfdbb173d958210384370eea66154af)) +- **tests:** standardize cleanup and strict equality ([4ddc77f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4ddc77fe2d3d0d1211bd861c65e85a45a2eae4e6)) +- **tests:** standardize test naming to BDD style ([e8afacd](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e8afacd14b25ff79dd60c74bc708003ddc147080)) +- **tests:** use TEST_CHARGING_STATION_BASE_NAME constant consistently ([7776a71](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7776a71f8c8645d246b510eeb7b82dd6b76f6f62)) +- **tests:** use testable interfaces in OCPP 2.0 tests (Wave 2) ([2491596](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/2491596906feee607cd69085bfa6a75ae7889419)) +- **utils:** audit fixes — dedup, data-driven config, lazy logger, DRY ([77e325b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/77e325be17f6ae146091089adf2e9d1e3cadaee6)) + +### 🧪 Tests + +- add afterEach cleanup to all test files ([c1b95df](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/c1b95df9c3f15e669d0567aef94afcf1e17ded30)) +- add AutomaticTransactionGenerator tests ([452319c](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/452319c9d0759d33e3e4021f8e624fa72f12b5a1)) +- add Configuration utility tests ([f74a109](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f74a109d56a7dfd080690a806364dc58d19ff674)) +- add IdTagsCache tests ([b5798ea](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/b5798ea2110dd4b673a69461bf51023b0a6d21b9)) +- add SharedLRUCache tests ([5abd5a4](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/5abd5a4ce49cb09fded09549e1ff5dce1dfd56e3)) +- add standardCleanup() and fix import ordering in test files ([f3b4cd5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f3b4cd52bc64c33d61ac99566328c85e616e8e60)) +- **charging-station:** add Heartbeat/Ping and Error Recovery tests ([c09024f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/c09024faf101254d03ae173895ca009d10b5015f)) +- **charging-station:** add lifecycle and connector/EVSE state tests (Wave 2) ([291f905](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/291f90538b9b038bbf4b2fd9b3c936d9985dc1de)) +- **charging-station:** add lifecycle prototype test to validate mocking strategy ([74747d1](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/74747d180208ae8a97dd0010e83f34f870a45a6c)) +- **charging-station:** add message buffering, reservation tests and OCPP spec reference ([d67cad2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d67cad20bb7a964e513c5fc2327b118f1885925d)) +- **charging-station:** add Transaction Management tests ([62d2938](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/62d293816286e6925404b76abd7864721f6be14e)) +- **charging-station:** add WebSocket Message Handling tests ([7fb86b8](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/7fb86b88e8127c78f9e9ec89a41b45c0c91e2444)) +- **charging-station:** complete Wave 2 - boot notification and configuration tests ([4b68d5e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4b68d5e0e8f08c4f0e32f6aa2bcd04edc6a9f7c7)) +- **charging-station:** fix template literal lint errors in buffer tests ([2b95898](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/2b95898b3f098c4fabe5d29687e73bfaa50e82da)) +- harmonize test names and add mock factories ([f146ae6](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f146ae6b7443226b7e29dedcc9d55ed2810ee032)) +- improve test suite quality and add lifecycle helpers ([0610e9e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/0610e9e21aee608f3bc4e71e6742110c454b7f90)) +- **ocpp2.0:** add BootNotification response handler tests ([07ae446](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/07ae446e1f077b27847b0ca8f419e7f2af3cd4fe)) +- **ocpp2.0:** add Heartbeat, NotifyReport, StatusNotification response tests ([458423e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/458423e20644057822b32e4ded64117f431ae799)) +- **ocpp2:** dichotomous search - skip Reset test instead of SetVariables ([76ecdb7](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/76ecdb7a600860fbfa110eca00f3e987a34965a5)) +- **ocpp2:** skip OCPP20CertificateManager tests on Windows ([33a4ab0](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/33a4ab02f8214e971b49cfc2b78b1a09d5c3db4d)) +- **ocpp2:** skip only SetVariables on Windows (identified via CI logs) ([2f8841d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/2f8841dba0668b11df7d278f7b9143bd61bd4da8)) +- **ocpp2:** skip SignCertificate tests on Windows (generateKeyPairSync hangs) ([d2eeb1d](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d2eeb1d68a9c3dd652c02f17bae280d7c67c31ee)) +- **ocpp:** add B02/B03 boot notification behavior and E02 Cable-First transaction tests ([f120a65](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/f120a651765628000012a369b81d8827e1053ff1)) +- **ocpp:** add cleanup for certificate manager tests ([e45bc36](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e45bc36b07a9eb0f4e6a5fe274debbc380692174)) +- **ocpp:** add E03 IdToken-First pre-authorization transaction tests ([60bf8d9](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/60bf8d9306af169c6c48ff83676bc30fd6f0bfc5)) +- **ocpp:** add OCPPServiceUtils authorization wrapper tests ([d9187e7](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/d9187e7ac38264feaea63c49ad2116b887d1c6e0)) +- **ocpp:** add OCPPServiceUtils command support validation tests ([58be9c7](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/58be9c741e57c87fa993052dc9ea02545255562d)) +- **ocpp:** add OCPPServiceUtils connector status management tests ([573523b](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/573523b323b4923efff81e16717700e64017c6e3)) +- **ocpp:** add OCPPServiceUtils pure function tests ([e6d9435](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e6d943576e1d66329c704fbc67745d4568986ad6)) +- report coverage only in test:coverage script ([ed2f4fd](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ed2f4fd3f516c4dfdebf47e031b8e5cfbac1a161)) +- **utils:** add exponentialDelay backoff algorithm tests ([ec00906](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/ec00906cc95779c5c51df39eb84210eb25d6d0d6)) +- **utils:** audit — overhaul existing, add 3 new test files, data-driven coverage ([9265dcf](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/9265dcf3333425a22b09894bb0ec78ed940403cf)) + +### 📚 Documentation + +- reference TEST_STYLE_GUIDE.md in AI agent instructions ([28d0ad5](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/28d0ad5f55d37c014abf155d9455278d6b0e546d)) +- **tests:** add file-level JSDoc to test files ([1869280](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/18692801a9d84c8d35c509f7d8f096d1b8719ba6)) +- **tests:** add missing JSDoc param descriptions and returns ([508a46f](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/508a46f87d7f9e334da9bf83778631f565a5fa55)) +- **tests:** add test style guide ([364b901](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/364b90195a1692482fe25ceea563012c2bbb4b77)) +- **tests:** comprehensive OCPP spec requirements reference (105 FR IDs) ([1e2a1c2](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/1e2a1c283192957b260c266f95eee852bf73012d)) +- **tests:** document timer mock pattern for test reuse ([e08c851](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e08c85158380161da5e2f0de4c7834bd7f00e1dd)) +- **tests:** enhance TEST_STYLE_GUIDE with async patterns and best practices ([a7aea7c](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a7aea7cac9d02fc9bd3a4e3d2d6561f399aad77c)) +- **tests:** fix TEST_STYLE_GUIDE to match actual codebase ([4f2c83e](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/4f2c83e775a91718fbb547e8eea795524338c60e)) +- **tests:** update TEST_STYLE_GUIDE to reference new factory ([a6a46a4](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a6a46a4fbb3ee695bf7dd029a0af64a5f7885ba7)) +- **tests:** update TEST_STYLE_GUIDE to reflect current utilities ([13c6c52](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/13c6c52983f5cfa4306e8f10cd27584b7ca52775)) +- update TEST_STYLE_GUIDE with standardCleanup and describe naming conventions ([0fddd04](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/0fddd043d8aec5b8a99977c0d056c7d7fa85a489)) + ## [2.4.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/simulator@v2.3.1...simulator@v2.4.0) (2026-02-24) ### 🚀 Features diff --git a/package.json b/package.json index fad6e6c3..57115129 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package", "name": "e-mobility-charging-stations-simulator", - "version": "2.4.0", + "version": "3.0.0", "engines": { "node": ">=22.0.0", "pnpm": ">=9.0.0" diff --git a/sonar-project.properties b/sonar-project.properties index 2e0a63d8..317f9e7b 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=2.4.0 +sonar.projectVersion=3.0.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 6e8060b0..e85b3d17 100644 --- a/tests/ocpp-server/CHANGELOG.md +++ b/tests/ocpp-server/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [3.0.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/ocpp-server@v2.4.0...ocpp-server@v3.0.0) (2026-03-06) + +### 🧹 Chores + +- **ocpp-server:** Synchronize simulator-ui-ocpp-server versions + ## [2.4.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/ocpp-server@v2.3.1...ocpp-server@v2.4.0) (2026-02-24) ### 🚀 Features diff --git a/tests/ocpp-server/pyproject.toml b/tests/ocpp-server/pyproject.toml index 75df2c44..19aa6095 100644 --- a/tests/ocpp-server/pyproject.toml +++ b/tests/ocpp-server/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ocpp-server" -version = "2.4.0" +version = "3.0.0" description = "OCPP2 mock server" authors = ["Jérôme Benoit "] readme = "README.md" diff --git a/ui/web/CHANGELOG.md b/ui/web/CHANGELOG.md index 80e50ed4..e37c8823 100644 --- a/ui/web/CHANGELOG.md +++ b/ui/web/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [3.0.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/webui@v2.4.0...webui@v3.0.0) (2026-03-06) + +### 🐞 Bug Fixes + +- **deps:** update all non-major dependencies ([#1695](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1695)) ([0696d07](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/0696d077c8275a74eb035c0088d6f3cb059090f4)) +- **deps:** update all non-major dependencies ([#1702](https://github.com/SAP/e-mobility-charging-stations-simulator/issues/1702)) ([a683783](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/a6837837a5002bc74c5611c68bac1fe2fa9b2d82)) + +### 📚 Documentation + +- **tests:** document timer mock pattern for test reuse ([e08c851](https://github.com/SAP/e-mobility-charging-stations-simulator/commit/e08c85158380161da5e2f0de4c7834bd7f00e1dd)) + ## [2.4.0](https://github.com/SAP/e-mobility-charging-stations-simulator/compare/webui@v2.3.1...webui@v2.4.0) (2026-02-24) ### 🚀 Features diff --git a/ui/web/package.json b/ui/web/package.json index 42b87859..4057607a 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package", "name": "webui", - "version": "2.4.0", + "version": "3.0.0", "readme": "README.md", "engines": { "node": ">=22.0.0", diff --git a/ui/web/sonar-project.properties b/ui/web/sonar-project.properties index b60494f9..d3a4247b 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=2.4.0 +sonar.projectVersion=3.0.0 # x-release-please-end # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -- 2.43.0