Skip to content

chore: version packages#48

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Closed

chore: version packages#48
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@ocpp-debugkit/cli@0.1.0

Minor Changes

  • a959fa4: Create CLI package with inspect, report, and scenario commands.

    • ocpp-debugkit inspect <file> — parse + analyze + output summary
    • ocpp-debugkit report <file> — generate Markdown report (stdout or --output)
    • ocpp-debugkit scenario list — list all 5 built-in scenarios
    • ocpp-debugkit scenario run <name> — run scenario through analysis engine,
      compare detected vs expected failures
    • Path safety: validated file paths, size limits
    • Input validation: safe parsing, non-sensitive error messages
    • 17 integration tests (execa-based)
    • Converted JSON fixtures to TS modules (fixes Node.js ESM JSON import issue)

Patch Changes

  • Updated dependencies [07bca8c]
  • Updated dependencies [9543d50]
  • Updated dependencies [f2cef5d]
  • Updated dependencies [805434f]
  • Updated dependencies [17c2aa0]
    • @ocpp-debugkit/core@0.1.0
    • @ocpp-debugkit/reporter@0.1.0
    • @ocpp-debugkit/scenarios@0.1.0

@ocpp-debugkit/core@0.1.0

Minor Changes

  • 07bca8c: Finalize core package for npm publishing.

    • Add sideEffects: false for tree-shaking
    • Add files field to limit published content
    • Add keywords, repository, homepage, bugs fields for npm discoverability
    • Verify barrel export is complete (types, schemas, parser, normalizer, timeline, detection, summarizer, validator, fixtures)
  • 9543d50: Implement trace parser, event normalizer, and Zod schemas.

    • parseTrace() accepts JSON Object, JSONL, and bare array trace formats
    • normalizeEvents() classifies message types, infers directions (ADR-0004),
      and normalizes timestamps to epoch milliseconds (ADR-0005)
    • Zod schemas validate all untrusted input, preventing prototype pollution
    • Input size limit (10 MB) and event count limit (10,000) enforced
    • Malformed individual events are skipped with ParseWarning (ADR-0007)
    • Added Failure, Scenario, SessionSummary, ValidationResult types
    • 78 new unit tests (46 normalizer + 32 parser)
  • f2cef5d: Implement session timeline, failure detection, summarizer, and validator.

    • buildSessionTimeline() correlates events into sessions by transactionId (ADR-0006)
    • detectFailures() implements 3 detection rules: FAILED_AUTHORIZATION,
      CONNECTOR_FAULT, STATION_OFFLINE_DURING_SESSION
    • summarizeSession() / summarizeSessions() produce overview statistics
    • validateMessage() / validateMessages() check OCPP 1.6 JSON structural compliance
    • 40 new unit tests (10 timeline + 11 detection + 5 summarizer + 14 validator)

@ocpp-debugkit/reporter@0.1.0

Minor Changes

  • 805434f: Create reporter package with Markdown report generator.

    • generateMarkdownReport() produces a structured Markdown report with:
      session overview, timeline summary, failures (with severity and suggested
      steps), suggested next steps, and raw event appendix
    • AnalysisResult input type representing the analysis pipeline output
    • 11 tests covering structure, failure inclusion, readability, metadata, severity

Patch Changes

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

@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)

Patch Changes

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

web@0.1.1

Patch Changes

  • Updated dependencies [07bca8c]
  • Updated dependencies [9543d50]
  • Updated dependencies [f2cef5d]
  • Updated dependencies [805434f]
  • Updated dependencies [17c2aa0]
    • @ocpp-debugkit/core@0.1.0
    • @ocpp-debugkit/reporter@0.1.0
    • @ocpp-debugkit/scenarios@0.1.0

@sepehr-safari

Copy link
Copy Markdown
Member

Closing stale version PR — packages were already published to npm at 0.1.0 via PR #38. This PR is redundant.

@sepehr-safari sepehr-safari deleted the changeset-release/main branch July 8, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant