From 3eef8314fbebbf3c9c9c1eb5a2bdcf4ff552621a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 10:11:43 +0000 Subject: [PATCH] chore: version packages --- .changeset/fix-meter-value-anomaly-bucketing.md | 5 ----- packages/toolkit/CHANGELOG.md | 6 ++++++ packages/toolkit/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/fix-meter-value-anomaly-bucketing.md diff --git a/.changeset/fix-meter-value-anomaly-bucketing.md b/.changeset/fix-meter-value-anomaly-bucketing.md deleted file mode 100644 index 5408ac4..0000000 --- a/.changeset/fix-meter-value-anomaly-bucketing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@ocpp-debugkit/toolkit': patch ---- - -Fix `METER_VALUE_ANOMALY` false positives (#127). The rule flattened every `sampledValue` across measurand, phase, unit, location and connector into a single series and asserted monotonicity, but only cumulative `Energy.*.Register` measurands are monotonic and non-negative per OCPP 1.6 section 7.28, so any charge point reporting more than one measurand per sample, or any multi-connector station, produced warnings on nearly every `MeterValues` message. Readings are now bucketed by `(connectorId, measurand, phase, unit, location)` and the monotonic and non-negative checks apply only to cumulative energy registers (an absent `measurand` defaults to `Energy.Active.Import.Register`); other measurands are ignored by this rule. Reported by shiv3 from the ocpp-cp-simulator integration. diff --git a/packages/toolkit/CHANGELOG.md b/packages/toolkit/CHANGELOG.md index edcb452..395d80d 100644 --- a/packages/toolkit/CHANGELOG.md +++ b/packages/toolkit/CHANGELOG.md @@ -1,5 +1,11 @@ # @ocpp-debugkit/toolkit +## 0.4.1 + +### Patch Changes + +- e1c65e5: Fix `METER_VALUE_ANOMALY` false positives (#127). The rule flattened every `sampledValue` across measurand, phase, unit, location and connector into a single series and asserted monotonicity, but only cumulative `Energy.*.Register` measurands are monotonic and non-negative per OCPP 1.6 section 7.28, so any charge point reporting more than one measurand per sample, or any multi-connector station, produced warnings on nearly every `MeterValues` message. Readings are now bucketed by `(connectorId, measurand, phase, unit, location)` and the monotonic and non-negative checks apply only to cumulative energy registers (an absent `measurand` defaults to `Energy.Active.Import.Register`); other measurands are ignored by this rule. Reported by shiv3 from the ocpp-cp-simulator integration. + ## 0.4.0 ### Minor Changes diff --git a/packages/toolkit/package.json b/packages/toolkit/package.json index e1c31ae..cbc7bf0 100644 --- a/packages/toolkit/package.json +++ b/packages/toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@ocpp-debugkit/toolkit", - "version": "0.4.0", + "version": "0.4.1", "description": "Open-source DevTools for debugging OCPP charging sessions — parser, normalizer, timeline, failure detection, scenarios, replay, reports, CLI, and React components.", "license": "Apache-2.0", "type": "module",