Skip to content

Commit 209709c

Browse files
chore: version packages
1 parent c32cfa7 commit 209709c

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎.changeset/legal-status-transitions.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.8` (2026-08-20): Add a status-transitions-legal scenario to ensure a fully legal OCPP 1.6 status path reports no failure.
2829
- `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.
2930
- `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.
3031
- `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.
@@ -556,7 +557,7 @@ to 6.
556557

557558
| Package | Status | Version |
558559
|---------|--------|---------|
559-
| `@ocpp-debugkit/toolkit` | published | 0.4.7 |
560+
| `@ocpp-debugkit/toolkit` | published | 0.4.8 |
560561
| `@ocpp-debugkit/core` | deprecated | 0.1.1 |
561562
| `@ocpp-debugkit/scenarios` | deprecated | 0.1.1 |
562563
| `@ocpp-debugkit/reporter` | deprecated | 0.1.1 |

‎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.8
4+
5+
### Patch Changes
6+
7+
- c32cfa7: Add a status-transitions-legal scenario to ensure a fully legal OCPP 1.6 status path reports no failure.
8+
39
## 0.4.7
410

511
### 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.7",
3+
"version": "0.4.8",
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)