Skip to content

Releases: ocpp-debugkit/toolkit

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 14 Jul 14:13
f06b711

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

Choose a tag to compare

@github-actions github-actions released this 14 Jul 14:13
f06b711

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

Choose a tag to compare

@github-actions github-actions released this 09 Jul 17:44
e210de1

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

Full Changelog: https://github.com/ocpp-debugkit/toolkit/compare/@ocpp-debugkit/toolkit@0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 09 Jul 07:48
2224138

What's Changed

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

Choose a tag to compare

@github-actions github-actions released this 09 Jul 17:44
e210de1

Patch Changes

  • 2c4d518: Add repeated BootNotification failure detection for stations that send multiple boot calls within five minutes.

@ocpp-debugkit/toolkit@0.3.0

Choose a tag to compare

@github-actions github-actions released this 09 Jul 07:48
2224138

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 only expectedFailures work unchanged.

  • 1b8cb39: Add three new CLI commands:

    • ocpp-debugkit ci [dir] — run all scenarios, exit 0/1 for CI integration, supports --format json
    • ocpp-debugkit anonymize <file> — strip sensitive fields from trace files
    • ocpp-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 24h
    • SLOW_RESPONSE — Call→CallResult/CallError gap exceeding 10s
    • HEARTBEAT_INTERVAL_VIOLATION — heartbeat intervals deviating >50% from expected
    • METER_VALUE_ANOMALY — non-monotonic or negative meter readings
    • UNRESPONSIVE_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 assertion
    • meter-anomaly — METER_VALUE_ANOMALY + payload_field/event_count assertions
    • short-session — SUSPICIOUS_SESSION_DURATION + session_state/event_count assertions
    • heartbeat-irregular — HEARTBEAT_INTERVAL_VIOLATION + event_count assertion
    • unresponsive-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

Choose a tag to compare

@github-actions github-actions released this 08 Jul 19:47
6c16368

What's Changed

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

Choose a tag to compare

@sepehr-safari sepehr-safari released this 08 Jul 08:15
e8b7df2

@ocpp-debugkit/scenarios@0.1.1

Choose a tag to compare

@github-actions github-actions released this 08 Jul 08:37
72f851e

Patch Changes

  • 38618c7: Add package READMEs for npm discoverability.
  • Updated dependencies [38618c7]
    • @ocpp-debugkit/core@0.1.1

@ocpp-debugkit/scenarios@0.1.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 08:09
9de8ff5

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)

Patch Changes

  • Updated dependencies [07bca8c]
  • Updated dependencies [9543d50]
  • Updated dependencies [f2cef5d]
    • @ocpp-debugkit/core@0.1.0