github codama-idl/codama codama@1.11.0

5 hours ago

Patch Changes

  • #1094 abefbeb Thanks @lorisleiva! - Fix validateCodamaVersion to compare the document's version against the Codama spec version (CODAMA_VERSION) instead of the npm package version, which is an unrelated namespace and caused false mismatches whenever the two drifted apart. The function now accepts any string and narrows it to CodamaVersion on success, rejects unparsable versions, and no longer special-cases 0.x versions. The CODAMA_ERROR__VERSION_MISMATCH message is reworded accordingly.
  • Updated dependencies [fa4a453, abefbeb, 362f618, 55b9ede, dabfe42, b418a9e]:
    • @codama/nodes@1.11.0
    • @codama/errors@1.11.0
    • @codama/visitors@1.11.0
    • @codama/cli@1.6.3
    • @codama/validators@1.11.0

Don't miss a new codama release

NewReleases is sending notifications on new releases.