Skip to content

Commit 2f6d8b7

Browse files
chore: version packages
1 parent 49bc07e commit 2f6d8b7

5 files changed

Lines changed: 10 additions & 12 deletions

File tree

.changeset/brave-pandas-count.md

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

.changeset/repeated-boot-notification-scenario.md

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

CURRENT_STATE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ step). Do not edit between the markers by hand. Full history lives in
2525
sections further down.
2626

2727
<!-- RELEASE-LOG:START -->
28+
- `0.4.7` (2026-08-10): Add a meter-value-zero scenario to ensure a flat zero meter register does not report a failure.; Add `repeated-boot-notification` scenario covering the `REPEATED_BOOT_NOTIFICATION` detection rule. The synthetic trace reboots a station three times in three minutes (one `BootNotification` per minute) followed by a single `Heartbeat`, exercising the 5 minute window used by the rule.
2829
- `0.4.6` (2026-08-08): Add `heartbeat-timeout` scenario covering the `TIMEOUT_NO_HEARTBEAT` detection rule. The synthetic trace boots a station with `interval=300`, then sends a `StatusNotification` past the 2× interval threshold (`06:12:00.000Z`) with no `Heartbeat` anywhere in the trace.
2930
- `0.4.5` (2026-07-30): Report every refusing `AuthorizationStatus` in `FAILED_AUTHORIZATION`, not just `Invalid` (#156). The OCPP 1.6 enumeration (edition 2, section 7.2) has five values and only `Accepted` permits charging, so `Blocked`, `Expired` and `ConcurrentTx` end a driver's session exactly as `Invalid` does. The rule fired on `Invalid` alone, which meant a blocked or expired token produced a clean report, and silence from a detector reads as "this is not the problem". All four refusals now report under the existing code, with the status named in the description, and the suggested steps mention the `ConcurrentTx` case. Adds a `refused-authorization` scenario covering the three newly reported statuses, bringing the corpus to 18.; Match `FIRMWARE_UPDATE_FAILURE` to the OCPP 1.6 `FirmwareStatus` enumeration (#154, edition 2 section 7.25). The rule matched `DownloadPaused`, `InstallFailed` and `InstallRebootingFailed`, none of which are 1.6 status values, and did not match `InstallationFailed`, which is one of the two failure values the enumeration defines. A conformant station reporting a failed installation, the more consequential of the two firmware outcomes, went undetected. The rule now matches exactly `DownloadFailed` and `InstallationFailed`, and the `firmware-update-failure` scenario reports `InstallationFailed` instead of the non-spec `InstallFailed` it used before.; Transcribe the `STATUS_TRANSITION_VIOLATION` matrix from the OCPP 1.6 status transition table (#155, edition 2 section 4.9). The matrix disagreed with the table in both directions: it flagged 22 transitions the table permits and permitted 2 it does not list. The false positives were concentrated in the recovery rows, where the table allows a connector to return from `Faulted` to any pre-fault state and from `Unavailable` straight into an operative state, so any station that faulted mid-session and resumed charging, or that took a scheduled availability change during a session (`Charging -> Unavailable` and its siblings), produced a spurious warning. `Preparing -> Unavailable` and `Finishing -> Reserved` are absent from the table and are now flagged. The rule's matrix is now the table cell by cell, with the spec's own cell labels alongside it, and a test transcribes the table independently so the two have to agree.
3031
- `0.4.4` (2026-07-30): feat(scenarios): add firmware-update-failure scenario
@@ -503,7 +504,7 @@ it to 21, at which point all 16 detection rules are covered.
503504

504505
| Package | Status | Version |
505506
|---------|--------|---------|
506-
| `@ocpp-debugkit/toolkit` | published | 0.4.6 |
507+
| `@ocpp-debugkit/toolkit` | published | 0.4.7 |
507508
| `@ocpp-debugkit/core` | deprecated | 0.1.1 |
508509
| `@ocpp-debugkit/scenarios` | deprecated | 0.1.1 |
509510
| `@ocpp-debugkit/reporter` | deprecated | 0.1.1 |

packages/toolkit/CHANGELOG.md

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

3+
## 0.4.7
4+
5+
### Patch Changes
6+
7+
- ca2bb0e: Add a meter-value-zero scenario to ensure a flat zero meter register does not report a failure.
8+
- 49bc07e: Add `repeated-boot-notification` scenario covering the `REPEATED_BOOT_NOTIFICATION` detection rule. The synthetic trace reboots a station three times in three minutes (one `BootNotification` per minute) followed by a single `Heartbeat`, exercising the 5 minute window used by the rule.
9+
310
## 0.4.6
411

512
### Patch 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.6",
3+
"version": "0.4.7",
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)