github codama-idl/codama @codama/nodes@1.11.0

Patch Changes

  • #1090 fa4a453 Thanks @lorisleiva! - Update the generated node types and constructors to @codama/spec@1.9.1. Generated docblocks now carry the enriched spec documentation (strategy walkthroughs with buffer diagrams for the offset type nodes, serialisation caveats, and worked examples), the CodamaVersion type moves from '1.8.0' to '1.9.1', and new documents created via rootNode() are stamped with version 1.9.1.

  • #1093 55b9ede Thanks @lorisleiva! - Widen the CodamaVersion type from the exact pinned literal ('1.9.1') to a major-pinned template literal (1.${number}.${number}), so any document of the current spec major type-checks as a RootNode rather than only documents carrying the exact pinned version. Add a getCodamaVersionMajor(version) helper to @codama/nodes that defensively extracts the major from an arbitrary version string, returning null when it cannot be parsed.

  • #1099 dabfe42 Thanks @lorisleiva! - Bump the generated CODAMA_VERSION to 1.9.2 and refresh the generated documentation from the latest spec.

  • Updated dependencies [fa4a453, abefbeb, 55b9ede, dabfe42, b418a9e]:

    • @codama/node-types@1.11.0
    • @codama/errors@1.11.0

Don't miss a new codama release

NewReleases is sending notifications on new releases.