Patch Changes
- #1094
abefbebThanks @lorisleiva! - FixvalidateCodamaVersionto 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 toCodamaVersionon success, rejects unparsable versions, and no longer special-cases 0.x versions. TheCODAMA_ERROR__VERSION_MISMATCHmessage 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