Skip to content

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

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

chore(deps-dev): bump @codama/renderers-rust from 1.2.9 to 3.1.0#102
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:34
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 18, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

Compute Unit Report

Instruction Samples Min CUs Max CUs Avg CUs Est Cost (Low) [SOL] Est Cost (Med) [SOL] Est Cost (High) [SOL]
cancel_subscription 11 1793 2106 1991 0.000005000 0.000005079 0.000005995
close_subscription_authority 7 1853 1886 1857 0.000005000 0.000005074 0.000005928
create_fixed_delegation 38 3603 8108 4387 0.000005001 0.000005175 0.000007193
create_plan 84 3521 17034 5292 0.000005001 0.000005211 0.000007646
create_recurring_delegation 27 3630 11135 4914 0.000005001 0.000005196 0.000007457
delete_plan 8 412 412 412 0.000005000 0.000005016 0.000005206
init_subscription_authority 142 8931 22848 12667 0.000005003 0.000005506 0.000011333
revoke_delegation 19 321 575 416 0.000005000 0.000005016 0.000005208
subscribe 21 6632 12658 8286 0.000005002 0.000005331 0.000009143
transfer_fixed 6 10070 17573 11822 0.000005003 0.000005472 0.000010911
transfer_recurring 17 10185 16278 11982 0.000005003 0.000005479 0.000010991
transfer_subscription 10 10399 17938 13293 0.000005003 0.000005531 0.000011646
update_plan 21 423 502 475 0.000005000 0.000005019 0.000005237

Generated: 2026-05-18

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 0d85da9 to f2aae4e Compare May 18, 2026 21:32
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 19, 2026

Looks like @codama/renderers-rust is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this May 19, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/codama/renderers-rust-3.1.0 branch May 19, 2026 12:51
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