Skip to content

chore: bump sdk-libs versions to 0.23.0#2317

Open
ananas-block wants to merge 3 commits intomainfrom
chore/bump-versions-2
Open

chore: bump sdk-libs versions to 0.23.0#2317
ananas-block wants to merge 3 commits intomainfrom
chore/bump-versions-2

Conversation

@ananas-block
Copy link
Contributor

@ananas-block ananas-block commented Feb 28, 2026

Bumps all sdk-libs from 0.22.x to 0.23.0:

  • light-client, light-event
  • light-account, light-account-pinocchio
  • light-sdk, light-sdk-pinocchio, light-sdk-macros, light-sdk-types
  • light-token-types, light-token, light-token-pinocchio, light-compressed-token-sdk, light-token-client
  • light-program-test, light-instruction-decoder
  • light-instruction-decoder-derive (0.3.0 → 0.4.0)
  • photon-api (0.55.0 → 0.56.0)

Summary by CodeRabbit

  • Chores
    • Updated package versions across SDK libraries for consistency and maintenance.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 28, 2026

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • sdk-tests/csdk-anchor-full-derived-test/tests/integration_tests.rs is excluded by none and included by none

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

This PR performs a coordinated version bump across 17 SDK library packages. Most crates transition from 0.22.0 to 0.23.0, while instruction-decoder-derive bumps from 0.3.0 to 0.4.0, photon-api from 0.55.0 to 0.56.0, and token-sdk from 0.22.1 to 0.23.0.

Changes

Cohort / File(s) Summary
Cargo.toml Version Bumps
sdk-libs/account-pinocchio/Cargo.toml, sdk-libs/account/Cargo.toml, sdk-libs/client/Cargo.toml, sdk-libs/compressed-token-sdk/Cargo.toml, sdk-libs/event/Cargo.toml, sdk-libs/instruction-decoder/Cargo.toml, sdk-libs/macros/Cargo.toml, sdk-libs/program-test/Cargo.toml, sdk-libs/sdk-pinocchio/Cargo.toml, sdk-libs/sdk-types/Cargo.toml, sdk-libs/sdk/Cargo.toml, sdk-libs/token-client/Cargo.toml, sdk-libs/token-pinocchio/Cargo.toml, sdk-libs/token-types/Cargo.toml
Version updates from 0.22.0 to 0.23.0 across 14 SDK library packages.
Derive Macro Version Bump
sdk-libs/instruction-decoder-derive/Cargo.toml
Version update from 0.3.0 to 0.4.0.
API and Token SDK Version Updates
sdk-libs/photon-api/Cargo.toml, sdk-libs/token-sdk/Cargo.toml
photon-api bumped from 0.55.0 to 0.56.0; token-sdk bumped from 0.22.1 to 0.23.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • chore: bump lib versions #2293: Performs crate version bumps across the same sdk-libs Cargo.toml files (account, client, instruction-decoder, macros, token-sdk, etc.).
  • chore: bump lib versions #2203: Broad Cargo.toml version bumps on overlapping sdk-libs crates (client, event, instruction-decoder-derive, macros, program-test, sdk variants).
  • chore: bump lib versions #2272: Version-bump edits to the same Cargo.toml files (client, event, program-test, token-client).

Suggested labels

release

Suggested reviewers

  • sergeytimoshin
  • SwenSchaeferjohann

Poem

📦 The version dancers take the stage,
Numbers waltz from page to page,
From point-two-two to point-two-three,
A coordinated symphony—
Release notes write themselves with ease,
As SDK versions bump to please! 🎉

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The pull request title accurately and clearly summarizes the main change: a coordinated version bump across multiple sdk-libs packages from 0.22.x to 0.23.0, which aligns perfectly with the changeset.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/bump-versions-2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ananas-block ananas-block changed the title chore(libs): bump sdk-libs versions to 0.23.0 chore: bump sdk-libs versions to 0.23.0 Feb 28, 2026
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
sdk-libs/sdk/Cargo.toml (1)

30-30: 🧹 Nitpick | 🔵 Trivial

Consider making cpi-context depend on v2 feature.

Per coding guidelines, when using cpi-context, the v2 feature must also be enabled. Currently, if a user explicitly enables only cpi-context (e.g., default-features = false, features = ["cpi-context"]), they won't get v2. While v2 is the default, an explicit dependency would be more robust:

-cpi-context = ["light-sdk-types/cpi-context"]
+cpi-context = ["v2", "light-sdk-types/cpi-context"]

This prevents misconfigurations when users opt out of defaults. As per coding guidelines: "When using cpi-context feature, ensure the v2 feature is also enabled as it is a requirement."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@sdk-libs/sdk/Cargo.toml` at line 30, The cpi-context feature should require
the v2 feature to prevent users enabling cpi-context without v2; update the
Cargo.toml features entry for cpi-context (the cpi-context feature definition in
sdk-libs/sdk/Cargo.toml) so that the cpi-context feature list includes "v2" in
addition to "light-sdk-types/cpi-context" (i.e., make cpi-context depend on v2).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@sdk-libs/sdk/Cargo.toml`:
- Line 30: The cpi-context feature should require the v2 feature to prevent
users enabling cpi-context without v2; update the Cargo.toml features entry for
cpi-context (the cpi-context feature definition in sdk-libs/sdk/Cargo.toml) so
that the cpi-context feature list includes "v2" in addition to
"light-sdk-types/cpi-context" (i.e., make cpi-context depend on v2).

ℹ️ Review info

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b5f7f10 and 8087731.

⛔ Files ignored due to path filters (3)
  • Cargo.lock is excluded by !**/*.lock and included by none
  • Cargo.toml is excluded by none and included by none
  • scripts/sdk-libs-changed-since-tag.sh is excluded by none and included by none
📒 Files selected for processing (17)
  • sdk-libs/account-pinocchio/Cargo.toml
  • sdk-libs/account/Cargo.toml
  • sdk-libs/client/Cargo.toml
  • sdk-libs/compressed-token-sdk/Cargo.toml
  • sdk-libs/event/Cargo.toml
  • sdk-libs/instruction-decoder-derive/Cargo.toml
  • sdk-libs/instruction-decoder/Cargo.toml
  • sdk-libs/macros/Cargo.toml
  • sdk-libs/photon-api/Cargo.toml
  • sdk-libs/program-test/Cargo.toml
  • sdk-libs/sdk-pinocchio/Cargo.toml
  • sdk-libs/sdk-types/Cargo.toml
  • sdk-libs/sdk/Cargo.toml
  • sdk-libs/token-client/Cargo.toml
  • sdk-libs/token-pinocchio/Cargo.toml
  • sdk-libs/token-sdk/Cargo.toml
  • sdk-libs/token-types/Cargo.toml

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