Skip to content

chore: version packages#38

Merged
sepehr-safari merged 1 commit into
mainfrom
changeset-release/main
Jul 8, 2026
Merged

chore: version packages#38
sepehr-safari merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 7, 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

@github-actions github-actions Bot force-pushed the changeset-release/main branch 5 times, most recently from 0a28c7e to e380537 Compare July 7, 2026 23:41
@netlify

netlify Bot commented Jul 7, 2026

Copy link
Copy Markdown

Deploy Preview for ocppdebugkit ready!

Name Link
🔨 Latest commit e380537
🔍 Latest deploy log https://app.netlify.com/projects/ocppdebugkit/deploys/6a4d8ec753bdc00008de429a
😎 Deploy Preview https://deploy-preview-38--ocppdebugkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 8b8bd3c to 3d4e0d7 Compare July 8, 2026 00:21
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 3d4e0d7 to 9854e1a Compare July 8, 2026 00:31
@sepehr-safari sepehr-safari merged commit 5e0f7bb into main Jul 8, 2026
@sepehr-safari sepehr-safari deleted the changeset-release/main branch July 8, 2026 00:39
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