Skip to content

Bump @codama/spec to 1.6.0-rc.6#1001

Merged
lorisleiva merged 1 commit into
mainfrom
05-20-bump_codama_spec_to_1.6.0-rc.6
Jun 11, 2026
Merged

Bump @codama/spec to 1.6.0-rc.6#1001
lorisleiva merged 1 commit into
mainfrom
05-20-bump_codama_spec_to_1.6.0-rc.6

Conversation

@lorisleiva

Copy link
Copy Markdown
Member

Pulls in the camelCase rename of every spec union and enumeration name, the new { kind: 'address' } TypeExpr (rendered as plain string on the v1 TS surface), and the rc.6 revert of the rc.5 vec-of-children optional flips — leaving programNode, rootNode, instructionNode, pdaNode, and pdaValueNode's child arrays required as they were in rc.4. The generator picks up the new address kind in both nodeTypes and nodes typeExpr fragments, switches the registered* prefix and UNION_ALIAS_NAMES keys to camelCase to match the new spec naming, and gains a small constructor-signature fix to avoid emitting invalid param?: T = default TypeScript whenever an attribute that's both optional and supplied with a default appears (no such attribute exists in v1 today, but the bug would have surfaced the moment one did). The regenerated @codama/node-types surface differs from rc.4 by a single docstring paragraph on NestedTypeNode — the spec's nested-union alias name is now camelCase. Test fixtures across the generator's suite are updated to mirror the new convention; runtime behaviour and the public TS API are unchanged.

@lorisleiva lorisleiva marked this pull request as ready for review May 21, 2026 13:54
@lorisleiva lorisleiva force-pushed the 05-14-generate_codama_visitors-core_s_identityvisitor_and_mergevisitor_from_codama_spec_ branch from 1d45ad2 to 70df4fa Compare June 2, 2026 12:34
@lorisleiva lorisleiva force-pushed the 05-20-bump_codama_spec_to_1.6.0-rc.6 branch from 9319068 to 28694e1 Compare June 2, 2026 12:34
@changeset-bot

changeset-bot Bot commented Jun 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2cc8290

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@codama/node-types Patch
@codama/errors Patch
@codama/nodes Patch
@codama/dynamic-address-resolution Patch
@codama/dynamic-client Patch
@codama/dynamic-codecs Patch
@codama/dynamic-instructions Patch
@codama/dynamic-parsers Patch
@codama/fragments Patch
codama Patch
@codama/nodes-from-anchor Patch
@codama/renderers-core Patch
@codama/validators Patch
@codama/visitors-core Patch
@codama/visitors Patch
@codama/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@changeset-bot

changeset-bot Bot commented Jun 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 28694e1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@codama/node-types Patch
@codama/errors Patch
@codama/nodes Patch
@codama/dynamic-address-resolution Patch
@codama/dynamic-client Patch
@codama/dynamic-codecs Patch
@codama/dynamic-instructions Patch
@codama/dynamic-parsers Patch
@codama/fragments Patch
codama Patch
@codama/nodes-from-anchor Patch
@codama/renderers-core Patch
@codama/validators Patch
@codama/visitors-core Patch
@codama/visitors Patch
@codama/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lorisleiva lorisleiva force-pushed the 05-14-generate_codama_visitors-core_s_identityvisitor_and_mergevisitor_from_codama_spec_ branch from 70df4fa to d197456 Compare June 3, 2026 08:34
@lorisleiva lorisleiva force-pushed the 05-20-bump_codama_spec_to_1.6.0-rc.6 branch from 28694e1 to 00d7045 Compare June 3, 2026 08:34
@lorisleiva lorisleiva force-pushed the 05-14-generate_codama_visitors-core_s_identityvisitor_and_mergevisitor_from_codama_spec_ branch from d197456 to 82a8a16 Compare June 11, 2026 10:19
@lorisleiva lorisleiva force-pushed the 05-20-bump_codama_spec_to_1.6.0-rc.6 branch 2 times, most recently from 00c09c7 to 66505b0 Compare June 11, 2026 10:35
@lorisleiva lorisleiva force-pushed the 05-14-generate_codama_visitors-core_s_identityvisitor_and_mergevisitor_from_codama_spec_ branch 2 times, most recently from 03e7196 to e9a89fe Compare June 11, 2026 10:48
@lorisleiva lorisleiva force-pushed the 05-20-bump_codama_spec_to_1.6.0-rc.6 branch from 66505b0 to be79b8b Compare June 11, 2026 10:48
Base automatically changed from 05-14-generate_codama_visitors-core_s_identityvisitor_and_mergevisitor_from_codama_spec_ to main June 11, 2026 10:54
Pulls in the camelCase rename of every spec union and enumeration name, the new `{ kind: 'address' }` `TypeExpr` (rendered as plain `string` on the v1 TS surface), and the rc.6 revert of the rc.5 vec-of-children optional flips — leaving `programNode`, `rootNode`, `instructionNode`, `pdaNode`, and `pdaValueNode`'s child arrays required as they were in rc.4. The generator picks up the new `address` kind in both `nodeTypes` and `nodes` `typeExpr` fragments, switches the `registered*` prefix and `UNION_ALIAS_NAMES` keys to camelCase to match the new spec naming, and gains a small constructor-signature fix to avoid emitting invalid `param?: T = default` TypeScript whenever an attribute that's both optional and supplied with a default appears (no such attribute exists in v1 today, but the bug would have surfaced the moment one did). The regenerated `@codama/node-types` surface differs from rc.4 by a single docstring paragraph on `NestedTypeNode` — the spec's nested-union alias name is now camelCase. Test fixtures across the generator's suite are updated to mirror the new convention; runtime behaviour and the public TS API are unchanged.
@lorisleiva lorisleiva force-pushed the 05-20-bump_codama_spec_to_1.6.0-rc.6 branch from be79b8b to 2cc8290 Compare June 11, 2026 10:54
@lorisleiva lorisleiva enabled auto-merge (squash) June 11, 2026 11:50
@lorisleiva lorisleiva disabled auto-merge June 11, 2026 11:50
@lorisleiva lorisleiva merged commit 8667174 into main Jun 11, 2026
5 checks passed
@lorisleiva lorisleiva deleted the 05-20-bump_codama_spec_to_1.6.0-rc.6 branch June 11, 2026 11:50
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