Skip to content

ocpp-server: v3.1.0

Choose a tag to compare

@jerome-benoit jerome-benoit released this 15 Mar 23:35
a2d8cb1

3.1.0 (2026-03-15)

🚀 Features

  • ocpp-server: add error handling, configurable params, async tests, and Python 3.14+ compat (87dd8a8)
  • ocpp-server: overhaul OCPP 2.0.1 mock server with full command coverage (00fd54b)

🐞 Bug Fixes

  • ocpp-server: add suppress=False to all call() invocations and widen randint range (2eacf4c)
  • ocpp-server: extract CP ID from last URL segment and scope ChargePoints to instance (bd42284)
  • ocpp-server: share charge_points set across connections and harden test quality (f2143a6)
  • ocpp-server: use MagicMock for sync method in test to fix RuntimeWarning (db3170b)

✨ Polish

  • ocpp-server: deduplicate outgoing commands, harden timer, expand test coverage (e4336e0)
  • ocpp-server: introduce AuthMode, AuthConfig and ServerConfig typed dataclasses (a4393c7)
  • ocpp-server: parametrize failure-path tests to eliminate duplication (4ce2ca8)

🧪 Tests

  • ocpp-server: add behavioral tests for all outgoing commands (737e11a)
  • ocpp-server: add connection lifecycle and command scheduling tests (ce44bb8)
  • ocpp-server: add Timer class test coverage (d3f6b7b)
  • ocpp-server: centralize constants, strengthen assertions, add auth modes, trim meta-tests (593fa76)

📚 Documentation

  • ocpp-server: restructure README with logical section hierarchy (2287dc0)