Skip to content

build: update dependencies#279

Merged
gregorydemay merged 10 commits intomainfrom
gdemay/update-libs
Feb 10, 2026
Merged

build: update dependencies#279
gregorydemay merged 10 commits intomainfrom
gdemay/update-libs

Conversation

@gregorydemay
Copy link
Contributor

@gregorydemay gregorydemay commented Feb 9, 2026

Update all dependencies by running cargo update and then manually bumping major versions whenever possible. The main updates are:

  • canhttp to 0.5.0 must handle the new error type for batch requests ConsistentResponseIdFilterError::InconsistentBatchIds
  • ic-stable-structures to 0.7.2. This includes breaking changes from 0.7.0
    • Must implement a new method into_bytes for stable structures.
    • Some methods no longer a Result so that various unwrap/expect are no longer necessary.
  • pocket-ic to 12.0.0
  • sol_rpc_client to 0.4.0 (for the example): requires adding a dependency on ic-canister-runtime since IcRuntime was moved to a separate crate.

@gregorydemay gregorydemay marked this pull request as ready for review February 10, 2026 09:39
@gregorydemay gregorydemay requested a review from a team as a code owner February 10, 2026 09:39
Copy link
Contributor

@lpahlavi lpahlavi left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the PR! Do you think you could also upgrade the solana-* crates that have a new major version? There's a couple like solana-pubkey and solana-reward-info.

@gregorydemay
Copy link
Contributor Author

gregorydemay commented Feb 10, 2026

Thanks a lot for the PR! Do you think you could also upgrade the solana-* crates that have a new major version? There's a couple like solana-pubkey and solana-reward-info.

Good point! I updated the Solana dependencies, excepted for solana-reward-info which stays at 3.0.0 due to transitive dependencies of solana-rpc-client-api. I also cannot update solana-account due to the RPC API not being at the latest version.

@gregorydemay gregorydemay merged commit 2180532 into main Feb 10, 2026
36 of 42 checks passed
@gregorydemay gregorydemay deleted the gdemay/update-libs branch February 10, 2026 14:30
@lpahlavi lpahlavi mentioned this pull request Feb 18, 2026
lpahlavi added a commit that referenced this pull request Feb 18, 2026
## 🤖 New release

* `sol_rpc_types`: 3.1.0 -> 3.1.1
* `sol_rpc_canister`: 1.3.0 -> 1.3.1
* `sol_rpc_client`: 4.0.0 -> 5.0.0

<details><summary><i><b>Changelog</b></i></summary><p>

## `sol_rpc_types`

<blockquote>

## [3.1.1] - 2026-02-18

### Changed

- Upgrade various dependencies
([#266](#266) and
[#279](#279))

[3.1.1]:
https://github.com/dfinity/sol-rpc-canister/compare/sol_rpc_types-v3.1.0..sol_rpc_types-v3.1.1
</blockquote>

## `sol_rpc_canister`

<blockquote>

## [1.3.1] - 2026-02-18

### Changed

- Upgrade various dependencies
([#266](#266) and
[#279](#279))

[1.3.1]:
sol_rpc_canister-v1.3.0...sol_rpc_canister-v1.3.1
</blockquote>

## `sol_rpc_client`

<blockquote>

## [5.0.0] - 2026-02-18

### Changed

- **BREAKING:** Bump `ic-canister-runtime` to v0.2.0. See PR description
for more details on the breaking changes. Notably, clients instances
created with `SolRpcClient::builder_for_ic()` now by default do **not**
perform inter-canister calls if the canister performing the calls is
stopping. To enable calls while the canister is stopping, the client can
be initialized with a custom
[`ic_canister_runtime::IcRuntime`](https://docs.rs/ic-canister-runtime/0.2.0/ic_canister_runtime/struct.IcRuntime.html)
instance configured to allow such calls with the
[`allow_calls_when_stopping`](https://docs.rs/ic-canister-runtime/0.2.0/ic_canister_runtime/struct.IcRuntime.html#method.allow_calls_when_stopping)
method. ([#288](#288))
- Upgrade various dependencies
([#266](#266) and
[#279](#279))

[5.0.0]:
https://github.com/dfinity/sol-rpc-canister/compare/sol_rpc_client-v4.0.0..sol_rpc_client-v5.0.0
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Louis Pahlavi <louis.pahlavi@dfinity.org>
Co-authored-by: Louis Pahlavi <louis.pahlavi@gmail.com>
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.

2 participants