Skip to content

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 07 Jun 10:43
· 44 commits to main since this release
577d9e0

What Changed πŸ‘€

πŸ’₯ Breaking Changes

  • feat!: monorepo layout, client and server release in lockstep @Bugs5382 (#12)
    Same npm package names, but the server peer-depends on the client ^4.0.0 β€” install and upgrade both together.
  • feat!: remove the implicit 2.7 default HL7 version @Bugs5382 (#12)
    A message's version now comes from its builder (new HL7_2_5()) and is required.
  • feat(client, server)!: require explicit HL7 version per client and listener @Bugs5382 (#20)
    new Client({ host, version }) and server.createInbound({ port, version }, handler). A client rejects any message whose MSH.12 differs from its version; a listener replies AR to a mismatch and skips the handler.

πŸš€ Features

  • feat: full HL7 value-table coverage β€” all 479 Caristix tables (v2.1–2.8) via TABLES / lookupTable(version, id), with metadata via SEGMENT_SPECS / DATA_TYPES @Bugs5382 (#12)
  • feat: versioned validating builders HL7_2_1…HL7_2_8 with usage-code (R/O/B/W/D/X) and value-table validation @Bugs5382 (#12)
    MSH.9 is keyed by component (msh_9_1/msh_9_2) on 2.2+, and MSH.11 (msh_11_1) on 2.3+.
  • feat(server): InboundRequest.getSocket(), custom ACKs, MSH overrides, and TLS/mTLS @Bugs5382 (#12)

πŸ“„ Documentation

  • docs: v4.0.0 example and changelog corrections @Bugs5382 (#21)
  • docs: AGENTS.md agent guide and refreshed READMEs, with every example verified against the v4.0.0 builder/listener contract @Bugs5382 (#12)

Extra

Full Changelog: ...v4.0.0