Skip to content

[2.x] Release package (rc) - #1274

Open
codama-releases[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

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

Conversation

@codama-releases

@codama-releases codama-releases Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

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 main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@codama/validators@2.0.0-rc.1

Minor Changes

  • #1289 f56fc28 Thanks @lorisleiva! - Report PDA, instruction and instruction account links that point to no node of their program, e.g. pdaLinkNode('vualt'), as errors. Links naming a program that is not in the tree point outside of it, such as the PDA of the associated token program, so they are not checked, and neither are account and defined type links to such programs anymore.

Patch Changes

  • Updated dependencies [9146ad3, 9210c1f, f56fc28, 141998e]:
    • @codama/visitors-core@2.0.0-rc.1
    • @codama/nodes@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1
    • @codama/fragments@2.0.0-rc.1

@codama/cli@2.0.0-rc.1

Patch Changes

  • Updated dependencies [9146ad3, 9210c1f, f56fc28, 141998e]:
    • @codama/visitors-core@2.0.0-rc.1
    • @codama/nodes@2.0.0-rc.1
    • @codama/visitors@2.0.0-rc.1

@codama/dynamic-address-resolution@2.0.0-rc.1

Patch Changes

  • Updated dependencies []:
    • @codama/dynamic-codecs@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1
    • codama@2.0.0-rc.1

@codama/dynamic-client@2.0.0-rc.1

Patch Changes

  • Updated dependencies []:
    • @codama/errors@2.0.0-rc.1
    • codama@2.0.0-rc.1
    • @codama/dynamic-address-resolution@2.0.0-rc.1
    • @codama/dynamic-instructions@2.0.0-rc.1

@codama/dynamic-codecs@2.0.0-rc.1

Patch Changes

  • Updated dependencies [9146ad3, 9210c1f, f56fc28, 141998e]:
    • @codama/visitors-core@2.0.0-rc.1
    • @codama/nodes@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1
    • @codama/fragments@2.0.0-rc.1

@codama/dynamic-instructions@2.0.0-rc.1

Patch Changes

  • Updated dependencies []:
    • @codama/dynamic-codecs@2.0.0-rc.1
    • @codama/dynamic-parsers@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1
    • codama@2.0.0-rc.1
    • @codama/dynamic-address-resolution@2.0.0-rc.1

@codama/dynamic-parsers@2.0.0-rc.1

Patch Changes

  • Updated dependencies [9146ad3, 9210c1f, f56fc28, 141998e]:
    • @codama/visitors-core@2.0.0-rc.1
    • @codama/nodes@2.0.0-rc.1
    • @codama/dynamic-codecs@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1

@codama/errors@2.0.0-rc.1

Patch Changes

  • Updated dependencies [141998e]:
    • @codama/node-types@2.0.0-rc.1

@codama/fragments@2.0.0-rc.1

Patch Changes

  • Updated dependencies []:
    • @codama/errors@2.0.0-rc.1

codama@2.0.0-rc.1

Patch Changes

  • Updated dependencies [141998e, f56fc28]:
    • @codama/nodes@2.0.0-rc.1
    • @codama/validators@2.0.0-rc.1
    • @codama/cli@2.0.0-rc.1
    • @codama/visitors@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1
    • @codama/fragments@2.0.0-rc.1

@codama/node-types@2.0.0-rc.1

Patch Changes

  • #1273 141998e Thanks @lorisleiva! - Emit node attributes in the declaration order of the spec, followed by base attributes, instead of regrouping them into data and child attributes. Encoded IDLs change order only, e.g. the docs of a pdaNode now come before its programId, and readers must not depend on attribute order. Following @codama/spec@2.0.0-rc.4, link nodes now put their identifier before their parent link, and the type parameters of ValueLabelDisplayNode follow its new attribute order (TLabel before TValue).

    // Before
    { "kind": "pdaNode", "identifier": "vault", "programId": "…", "docs": "The vault.", "seeds": […] }
    
    // After
    { "kind": "pdaNode", "identifier": "vault", "docs": "The vault.", "programId": "…", "seeds": […] }

@codama/nodes@2.0.0-rc.1

Patch Changes

  • #1273 141998e Thanks @lorisleiva! - Emit node attributes in the declaration order of the spec, followed by base attributes, instead of regrouping them into data and child attributes. Encoded IDLs change order only, e.g. the docs of a pdaNode now come before its programId, and readers must not depend on attribute order. Following @codama/spec@2.0.0-rc.4, link nodes now put their identifier before their parent link, and the type parameters of ValueLabelDisplayNode follow its new attribute order (TLabel before TValue).

    // Before
    { "kind": "pdaNode", "identifier": "vault", "programId": "…", "docs": "The vault.", "seeds": […] }
    
    // After
    { "kind": "pdaNode", "identifier": "vault", "docs": "The vault.", "programId": "…", "seeds": […] }
  • Updated dependencies [141998e]:

    • @codama/node-types@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1

@codama/nodes-from-anchor@2.0.0-rc.1

Patch Changes

  • Updated dependencies [141998e]:
    • @codama/nodes@2.0.0-rc.1
    • @codama/visitors@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1
    • @codama/fragments@2.0.0-rc.1

@codama/renderers-core@2.0.0-rc.1

Patch Changes

  • Updated dependencies [9146ad3, 9210c1f, f56fc28, 141998e]:
    • @codama/visitors-core@2.0.0-rc.1
    • @codama/nodes@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1
    • @codama/fragments@2.0.0-rc.1

@codama/upgrade@2.0.0-rc.1

Patch Changes

  • Updated dependencies [9146ad3, 9210c1f, f56fc28, 141998e]:
    • @codama/visitors-core@2.0.0-rc.1
    • @codama/node-types@2.0.0-rc.1
    • @codama/nodes@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1

@codama/visitors@2.0.0-rc.1

Patch Changes

  • Updated dependencies [9146ad3, 9210c1f, f56fc28, 141998e]:
    • @codama/visitors-core@2.0.0-rc.1
    • @codama/nodes@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1
    • @codama/fragments@2.0.0-rc.1

@codama/visitors-core@2.0.0-rc.1

Patch Changes

  • #1285 9146ad3 Thanks @lorisleiva! - Carry the resolved signer and optionality of a default account along a chain of defaults in getResolvedInstructionInputsVisitor. An account defaulting to an account that itself defaults to a non-signer, e.g. a → b → c, now resolves to an 'either' signer rather than a required one, and likewise inherits the resolved optionality of its default account.

  • #1286 9210c1f Thanks @lorisleiva! - Check the transforms, counts, prefixes, sizes and zero values of types that may stop a recursion in getHasFiniteValueVisitor. A constant of a type being visited hidden in, e.g., the transforms of a link or an option, or in a sentinel count, can never be created, so hasDefinedTypeFiniteValue now reports that type as having no finite value instead of accepting it.

  • #1289 f56fc28 Thanks @lorisleiva! - Depend on a PDA value's programId when it is a dataValueNode in getResolvedInstructionInputsVisitor, so the data field resolves before the PDA value, and keep the instruction account in the path of CANNOT_USE_OPTIONAL_ACCOUNT_AS_PDA_SEED_VALUE whenever the PDA value is the account's own, including when resolving an injected seed within it rebuilt the value.

  • Updated dependencies [141998e]:

    • @codama/nodes@2.0.0-rc.1
    • @codama/errors@2.0.0-rc.1
    • @codama/fragments@2.0.0-rc.1

@codama-releases
codama-releases Bot force-pushed the changeset-release/main branch 2 times, most recently from ed9607a to d5bd674 Compare November 19, 2026 19:16
@codama-releases
codama-releases Bot force-pushed the changeset-release/main branch from d5bd674 to 9da37f4 Compare November 24, 2026 23:54
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.

0 participants