github SAP/e-mobility-charging-stations-simulator ui-common@v4.5.0
ui-common: v4.5.0

latest releases: v4.12, v4, ocpp-server@v4.12.0...
5 months ago

4.5.0 (2026-04-22)

๐Ÿš€ Features

  • cli: display failure reasons in human-readable table output (fbc4346)
  • common: add browser WebSocket adapter (fe53a6d)
  • common: add notification callback support to WebSocketClient (a92b744)
  • ui-server: allow override of station identity and CSMS credentials in addChargingStations (#1802) (f23ba15)
  • ui: add CLI client and shared UI common library (#1789) (94b898b)
  • ui: human-readable CLI output + shared type updates + --url collision fix (ee80802)

๐Ÿž Bug Fixes

  • cli: make high-level OCPP commands version-aware (#1801) (804dce7)
  • cli: replace unsafe WebSocket double cast with typed adapter (a5c1a4d)
  • common: include Date in JsonPrimitive, restore Date fields (758cbfa)
  • common: restore wsState type as numeric literal union (30efe62)
  • deps: update all non-major dependencies (#1792) (eeeb437)
  • enforce RFC 7617 colon-free username across all Basic Auth paths (5c1f885)
  • ui-common: forward close code/reason in mock WebSocket factory (159977e)
  • ui: use portable crypto API and async bootstrap pattern (3c6f6f1)
  • web: copy workspace node_modules, harmonize browser adapter, add frozen-lockfile (bbb04f4)
  • web: prevent ghost events after server switch, fix CloseEvent type, improve error extraction (12c1e9a)

โœจ Polish

  • cli: audit fixes โ€” validate timeoutMs, extract mock factory, add comments (dfb70ff)
  • cli: complete remaining audit items โ€” validate status, extract helpers, add 8 test cases (84444f7)
  • cli: fix onerror ErrorEvent handling, DRY adapter types, simplify factory (22decdd)
  • cli: second-pass audit fixes โ€” DRY table helper, remove slop, strengthen assertions (c611414)
  • common: export browser adapter from barrel (13df7a3)
  • common: portable btoa, eliminate UIClient duplication, fix Docker deps (d63dd09)
  • consolidate all types into ui-common โ€” single import source (9739ffe)
  • fix phantom errorMessage, merge imports, harmonize Docker configs (18dc121)
  • ui-common: derive ClientConfig and AuthenticationConfig from Zod schemas (2d81b7e)
  • ui-common: derive UIServerConfigurationSection from Zod schema (7d5e179)
  • ui-common: generic WebSocket adapter factory with converter injection (e6be841)
  • ui-common: remove UIServerConfig alias, single canonical name (7e50e41)
  • ui: consolidate constants โ€” remove timeout duplicate, centralize defaults (42f6757)
  • ui: factorize shared code across ui packages (c91d737)
  • ui: global code quality pass (01b9a6a)
  • ui: move generic utilities to ui-common and add useFetchData composable (93cacfb)
  • web: eliminate type barrel โ€” direct imports from ui-common and source modules (dbf5731)

๐Ÿงช Tests

  • add enum rejection tests and fix dynamic import in CLI test (99014cb)
  • cli: fix lifecycle test structure โ€” single top-level describe (7111081)
  • ui-common: create shared mock WebSocket factory (218548e)
  • ui: add tests for converters, websocket utils, and useFetchData (df99c2e)

๐Ÿ“š Documentation

  • add ADR for config loading strategy and ClientConfig derivation (ac9f430)
  • add monorepo structure to copilot instructions, clarify command scopes (d7ef329)
  • ui-common: remove ADR section from README (c6c99a1)

Don't miss a new e-mobility-charging-stations-simulator release

NewReleases is sending notifications on new releases.