Skip to content

chore(deps-dev): bump @codama/renderers-rust from 1.2.9 to 3.1.0#61

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/codama/renderers-rust-3.1.0
Open

chore(deps-dev): bump @codama/renderers-rust from 1.2.9 to 3.1.0#61
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/codama/renderers-rust-3.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 18, 2026

Bumps @codama/renderers-rust from 1.2.9 to 3.1.0.

Release notes

Sourced from @​codama/renderers-rust's releases.

v3.1.0

Minor Changes

v3.0.0

Major Changes

  • #92 4af6c06 Thanks @​grod220! - Removed default serde support and replaced kaigan with spl-collections

    BREAKING CHANGES:

    • Generated variable-sized string/vector wrappers now come from spl-collections instead of kaigan. 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::TrailingStr
      • kaigan::types::RemainderVec<T> -> spl_collections::TrailingVec<T>
      • kaigan::types::U8PrefixString, U16PrefixString, U64PrefixString -> spl_collections::U8PrefixedStr, U16PrefixedStr, U64PrefixedStr
      • kaigan::types::U8PrefixVec<T>, U16PrefixVec<T>, U64PrefixVec<T> -> spl_collections::U8PrefixedVec<T>, U16PrefixedVec<T>, U64PrefixedVec<T>
    • serde is no longer part of the default or recommended generated client surface. The previous default derives on wrapper types were misleading because their serde representation does not match the Borsh/Wincode wire format.

    • If you still want serde derives for a separate JSON representation, you can opt in explicitly via traitOptions as 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',
    •   'serde::Serialize',
      
    •   'serde::Deserialize',
        'Clone',
        'Debug',
        'Eq',
        'PartialEq',
      ],
      
    • featureFlags: {

    •   serde: ['serde::Serialize', 'serde::Deserialize'],
      
    • }, }

      
      
  • #90 f214970 Thanks @​grod220! - Switch generated Rust code from solana_pubkey::Pubkey to solana_address::Address and update the default dependency set to newer Solana 3.x and borsh 1.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.

v2.0.1

Patch Changes

v2.0.0

... (truncated)

Changelog

Sourced from @​codama/renderers-rust's changelog.

3.1.0

Minor Changes

3.0.0

Major Changes

  • #92 4af6c06 Thanks @​grod220! - Removed default serde support and replaced kaigan with spl-collections

    BREAKING CHANGES:

    • Generated variable-sized string/vector wrappers now come from spl-collections instead of kaigan. 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::TrailingStr
      • kaigan::types::RemainderVec<T> -> spl_collections::TrailingVec<T>
      • kaigan::types::U8PrefixString, U16PrefixString, U64PrefixString -> spl_collections::U8PrefixedStr, U16PrefixedStr, U64PrefixedStr
      • kaigan::types::U8PrefixVec<T>, U16PrefixVec<T>, U64PrefixVec<T> -> spl_collections::U8PrefixedVec<T>, U16PrefixedVec<T>, U64PrefixedVec<T>
    • serde is no longer part of the default or recommended generated client surface. The previous default derives on wrapper types were misleading because their serde representation does not match the Borsh/Wincode wire format.
    • If you still want serde derives for a separate JSON representation, you can opt in explicitly via traitOptions as 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',
    +     'serde::Serialize',
    +     'serde::Deserialize',
          'Clone',
          'Debug',
          'Eq',
          'PartialEq',
        ],
    +   featureFlags: {
    +     serde: ['serde::Serialize', 'serde::Deserialize'],
    +   },
      }
  • #90 f214970 Thanks @​grod220! - Switch generated Rust code from solana_pubkey::Pubkey to solana_address::Address and update the default dependency set to newer Solana 3.x and borsh 1.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.

2.0.1

Patch Changes

2.0.0

Major Changes

... (truncated)

