Skip to content

Commit ac73cbb

Browse files
chore: version packages (#130)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e1c65e5 commit ac73cbb

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎.changeset/fix-meter-value-anomaly-bucketing.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎packages/toolkit/CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @ocpp-debugkit/toolkit
22

3+
## 0.4.1
4+
5+
### Patch Changes
6+
7+
- 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.
8+
39
## 0.4.0
410

511
### Minor Changes

‎packages/toolkit/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ocpp-debugkit/toolkit",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Open-source DevTools for debugging OCPP charging sessions — parser, normalizer, timeline, failure detection, scenarios, replay, reports, CLI, and React components.",
55
"license": "Apache-2.0",
66
"type": "module",

0 commit comments

Comments
 (0)