Skip to content

[1.x] Publish packages - #1114

Closed
codama-releases[bot] wants to merge 1 commit into
mainfrom
changeset-release/1.x
Closed

[1.x] Publish packages#1114
codama-releases[bot] wants to merge 1 commit into
mainfrom
changeset-release/1.x

Conversation

@codama-releases

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to 1.x, this PR will be updated.

Releases

@codama/dynamic-address-resolution@1.0.0

Major Changes

  • #1100 b81b87d Thanks @lorisleiva! - Promote the package to its first stable major. No API changes are included; this aligns every published package in the monorepo with the 1.x line of the Codama standard ahead of the v2 work.

Patch Changes

  • #1029 b4c0206 Thanks @plutohan! - Accept bare empty-variant names and indices as enum codec inputs, resolving them to the { __kind } shape, and match display labels against the discriminated union decoding of scalar enums.
  • Updated dependencies [b4c0206, abefbeb, b418a9e]:
    • @codama/dynamic-codecs@1.3.0
    • codama@1.11.0
    • @codama/errors@1.11.0

@codama/dynamic-client@1.0.0

Major Changes

  • #1100 b81b87d Thanks @lorisleiva! - Promote the package to its first stable major. No API changes are included; this aligns every published package in the monorepo with the 1.x line of the Codama standard ahead of the v2 work.

Patch Changes

  • Updated dependencies [b4c0206, abefbeb, b4c0206, b418a9e, b81b87d]:
    • @codama/dynamic-codecs@1.3.0
    • codama@1.11.0
    • @codama/errors@1.11.0
    • @codama/dynamic-address-resolution@1.0.0
    • @codama/dynamic-instructions@1.0.0

@codama/dynamic-instructions@1.0.0

Major Changes

  • #1100 b81b87d Thanks @lorisleiva! - Promote the package to its first stable major. No API changes are included; this aligns every published package in the monorepo with the 1.x line of the Codama standard ahead of the v2 work.

Patch Changes

  • #1029 b4c0206 Thanks @plutohan! - Accept bare empty-variant names and indices as enum codec inputs, resolving them to the { __kind } shape, and match display labels against the discriminated union decoding of scalar enums.
  • Updated dependencies [b4c0206, abefbeb, b4c0206, b418a9e, b81b87d]:
    • @codama/dynamic-codecs@1.3.0
    • codama@1.11.0
    • @codama/errors@1.11.0
    • @codama/dynamic-address-resolution@1.0.0
    • @codama/dynamic-parsers@1.4.2

@codama/fragments@1.0.0

Major Changes

  • #1100 b81b87d Thanks @lorisleiva! - Promote the package to its first stable major. No API changes are included; this aligns every published package in the monorepo with the 1.x line of the Codama standard ahead of the v2 work.

Patch Changes

@codama/upgrade@1.0.0

Major Changes

  • #1095 b418a9e Thanks @lorisleiva! - Initial release of @codama/upgrade. It upgrades Codama IDLs of any supported major version to the latest major of the standard via upgrade(rootNode), upgradeFromJson(json), and the upgradeToLatestVisitor() preprocessing visitor (also the package's default export, so "@codama/upgrade" alone works as a CLI before visitor). The frozen v1 node types are exposed under the type-only v1 namespace. While the latest spec major is 1, upgrading a 1.x IDL is an identity transform plus a restamp to the latest spec version.

Patch Changes

@codama/dynamic-codecs@1.3.0

Minor Changes

  • #1029 b4c0206 Thanks @plutohan! - Breaking: Scalar enums (enums whose variants are all empty) are now encoded and decoded as discriminated unions, consistent with data enums.

    Case Before After
    Decoding a scalar variant 2 { __kind: 'Down' }
    Encoding a scalar variant 2 or 'down' { __kind: 'Down' }
    enumValueNode resolution 2 { __kind: 'Down' }

    Wire bytes are unchanged; only the JavaScript value shape changes.

Patch Changes

@codama/errors@1.11.0

Minor Changes

  • #1095 b418a9e Thanks @lorisleiva! - Add the CODAMA_ERROR__UNSUPPORTED_VERSION error code for Codama IDLs that predate the 1.0.0 specification. The CODAMA_ERROR__VERSION_MISMATCH message now points older versions at the @codama/upgrade package and newer versions at updating their Codama dependencies.

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, 55b9ede, dabfe42]:
    • @codama/node-types@1.11.0

@codama/visitors@1.11.0

Minor Changes

  • #1096 362f618 Thanks @lorisleiva! - Add checkCodamaVersionVisitor. It checks the version of the visited Codama IDL against the Codama spec version supported by the installed packages, throwing a CODAMA_ERROR__VERSION_MISMATCH error when the majors differ. It is mainly useful at IDL-ingestion boundaries that bypass createFromRoot, such as a before visitor in a Codama CLI config.

Patch Changes

@codama/cli@1.6.3

Patch Changes

@codama/dynamic-parsers@1.4.2

Patch Changes

codama@1.11.0

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

@codama/node-types@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.

@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

@codama/nodes-from-anchor@1.5.6

Patch Changes

@codama/renderers-core@1.4.1

Patch Changes

@codama/validators@1.11.0

Patch Changes

@codama/visitors-core@1.11.0

Patch Changes

@codama-releases
codama-releases Bot force-pushed the changeset-release/1.x branch from a869cee to 4dd31b5 Compare August 27, 2026 14:09
@codama-releases
codama-releases Bot force-pushed the changeset-release/1.x branch from 4dd31b5 to 1cdab5f Compare August 27, 2026 14:20
@lorisleiva

Copy link
Copy Markdown
Member

Closing: after the 1.xmain rename, the changesets action will regenerate this release PR from changeset-release/main on the next push. Same pending changesets.

@lorisleiva lorisleiva closed this Aug 27, 2026
@lorisleiva
lorisleiva deleted the changeset-release/1.x branch August 27, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant