Skip to content

Document the IDL versioning convention - #108

Merged
lorisleiva merged 1 commit into
mainfrom
document-idl-versioning
Aug 21, 2026
Merged

Document the IDL versioning convention#108
lorisleiva merged 1 commit into
mainfrom
document-idl-versioning

Conversation

@lorisleiva

Copy link
Copy Markdown
Member

This PR documents the recommended convention for versioning Codama IDLs stored in metadata accounts. Producers write their IDL to the single canonical idl seed at whichever Codama version their tooling generates, and consumers normalise on read via the @codama/upgrade package, which upgrades an IDL of any older major to the latest version of the standard. The new "IDL versioning" section also documents version-pinned seeds such as idl-codama-v1 as an advanced escape hatch, warns that seeds are fixed 16-byte buffers which the JavaScript SDK silently truncates, and clarifies that the account header carries no kind or version information — the standard and version fields inside the content are the source of truth. The existing "Seeds" bullet now points at the new section.

@lorisleiva
lorisleiva merged commit 1d8f857 into main Aug 21, 2026
21 checks passed
@lorisleiva
lorisleiva deleted the document-idl-versioning branch August 21, 2026 15:36
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