Skip to content

codama@1.11.0

Latest

Choose a tag to compare

@codama-releases codama-releases released this 15 Sep 07:38
· 2 commits to 1.x since this release
84cabd1

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