Merged
Conversation
c35722f to
6fe8eb8
Compare
6fe8eb8 to
5d29091
Compare
lorisleiva
approved these changes
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Releases
@codama/renderers-rust@3.0.0
Major Changes
#92
4af6c06Thanks @grod220! - Removed defaultserdesupport and replacedkaiganwithspl-collectionsBREAKING CHANGES:
Generated variable-sized string/vector wrappers now come from
spl-collectionsinstead ofkaigan. If you have handwritten code that references these generated wrapper types, update those imports and usages after regenerating your client:kaigan::types::RemainderStr->spl_collections::TrailingStrkaigan::types::RemainderVec<T>->spl_collections::TrailingVec<T>kaigan::types::U8PrefixString,U16PrefixString,U64PrefixString->spl_collections::U8PrefixedStr,U16PrefixedStr,U64PrefixedStrkaigan::types::U8PrefixVec<T>,U16PrefixVec<T>,U64PrefixVec<T>->spl_collections::U8PrefixedVec<T>,U16PrefixedVec<T>,U64PrefixedVec<T>serdeis no longer part of the default or recommended generated client surface. The previous default derives on wrapper types were misleading because theirserderepresentation does not match the Borsh/Wincode wire format.If you still want
serdederives for a separate JSON representation, you can opt in explicitly viatraitOptionsas shown below. This does not make the generated types serde-compatible with their Borsh/Wincode wire format, but you can define a handwritten implementation with your own serde mapping as needed.traitOptions: { baseDefaults: [ 'borsh::BorshSerialize', 'borsh::BorshDeserialize',featureFlags: {
},
}
#90
f214970Thanks @grod220! - Switch generated Rust code fromsolana_pubkey::Pubkeytosolana_address::Addressand update the default dependency set to newer Solana 3.x andborsh1.0 versions. This affects generated program IDs, account/instruction types, PDA helpers, and public key literals, so downstream users may need to update imports and pubkey usage after regenerating clients.