Releases: ocpp-debugkit/toolkit
Release list
v0.3.2
What's Changed
- chore: retire apps/web (moved to ocpp-debugkit/website) by @sepehr-safari in #117
- docs: correct stale detection rule and scenario counts by @sepehr-safari in #119
- chore: version packages by @github-actions[bot] in #120
Full Changelog: https://github.com/ocpp-debugkit/toolkit/compare/@ocpp-debugkit/toolkit@0.3.1...v0.3.2
@ocpp-debugkit/toolkit@0.3.2
Patch Changes
- a6b7d12: Correct the package README, which advertised 10 detection rules and 10 predefined scenarios. The toolkit ships 16 detection rules (4 critical, 10 warning, 2 info) and 15 scenarios.
v0.3.1
What's Changed
- docs: post-v0.3.0 milestone boundary audit by @sepehr-safari in #111
- chore: update repo references after rename to ocpp-debugkit/toolkit by @sepehr-safari in #113
- feat(core): detect repeated boot notifications by @Develop-KIM in #114
- chore: version packages by @github-actions[bot] in #115
New Contributors
- @Develop-KIM made their first contribution in #114
Full Changelog: https://github.com/ocpp-debugkit/toolkit/compare/@ocpp-debugkit/toolkit@0.3.0...v0.3.1
v0.3.0
What's Changed
- docs: post-v0.1.0 cleanup — update README, ROADMAP, CURRENT_STATE, web README by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/53
- feat(toolkit): consolidate packages into @ocpp-debugkit/toolkit with subpath exports by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/55
- fix(toolkit): set version 0.2.1 and private:true to prevent premature publish by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/67
- docs: update CURRENT_STATE.md — Phase 0 complete, premature publish note by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/68
- feat(toolkit): external fixture test + CI for clean-install verification by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/69
- docs: migration guide + ADR-0010 + update all docs for toolkit by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/71
- chore: simplify release workflow for single package by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/72
- feat(core): v0.2 failure detection rules — 7 new rules by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/70
- feat(reporter): HTML report format + CLI --format html by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/73
- test(replay): comprehensive replay engine tests by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/74
- feat(scenarios): expand to 10 total scenarios + CLI external scenario files by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/75
- feat(react): extract reusable React components from inspector by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/76
- feat(app): replay UI + report viewer + react refactor by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/77
- docs: v0.2 content — update CURRENT_STATE, ROADMAP for release readiness by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/78
- release: v0.2.1 — publish @ocpp-debugkit/toolkit@0.2.1 by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/79
- fix(web): enable @tailwindcss/typography for docs prose styling by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/80
- fix(web): point npm links to toolkit package + inspector nav link by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/81
- docs: improve toolkit package README with full API reference by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/93
- docs: post-v0.2.1 milestone boundary audit by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/94
- feat(core): v0.3 failure detection rules — 5 new rules (15 total) by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/95
- chore: add vercel.json to disable preview deployments for non-main branches by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/98
- feat(core): trace diffing — diffTraces() API by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/99
- feat(core): rich scenario assertions — 8 assertion types + evaluateScenario() by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/100
- feat(scenarios): assert-based scenarios + 5 new scenarios + report comparison by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/101
- feat(cli): ci + anonymize + diff commands by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/102
- docs: integration examples — 4 example projects by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/103
- docs: contribution guide + 5 good-first-issues by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/109
- docs: v0.3 content — 5 new + 3 updated docs pages by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/110
- chore: version packages by @github-actions[bot] in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/97
Full Changelog: https://github.com/ocpp-debugkit/ocpp-debugkit/compare/@ocpp-debugkit/cli@0.1.1...v0.3.0
@ocpp-debugkit/toolkit@0.3.1
Patch Changes
- 2c4d518: Add repeated BootNotification failure detection for stations that send multiple boot calls within five minutes.
@ocpp-debugkit/toolkit@0.3.0
Minor Changes
-
6775642: Add rich scenario assertions — 8 declarative assertion types for scenario evaluation:
event_order,event_count,payload_field,timing,session_state,
failure_severity,no_failures,failure_count
New API:
runAssertions(),evaluateScenario(). Backward compatible —
existing scenarios with onlyexpectedFailureswork unchanged. -
1b8cb39: Add three new CLI commands:
ocpp-debugkit ci [dir]— run all scenarios, exit 0/1 for CI integration, supports--format jsonocpp-debugkit anonymize <file>— strip sensitive fields from trace filesocpp-debugkit diff <a> <b>— compare two trace files, supports--format json
Also fixes evaluateScenario to deduplicate failure codes before comparison.
-
c580737: Add 5 new failure detection rules for v0.3.0:
SUSPICIOUS_SESSION_DURATION— sessions shorter than 60s or longer than 24hSLOW_RESPONSE— Call→CallResult/CallError gap exceeding 10sHEARTBEAT_INTERVAL_VIOLATION— heartbeat intervals deviating >50% from expectedMETER_VALUE_ANOMALY— non-monotonic or negative meter readingsUNRESPONSIVE_CSMS— Call messages with no matching CallResult or CallError
Total detection rules: 15 (10 from v0.1/v0.2 + 5 new).
-
8db857e: Add 5 new scenarios using rich assertions (15 total):
slow-csms-response— SLOW_RESPONSE + timing assertionmeter-anomaly— METER_VALUE_ANOMALY + payload_field/event_count assertionsshort-session— SUSPICIOUS_SESSION_DURATION + session_state/event_count assertionsheartbeat-irregular— HEARTBEAT_INTERVAL_VIOLATION + event_count assertionunresponsive-csms— UNRESPONSIVE_CSMS + failure_severity/failure_count assertions
Add
compareScenarioReports()— compare two scenario evaluation results for regression testing. -
8f765f9: Add
diffTraces()— compare two parsed traces and surface event-level differences:- Events only in A or B (by messageId)
- Field-level modifications (timestamp, direction, action, payload, errorCode)
- Failure differences (detected in A but not B, and vice versa)
- Summary differences (event count, failure count, duration, status)
v0.2.1
What's Changed
- docs: post-v0.1.0 cleanup — update README, ROADMAP, CURRENT_STATE, web README by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/53
- feat(toolkit): consolidate packages into @ocpp-debugkit/toolkit with subpath exports by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/55
- fix(toolkit): set version 0.2.1 and private:true to prevent premature publish by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/67
- docs: update CURRENT_STATE.md — Phase 0 complete, premature publish note by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/68
- feat(toolkit): external fixture test + CI for clean-install verification by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/69
- docs: migration guide + ADR-0010 + update all docs for toolkit by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/71
- chore: simplify release workflow for single package by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/72
- feat(core): v0.2 failure detection rules — 7 new rules by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/70
- feat(reporter): HTML report format + CLI --format html by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/73
- test(replay): comprehensive replay engine tests by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/74
- feat(scenarios): expand to 10 total scenarios + CLI external scenario files by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/75
- feat(react): extract reusable React components from inspector by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/76
- feat(app): replay UI + report viewer + react refactor by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/77
- docs: v0.2 content — update CURRENT_STATE, ROADMAP for release readiness by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/78
- release: v0.2.1 — publish @ocpp-debugkit/toolkit@0.2.1 by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/79
Full Changelog: https://github.com/ocpp-debugkit/ocpp-debugkit/compare/@ocpp-debugkit/cli@0.1.1...v0.2.1
release-v0.1.0 — Inspector MVP
What's Changed
- fix(ci): remove --notes-from-tag (incompatible with --generate-notes) by @sepehr-safari in https://github.com/ocpp-debugkit/ocpp-debugkit/pull/50
Full Changelog: https://github.com/ocpp-debugkit/ocpp-debugkit/compare/@ocpp-debugkit/cli@0.1.0...release-v0.1.0
@ocpp-debugkit/scenarios@0.1.1
@ocpp-debugkit/scenarios@0.1.0
Minor Changes
-
17c2aa0: Create scenarios package with 5 initial scenarios.
- Scenario registry with
getScenario()lookup - 5 scenarios: normal-session, failed-auth, connector-fault,
station-offline, unexpected-stop-reason - Each scenario's expectedFailures aligns with v0.1 detection rules
- 21 tests (registry, engine integration, synthetic data policy)
- Scenario registry with