Skip to content

simulator: v4.2.0

Choose a tag to compare

@jerome-benoit jerome-benoit released this 02 Apr 16:59
93a1796

4.2.0 (2026-04-02)

πŸš€ Features

  • ocpp: align OCPP 2.0 meter value builder with 1.6 parity (21556f7)

🐞 Bug Fixes

  • deps: update all non-major dependencies (#1770) (803a118)
  • ocpp: align OCPP 2.x auth adapter version to VERSION_201 (bd88bf7)
  • ocpp: wire context param through OCPP 1.6 meter value builder (3cbdf10)

✨ Polish

  • move constants to domain-appropriate locations (ff1696b)
  • ocpp: align builder naming and harmonize test structure (6019cb2)
  • ocpp: complete version-separation in OCPPServiceUtils (df3fe1d)
  • ocpp: consolidate Ajv type alias in OCPPServiceUtils (478f801)
  • ocpp: consolidate meter value builders into RequestBuilders (9c4a5f2)
  • ocpp: consolidate MeterValue builders into shared core (5ab61a5)
  • ocpp: consolidate MeterValues validators and helpers (4712a5e)
  • ocpp: consolidate payload validation into shared utility (b292626)
  • ocpp: consolidate variable access in auth adapter (52c94b9)
  • ocpp: consolidate variable reading through shared helpers (5a02c45)
  • ocpp: extract connector status operations into dedicated module (a5376f4)
  • ocpp: extract version-specific builders and transaction operations (d6ab80b)
  • ocpp: harmonize sampled value builders between versions (4eae7a7)
  • ocpp: move isIdTagAuthorized into OCPPServiceOperations (2bf9624)
  • ocpp: remove dead barrel re-exports (3deaeab)
  • ocpp: remove unnecessary exports from internal helpers (9c9de17)
  • remove unnecessary type casts and improve type safety (ccb61c1)

πŸ§ͺ Tests

  • ocpp: add assertion messages to assert.ok(.includes()) checks in VariableManager tests (2fe2519)
  • ocpp: harmonize test constants and assertion messages (f0b5650)
  • ocpp: move mapStopReasonToOCPP20 tests to OCPP20RequestBuilders.test.ts (fd77bf5)