diff --git a/Cargo.lock b/Cargo.lock index 88f496fd..78381f81 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -408,15 +408,16 @@ dependencies = [ [[package]] name = "blake3" -version = "1.8.2" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" +checksum = "2468ef7d57b3fb7e16b576e8377cdbde2320c60e1491e961d11da40fc4f02a2d" dependencies = [ "arrayref", "arrayvec 0.7.6", "cc", "cfg-if", "constant_time_eq", + "cpufeatures", ] [[package]] @@ -556,11 +557,11 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.12" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0b03af37dad7a14518b7691d81acb0f8222604ad3d1b02f6b4bed5188c0cd5" +checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48" dependencies = [ - "serde", + "serde_core", ] [[package]] @@ -669,12 +670,11 @@ dependencies = [ [[package]] name = "caps" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190baaad529bcfbde9e1a19022c42781bdb6ff9de25721abdb8fd98c0807730b" +checksum = "fd1ddba47aba30b6a889298ad0109c3b8dcb0e8fc993b459daa7067d46f865e0" dependencies = [ "libc", - "thiserror 1.0.69", ] [[package]] @@ -776,7 +776,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" dependencies = [ "ciborium-io", - "half 2.6.0", + "half 2.7.1", ] [[package]] @@ -890,9 +890,9 @@ dependencies = [ [[package]] name = "constant_time_eq" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" [[package]] name = "convert_case" @@ -991,9 +991,9 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array", "rand_core 0.6.4", @@ -1538,9 +1538,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.1.5" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" +checksum = "b375d6465b98090a5f25b1c7703f3859783755aa9a80433b36e0379a3ec2f369" dependencies = [ "crc32fast", "miniz_oxide", @@ -1658,9 +1658,9 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.9" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bb6743198531e02858aeaea5398fcc883e71851fcbcb5a2f773e2fb6cb1edf2" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", @@ -1762,12 +1762,13 @@ checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" [[package]] name = "half" -version = "2.6.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" dependencies = [ "cfg-if", "crunchy", + "zerocopy", ] [[package]] @@ -2627,7 +2628,7 @@ version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "507460a910eb7b32ee961886ff48539633b788a36b65692b95f225b844c82553" dependencies = [ - "regex-automata 0.4.13", + "regex-automata", ] [[package]] @@ -2656,9 +2657,9 @@ checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" [[package]] name = "libredox" -version = "0.1.9" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "391290121bad3d37fbddad76d8f5d1c1c314cfc646d143d7e07a3086ddff0ce3" +checksum = "3d0b95e02c851351f877147b7deea7b1afb1df71b63aa5f8270716e0c5720616" dependencies = [ "bitflags", "libc", @@ -2737,11 +2738,11 @@ checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" [[package]] name = "matchers" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" dependencies = [ - "regex-automata 0.1.10", + "regex-automata", ] [[package]] @@ -2877,12 +2878,11 @@ checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" [[package]] name = "nu-ansi-term" -version = "0.46.0" +version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "overload", - "winapi", + "windows-sys 0.61.2", ] [[package]] @@ -3057,12 +3057,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f50d9b3dabb09ecd771ad0aa242ca6894994c130308ca3d7684634df8037391" -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - [[package]] name = "p256" version = "0.13.2" @@ -3513,7 +3507,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" dependencies = [ "rand_chacha 0.9.0", - "rand_core 0.9.3", + "rand_core 0.9.4", ] [[package]] @@ -3533,7 +3527,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ "ppv-lite86", - "rand_core 0.9.3", + "rand_core 0.9.4", ] [[package]] @@ -3547,9 +3541,9 @@ dependencies = [ [[package]] name = "rand_core" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +checksum = "4f1b3bc831f92381018fd9c6350b917c7b21f1eed35a65a51900e0e55a3d7afa" dependencies = [ "getrandom 0.3.4", ] @@ -3560,7 +3554,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" dependencies = [ - "rand_core 0.9.3", + "rand_core 0.9.4", ] [[package]] @@ -3571,9 +3565,9 @@ checksum = "973443cf09a9c8656b574a866ab68dfa19f0867d0340648c7d2f6a71b8a8ea68" [[package]] name = "raw-cpuid" -version = "11.5.0" +version = "11.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6df7ab838ed27997ba19a4664507e6f82b41fe6e20be42929332156e5e85146" +checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186" dependencies = [ "bitflags", ] @@ -3646,19 +3640,10 @@ checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.13", + "regex-automata", "regex-syntax 0.8.8", ] -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", -] - [[package]] name = "regex-automata" version = "0.4.13" @@ -4290,11 +4275,14 @@ checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "slog" -version = "2.7.0" +version = "2.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8347046d4ebd943127157b94d63abb990fcf729dc4e9978927fdf4ac3c998d06" +checksum = "9b3b8565691b22d2bdfc066426ed48f837fc0c5f2c8cad8d9718f7f99d6995c1" dependencies = [ + "anyhow", "erased-serde", + "rustversion", + "serde_core", ] [[package]] @@ -4324,7 +4312,7 @@ dependencies = [ [[package]] name = "sol_rpc_canister" -version = "1.2.0" +version = "1.3.0" dependencies = [ "assert_matches", "candid", @@ -4368,7 +4356,7 @@ dependencies = [ [[package]] name = "sol_rpc_client" -version = "3.0.0" +version = "4.0.0" dependencies = [ "assert_matches", "bincode", @@ -4474,7 +4462,7 @@ dependencies = [ [[package]] name = "sol_rpc_types" -version = "3.0.0" +version = "3.1.0" dependencies = [ "base64 0.22.1", "bincode", @@ -4661,13 +4649,13 @@ dependencies = [ [[package]] name = "solana-blake3-hasher" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffa2e3bdac3339c6d0423275e45dafc5ac25f4d43bf344d026a3cc9a85e244a6" +checksum = "7116e1d942a2432ca3f514625104757ab8a56233787e95144c93950029e31176" dependencies = [ "blake3", - "solana-define-syscall 3.0.0", - "solana-hash 3.1.0", + "solana-define-syscall 4.0.1", + "solana-hash 4.0.1", ] [[package]] @@ -5051,13 +5039,13 @@ dependencies = [ [[package]] name = "solana-keccak-hasher" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57eebd3012946913c8c1b8b43cdf8a6249edb09c0b6be3604ae910332a3acd97" +checksum = "ed1c0d16d6fdeba12291a1f068cdf0d479d9bff1141bf44afd7aa9d485f65ef8" dependencies = [ "sha3", - "solana-define-syscall 3.0.0", - "solana-hash 3.1.0", + "solana-define-syscall 4.0.1", + "solana-hash 4.0.1", ] [[package]] @@ -5600,12 +5588,12 @@ dependencies = [ [[package]] name = "solana-secp256k1-recover" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "394a4470477d66296af5217970a905b1c5569032a7732c367fb69e5666c8607e" +checksum = "9de18cfdab99eeb940fbedd8c981fa130c0d76252da75d05446f22fae8b51932" dependencies = [ "k256", - "solana-define-syscall 3.0.0", + "solana-define-syscall 4.0.1", "thiserror 2.0.17", ] @@ -6823,12 +6811,12 @@ dependencies = [ [[package]] name = "tracing-appender" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf" +checksum = "786d480bce6247ab75f005b14ae1624ad978d3029d9113f0a22fa1ac773faeaf" dependencies = [ "crossbeam-channel", - "thiserror 1.0.69", + "thiserror 2.0.17", "time", "tracing-subscriber", ] @@ -6877,14 +6865,14 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.19" +version = "0.3.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" +checksum = "2f30143827ddab0d256fd843b7a66d164e9f271cfa0dde49142c5ca0ca291f1e" dependencies = [ "matchers", "nu-ansi-term", "once_cell", - "regex", + "regex-automata", "serde", "serde_json", "sharded-slab", @@ -7196,9 +7184,9 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee3e3b5f5e80bc89f30ce8d0343bf4e5f12341c51f3e26cbeecbc7c85443e85b" +checksum = "36a29fc0408b113f68cf32637857ab740edfafdf460c326cd2afaa2d84cc05dc" dependencies = [ "rustls-pki-types", ] diff --git a/Cargo.toml b/Cargo.toml index 1e321926..10a73cca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,6 +61,8 @@ serde_bytes = "0.11.19" serde_json = "1.0.149" serde_tuple = "1.1.3" serde_with = "3.16.1" +sol_rpc_client = { version = "4.0.0", path = "libs/client" } +sol_rpc_types = { version = "3.1.0", path = "libs/types" } solana-account = "3.3.0" solana-account-decoder-client-types = "3.1.6" solana-client = "3.1.6" diff --git a/canister/CHANGELOG.md b/canister/CHANGELOG.md index 76d2f483..f1149aa6 100644 --- a/canister/CHANGELOG.md +++ b/canister/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.0] - 2026-01-12 + +### Changed + +- Update `ic-cdk` to v0.19.0 ([#251](https://github.com/dfinity/sol-rpc-canister/pull/251)) +- Upgrade various dependencies ([#260](https://github.com/dfinity/sol-rpc-canister/pull/260)) + +### Fixed + +- Do not ignore `response_size_estimate` for `getBlock` endpoint ([#236](https://github.com/dfinity/sol-rpc-canister/pull/236)) + ## [1.2.0] - 2025-08-29 ### Changed @@ -70,6 +81,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Set `maxSupportedTransactionVersion` to zero for end-to-end tests ([#85](https://github.com/dfinity/sol-rpc-canister/pull/85)) - End-to-end tests ([#20](https://github.com/dfinity/sol-rpc-canister/pull/20) and [#45](https://github.com/dfinity/sol-rpc-canister/pull/45)) +[1.3.0]: https://github.com/dfinity/sol-rpc-canister/compare/sol_rpc_canister-v1.2.0...sol_rpc_canister-v1.3.0 [1.2.0]: https://github.com/dfinity/sol-rpc-canister/compare/sol_rpc_canister-v1.1.0...sol_rpc_canister-v1.2.0 [1.1.0]: https://github.com/dfinity/sol-rpc-canister/compare/v1.0.0...sol_rpc_canister-v1.1.0 [1.0.0]: https://github.com/dfinity/sol-rpc-canister/compare/v0.2.0...v1.0.0 diff --git a/canister/Cargo.toml b/canister/Cargo.toml index 429467b5..154d907e 100644 --- a/canister/Cargo.toml +++ b/canister/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sol_rpc_canister" -version = "1.2.0" +version = "1.3.0" description = "Interact with the Solana blockchain from the Internet Computer." authors.workspace = true edition.workspace = true @@ -41,7 +41,7 @@ serde = { workspace = true } serde_json = { workspace = true } serde_tuple = { workspace = true } serde_with = { workspace = true } -sol_rpc_types = { path = "../libs/types" } +sol_rpc_types = { workspace = true } solana-account = { workspace = true, features = ["serde"] } solana-account-decoder-client-types = { workspace = true } solana-clock = { workspace = true } diff --git a/libs/client/CHANGELOG.md b/libs/client/CHANGELOG.md index 721eae00..9e736b7e 100644 --- a/libs/client/CHANGELOG.md +++ b/libs/client/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.0.0] - 2026-01-12 + +### Changed + +- Use `ic_canister_runtime::Runtime` instead of local `Runtime` trait ([#248](https://github.com/dfinity/sol-rpc-canister/pull/248)) +- **BREAKING:** Bump `ic-cdk` to v0.19.0. See PR description for more details on the breaking changes. ([#251](https://github.com/dfinity/sol-rpc-canister/pull/251)) +- Upgrade various dependencies ([#260](https://github.com/dfinity/sol-rpc-canister/pull/260)) + +### Fixed + +- **BREAKING:** Calculate default request cost before sending. See PR description for more details on the breaking changes. ([#256](https://github.com/dfinity/sol-rpc-canister/pull/256)) + +[4.0.0]: https://github.com/dfinity/sol-rpc-canister/compare/3.0.0..4.0.0 + ## [3.0.0] - 2025-08-29 ### Changed diff --git a/libs/client/Cargo.toml b/libs/client/Cargo.toml index f9179109..c43b295a 100644 --- a/libs/client/Cargo.toml +++ b/libs/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sol_rpc_client" -version = "3.0.0" +version = "4.0.0" description = "Client to interact with the SOL RPC canister" authors.workspace = true edition.workspace = true @@ -30,7 +30,7 @@ ic-ed25519 = { workspace = true, optional = true } ic-management-canister-types = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -sol_rpc_types = { version = "3.0.0", path = "../types" } +sol_rpc_types = { workspace = true } solana-account-decoder-client-types = { workspace = true, features = ["zstd"] } solana-hash = { workspace = true } solana-instruction = { workspace = true } diff --git a/libs/types/CHANGELOG.md b/libs/types/CHANGELOG.md index 1d9df1f8..8d18a52b 100644 --- a/libs/types/CHANGELOG.md +++ b/libs/types/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.1.0] - 2026-01-12 + +### Changed + +- Bump `ic-cdk` to v0.19.0 ([#251](https://github.com/dfinity/sol-rpc-canister/pull/251)) +- Upgrade various dependencies ([#260](https://github.com/dfinity/sol-rpc-canister/pull/260)) + +[3.1.0]: https://github.com/dfinity/sol-rpc-canister/compare/3.0.0..3.1.0 + ## [3.0.0] - 2025-08-29 ### Changed diff --git a/libs/types/Cargo.toml b/libs/types/Cargo.toml index 6331ce35..d117f3ad 100644 --- a/libs/types/Cargo.toml +++ b/libs/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sol_rpc_types" -version = "3.0.0" +version = "3.1.0" description = "Candid types used by the SOL RPC canister" authors.workspace = true edition.workspace = true