diff --git a/CHANGELOG.md b/CHANGELOG.md index 996fede..50c5ff9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,20 @@ reference are all pre-1.0, minor (0.x) releases may include breaking changes. ## [Unreleased] +## [0.5.3] - 2026-07-22 + +### Fixed + +- `METER_VALUE_ANOMALY` no longer false-positives on charge points that report + more than one measurand per sample, or on multi-connector stations. Meter + readings are now bucketed by (connectorId, measurand, phase, unit, location), + and the monotonic and non-negative checks apply only to cumulative + `Energy.*.Register` measurands (OCPP 1.6 section 7.28). Reported by shiv3. +- `STATUS_TRANSITION_VIOLATION` no longer false-positives on multi-connector + stations. Connector status is tracked per connector (connectorId 0, the whole + charge point, is its own series), so a notification from one connector is not + compared against another's. + ## [0.5.2] — 2026-07-13 ### Added diff --git a/CURRENT_STATE.md b/CURRENT_STATE.md index e515ed0..c6ea678 100644 --- a/CURRENT_STATE.md +++ b/CURRENT_STATE.md @@ -4,16 +4,13 @@ ## Current version -`0.5.2` — one-line macOS installer (`curl … | bash`) + published `SHA256SUMS`. -Earlier: `0.5.1` (macOS app-bundle naming), `0.5.0` (first public release). - -**Pending (unreleased):** detection correctness fix in `src/ocpp/detection.zig`, -mirroring the toolkit fixes shiv3 found (toolkit#127/#128, published as 0.4.1 and -0.4.2). `METER_VALUE_ANOMALY` now buckets readings by (connectorId, measurand, -phase, unit, location) and checks only cumulative `Energy.*.Register`; -`STATUS_TRANSITION_VIOLATION` tracks previous status per connectorId. The 15 -conformance goldens are unchanged (the fixtures are single-connector), so the -contract still holds; two regression tests added. +`0.5.3` - detection correctness fix: `METER_VALUE_ANOMALY` and +`STATUS_TRANSITION_VIOLATION` are now per-connector / per-measurand (parity with +the toolkit fixes shiv3 found, toolkit#127/#128, published as toolkit 0.4.1 and +0.4.2). The 15 conformance goldens are unchanged (single-connector fixtures), so +the contract still holds; two regression tests added. +Earlier: `0.5.2` (one-line macOS installer), `0.5.1` (macOS app-bundle naming), +`0.5.0` (first public release). ## Active milestone diff --git a/app.zon b/app.zon index 5984696..6d6ac75 100644 --- a/app.zon +++ b/app.zon @@ -3,7 +3,7 @@ .name = "studio", .display_name = "OCPP DebugKit Studio", .description = "Native desktop debugger for OCPP charging sessions.", - .version = "0.5.2", + .version = "0.5.3", .icons = .{"assets/icon.png"}, .platforms = .{"macos"}, .permissions = .{ "view", "command", "notifications" },