Skip to content

Commit 0b55412

Browse files
mraszykclaude
andauthored
chore: release ic-management-canister-types v0.9.0 (#11126)
Bump the crate version to 0.9.0 and close out the CHANGELOG's [Unreleased] section, which collects since v0.8.0: - the `PATCH` variant of `HttpMethod` - `minimum_incoming_canister_call_cycles` in `CanisterSettings` and `DefiniteCanisterSettings` - `status_visibility` (and the `StatusVisibility` type) in `CanisterSettings` and `DefiniteCanisterSettings` - a doc fix for the cap on `CanisterSettings::wasm_memory_threshold` - clarify that canister log filter ranges are half-open New public struct fields are a breaking change, hence the minor bump. --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent a518114 commit 0b55412

5 files changed

Lines changed: 59 additions & 42 deletions

File tree

Cargo.lock

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ic-management-canister-types/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rust_library(
99
proc_macro_deps = [
1010
"@crate_index//:strum_macros",
1111
],
12-
version = "0.8.0",
12+
version = "0.9.0",
1313
deps = [
1414
# Keep sorted.
1515
"@crate_index//:candid",

packages/ic-management-canister-types/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.9.0] - 2026-08-13
11+
1012
### Added
1113

1214
- Added the `PATCH` variant to the `HttpMethod` enum used by canister HTTPS outcalls (`http_request`). The variant is plumbed through the type but not yet enabled on replicated subnets.
@@ -17,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1719
### Changed
1820

1921
- Doc: `CanisterSettings::wasm_memory_threshold` is capped at 2<sup>48</sup> (i.e., 256TB), not 2<sup>64</sup>-1.
22+
- Doc: the `CanisterLogFilter` variants filter on the half-open range `[start, end)`; `end` is exclusive, not inclusive.
2023

2124
## [0.8.0] - 2026-05-13
2225

packages/ic-management-canister-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ic-management-canister-types"
3-
version = "0.8.0"
3+
version = "0.9.0"
44
authors.workspace = true
55
edition.workspace = true
66
description = "Types for calling the IC management canister"

packages/ic-management-canister-types/src/lib.rs

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,12 +1802,26 @@ pub enum SnapshotDataOffset {
18021802
CandidType, Serialize, Deserialize, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone,
18031803
)]
18041804
pub enum CanisterLogFilter {
1805-
/// Filter logs by index range (inclusive).
1805+
/// Filter logs by index range `[start, end)`.
18061806
#[serde(rename = "by_idx")]
1807-
ByIdx { start: u64, end: u64 },
1808-
/// Filter logs by timestamp range (inclusive).
1807+
ByIdx {
1808+
/// Start of the range (inclusive).
1809+
start: u64,
1810+
/// End of the range (exclusive).
1811+
///
1812+
/// If `end <= start`, the range is empty.
1813+
end: u64,
1814+
},
1815+
/// Filter logs by timestamp range `[start, end)`.
18091816
#[serde(rename = "by_timestamp_nanos")]
1810-
ByTimestampNanos { start: u64, end: u64 },
1817+
ByTimestampNanos {
1818+
/// Start of the range (inclusive).
1819+
start: u64,
1820+
/// End of the range (exclusive).
1821+
///
1822+
/// If `end <= start`, the range is empty.
1823+
end: u64,
1824+
},
18111825
}
18121826

18131827
/// # Fetch Canister Logs Args.

0 commit comments

Comments
 (0)