diff --git a/Cargo.lock b/Cargo.lock index 830fc1d..37f26c0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -233,9 +233,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" [[package]] name = "cached" @@ -296,7 +296,7 @@ dependencies = [ [[package]] name = "canhttp" -version = "0.3.0" +version = "0.4.0" dependencies = [ "assert_matches", "candid", @@ -345,9 +345,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.45" +version = "1.2.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35900b6c8d709fb1d854671ae27aeaa9eec2f8b01b364e1619a40da3e6fe2afe" +checksum = "b97463e1064cb1b1c1384ad0a0b9c8abd0988e2a91f52606c80ef14aadb63e36" dependencies = [ "find-msvc-tools", "shlex", @@ -794,9 +794,9 @@ checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" [[package]] name = "find-msvc-tools" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" [[package]] name = "flate2" @@ -982,9 +982,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.16.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] name = "heck" @@ -1077,9 +1077,9 @@ checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "hyper" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1744436df46f0bde35af3eda22aeaba453aada65d8f1c171cd8a5f59030bd69f" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ "atomic-waker", "bytes", @@ -1117,9 +1117,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8" +checksum = "52e9a2a24dc5c6821e71a7030e1e14b7b632acac55c40e9d2e082c621261bb56" dependencies = [ "base64 0.22.1", "bytes", @@ -1539,12 +1539,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.12.0" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6717a8d2a5a929a1a2eb43a12812498ed141a0bcfb7e8f7844fbdbe4303bba9f" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ "equivalent", - "hashbrown 0.16.0", + "hashbrown 0.16.1", ] [[package]] @@ -2233,9 +2233,9 @@ dependencies = [ [[package]] name = "rangemap" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93e7e49bb0bf967717f7bd674458b3d6b0c5f48ec7e3038166026a69fc22223" +checksum = "acbbbbea733ec66275512d0b9694f34102e7d5406fdbe2ad8d21b28dce92887c" [[package]] name = "redox_syscall" @@ -3618,18 +3618,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.27" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c" +checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.27" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831" +checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" dependencies = [ "proc-macro2", "quote", diff --git a/canhttp/CHANGELOG.md b/canhttp/CHANGELOG.md index 4df96a5..8de05d7 100644 --- a/canhttp/CHANGELOG.md +++ b/canhttp/CHANGELOG.md @@ -5,6 +5,23 @@ 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). +## [0.4.0] - 2025-11-21 + +### Added + +- Add `JsonRpcHttpLayer` which combines the `HttpConversionLayer`, `JsonConversionLayer` and `ConsistentJsonRpcIdFilter` middlewares into a single convenient-to-use layer ([#46](https://github.com/dfinity/canhttp/pull/46)) +- Add example canisters demonstrating JSON-RPC functionalities and parallel calls ([#48](https://github.com/dfinity/canhttp/pull/48)) + +### Changed + +- Bump `ic-cdk` to v0.19.0 ([#40](https://github.com/dfinity/canhttp/pull/40)) + +### Fixed + +- Missing optional dependency on `serde` for `multi` feature ([#47](https://github.com/dfinity/canhttp/pull/47)) + +[0.4.0]: https://github.com/dfinity/canhttp/compare/canhttp-0.3.0..canhttp-0.4.0 + ## [0.3.0] - 2025-10-08 ### Added diff --git a/canhttp/Cargo.toml b/canhttp/Cargo.toml index 5cca628..c494a8c 100644 --- a/canhttp/Cargo.toml +++ b/canhttp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "canhttp" -version = "0.3.0" +version = "0.4.0" description = "Rust library to issue HTTPs outcalls from a canister on the Internet Computer" license.workspace = true readme.workspace = true diff --git a/ic-agent-canister-runtime/CHANGELOG.md b/ic-agent-canister-runtime/CHANGELOG.md index b7e3f52..7f2c8d9 100644 --- a/ic-agent-canister-runtime/CHANGELOG.md +++ b/ic-agent-canister-runtime/CHANGELOG.md @@ -5,4 +5,10 @@ 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). -## Unreleased \ No newline at end of file +## [0.1.0] - 2025-11-21 + +### Added + +- Add `AgentRuntime` ([#36](https://github.com/dfinity/canhttp/pull/36)) + +[0.1.0]: https://github.com/dfinity/canhttp/releases/tag/ic-agent-canister-runtime-v0.1.0 diff --git a/ic-canister-runtime/CHANGELOG.md b/ic-canister-runtime/CHANGELOG.md index b7e3f52..5cd7fa4 100644 --- a/ic-canister-runtime/CHANGELOG.md +++ b/ic-canister-runtime/CHANGELOG.md @@ -5,4 +5,14 @@ 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). -## Unreleased \ No newline at end of file +## [0.1.0] - 2025-11-21 + +### Added + +- Add helper methods to `CyclesWalletRuntime` ([#44](https://github.com/dfinity/canhttp/pull/44)) +- Add READMEs and examples ([#42](https://github.com/dfinity/canhttp/pull/42)) +- Add `StubRuntime` ([#41](https://github.com/dfinity/canhttp/pull/41)) +- Add `CyclesWalletRuntime` ([#37](https://github.com/dfinity/canhttp/pull/37)) +- Add `Runtime` crate and `IcRuntime` implementation ([#35](https://github.com/dfinity/canhttp/pull/35)) + +[0.1.0]: https://github.com/dfinity/canhttp/releases/tag/ic-canister-runtime-v0.1.0 diff --git a/ic-pocket-canister-runtime/CHANGELOG.md b/ic-pocket-canister-runtime/CHANGELOG.md index b7e3f52..ec0a4ac 100644 --- a/ic-pocket-canister-runtime/CHANGELOG.md +++ b/ic-pocket-canister-runtime/CHANGELOG.md @@ -5,4 +5,12 @@ 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). -## Unreleased \ No newline at end of file +## [0.1.0] - 2025-11-21 + +### Added + +- Add `ExecuteHttpOutcallMocks` trait and support for PocketIC live mode ([#43](https://github.com/dfinity/canhttp/pull/43)) +- Add READMEs and examples ([#42](https://github.com/dfinity/canhttp/pull/42)) +- Add `PocketIcRuntime` and mock HTTP mock infrastructure ([#38](https://github.com/dfinity/canhttp/pull/38)) + +[0.1.0]: https://github.com/dfinity/canhttp/releases/tag/ic-pocket-canister-runtime-v0.1.0