Update Codama and regenerate clients#72
Merged
Merged
Conversation
1c3c97b to
df5effe
Compare
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 bumps Codama and its JS/Rust renderers to the latest versions (
codama1.6,@codama/renderers-js2.2,@codama/renderers-rust3.1) and converges the generation setup from a bespoke zx script to a standardcodama.mjsconfig, removing the hand-writtenscripts/generate-clients.mjs(the separategenerate-idl.mjsshank step is unchanged).It regenerates the clients, reconciling the generated output, configuration, and dependencies accordingly. The Rust client now depends on
solana-address(replacingsolana-pubkey) with its Solana crates bumped to v3 andborshto 1.0; serde support is dropped from the generated client to match the converged fleet. On the JS side, the client moves to@solana/kitv6.