Commits
  • 093be40 Publish package (#98)
  • 7d95022 chore: Use solana-rpc-client crate which is minimal (#94)
  • 0a65cc6 Publish package (#91)
  • 4af6c06 Deprecate default serde & add spl-collections (#92)
  • f214970 Migrate from solana-pubkey to solana-address (#90)
  • a7b322a Publish package (#89)
  • 6477636 chore: resolve io_other_error and uninlined_format_args warnings for rust 1.8...
  • bcaed69 Publish package (#86)
  • 44dacca Refactor renderVisitor to use crateFolder as primary argument (#85)
  • f0fbbb0 Sync Cargo.toml when generating code (#70)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 18, 2026
@dependabot dependabot Bot requested a review from dev-jodee as a code owner May 18, 2026 17:49
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 18, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/codama/renderers-rust-3.1.0 branch from 9a3a8a2 to 13b90e7 Compare May 18, 2026 18:04
Bumps [@codama/renderers-rust](https://github.com/codama-idl/renderers-rust) from 1.2.9 to 3.1.0.
- [Release notes](https://github.com/codama-idl/renderers-rust/releases)
- [Changelog](https://github.com/codama-idl/renderers-rust/blob/main/CHANGELOG.md)
- [Commits](codama-idl/renderers-rust@v1.2.9...v3.1.0)

---
updated-dependencies:
- dependency-name: "@codama/renderers-rust"
  dependency-version: 3.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/codama/renderers-rust-3.1.0 branch from 13b90e7 to 9cab050 Compare May 18, 2026 18:25
dev-jodee added a commit that referenced this pull request May 18, 2026
…r group)

Replaces dependabot PRs:
- #45 cargo-non-major group (borsh, solana-security-txt, solana-pubkey,
  solana-address, solana-account-info, solana-program-error,
  solana-system-interface)
- #49 litesvm 0.9.0 -> 0.11.0
- #53 codama 0.7.4 -> 0.9.2 (IDL regen adds "events": [])

Also bumps spl-token-2022 10.0.0 -> 11.0.0 to match updated
solana-nullable types pulled by transitive solana-* deps.

Pinocchio bumps (#46, #50, #52, #54, #55) and solana-account 4.0
(#48) excluded: pinocchio 0.10 -> 0.11 needs AccountView API
migration across program/* and tests, solana-account 4.0 conflicts
with solana-client 3.x (only available at 4.0.0-rc).

codama renderer JS/Rust majors (#60, #61) and npm-non-major (#56)
excluded: require kit-plugin client migration + codegen script
updates beyond a dep bump.
dev-jodee added a commit that referenced this pull request May 18, 2026
…r group)

Replaces dependabot PRs:
- #45 cargo-non-major group (borsh, solana-security-txt, solana-pubkey,
  solana-address, solana-account-info, solana-program-error,
  solana-system-interface)
- #49 litesvm 0.9.0 -> 0.11.0
- #53 codama 0.7.4 -> 0.9.2 (IDL regen adds "events": [])

Also bumps spl-token-2022 10.0.0 -> 11.0.0 to match updated
solana-nullable types pulled by transitive solana-* deps.

Pinocchio bumps (#46, #50, #52, #54, #55) and solana-account 4.0
(#48) excluded: pinocchio 0.10 -> 0.11 needs AccountView API
migration across program/* and tests, solana-account 4.0 conflicts
with solana-client 3.x (only available at 4.0.0-rc).

codama renderer JS/Rust majors (#60, #61) and npm-non-major (#56)
excluded: require kit-plugin client migration + codegen script
updates beyond a dep bump.
dev-jodee added a commit that referenced this pull request May 18, 2026
…r group) (#62)

Replaces dependabot PRs:
- #45 cargo-non-major group (borsh, solana-security-txt, solana-pubkey,
  solana-address, solana-account-info, solana-program-error,
  solana-system-interface)
- #49 litesvm 0.9.0 -> 0.11.0
- #53 codama 0.7.4 -> 0.9.2 (IDL regen adds "events": [])

Also bumps spl-token-2022 10.0.0 -> 11.0.0 to match updated
solana-nullable types pulled by transitive solana-* deps.

Pinocchio bumps (#46, #50, #52, #54, #55) and solana-account 4.0
(#48) excluded: pinocchio 0.10 -> 0.11 needs AccountView API
migration across program/* and tests, solana-account 4.0 conflicts
with solana-client 3.x (only available at 4.0.0-rc).

codama renderer JS/Rust majors (#60, #61) and npm-non-major (#56)
excluded: require kit-plugin client migration + codegen script
updates beyond a dep bump.

Co-authored-by: Jo D <dev-jodee@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants