Skip to content

Changelog

The full changelog lives in the repository:

  • @channel(address, id?) separates channel identity from address (#291): distinct IDs describe separate connections at the same address, reusing an ID pairs send/receive operations at one address. Guarded by new invalid-channel-id and conflicting-channel-address errors.
  • Operations returning a discriminated base model now emit one message per derived variant (#289), so subscribers see the concrete event types.
  • The landing page gained a live playground: the real compiler and emitter run in the browser, no server involved.
  • Fixes: user models shadowed by same-named stdlib types are no longer dropped (#286), stdlib instantiations no longer trigger duplicate-schema-name (#287), union-variant properties keep their literal value (#288), and templated channel addresses produce RFC-valid $ref URIs (#290).
  • A generated brand pipeline (pnpm run brand:generate / brand:check) keeps every project identity artifact derived from one geometry definition.
  • Mixed @typespec/http programs now decide operation ownership from http’s resolved route table, so bare REST operations no longer leak into the AsyncAPI document.
  • Two diagnostics joined the surface: bare-op-assumed-rest and bare-op-inference-deprecated, and event-op-in-service-namespace now cites the concrete route.
  • Deep bare-operation discovery works in arbitrarily nested namespaces.
  • Public API freeze under semver: 30 decorators, EmitterOptions, the output contract, and the ./shared subpath.
Metric Value
Version 1.2.0 (npm, latest)
Tests 1333 passing (vitest)
Coverage 96.9% average line coverage (gated at 75% per file)
Decorators 30
Diagnostics 38 codes (22 error + 16 warning)
Protocols 22 (bindings auto-generated from @asyncapi/specs)
Examples 15 runnable projects, all CI-validated
Output Validates against official AsyncAPI 3.1.0 JSON Schema