Skip to content

Commit

Permalink
chore: release ic-cdk v0.13.0 (#469)
Browse files Browse the repository at this point in the history
* chore: release ic-cdk v0.13.0

* chore: ic-ledger-types v0.10.0
  • Loading branch information
lwshang authored Mar 1, 2024
1 parent bbd6339 commit 406e8aa
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ opt-level = 'z'

[workspace.dependencies]
ic0 = { path = "src/ic0", version = "0.21.1" }
ic-cdk = { path = "src/ic-cdk", version = "0.12.1" }
ic-cdk = { path = "src/ic-cdk", version = "0.13.0" }
ic-cdk-timers = { path = "src/ic-cdk-timers", version = "0.6.0" }

candid = "0.10.4"
Expand Down
5 changes: 5 additions & 0 deletions library/ic-ledger-types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.10.0] - 2024-03-01

### Changed
- Upgrade `ic-cdk` to v0.13.

## [0.9.0] - 2023-11-23

### Changed
Expand Down
2 changes: 1 addition & 1 deletion library/ic-ledger-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-ledger-types"
version = "0.9.0"
version = "0.10.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions src/ic-cdk-macros/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.8.5] - 2024-03-01

### Added

- Allow setting decoding quota for canister endpoints and inter-canister calls. (#465)

## [0.8.4] - 2024-01-12

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/ic-cdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-cdk-macros"
version = "0.8.4" # no need to sync with ic-cdk
version = "0.8.5" # no need to sync with ic-cdk
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand Down
8 changes: 5 additions & 3 deletions src/ic-cdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.13.0] - 2024-03-01

### Added

- Add `is_recovering_from_trap` function for implementing trap cleanup logic
- Allow setting decoding quota for canister endpoints and inter-canister calls.
- Add `is_recovering_from_trap` function for implementing trap cleanup logic. (#456)
- Allow setting decoding quota for canister endpoints and inter-canister calls. (#465)
* When defining canister endpoints, we add the following attributes: `#[update(decoding_quota = 10000, skipping_quota = 100, debug = true)]`
- `skipping_quota` limits the amount of work allowed for skipping unneeded data on the wire. If this attributes is not present, we set a default quota of `10_000`. This affects ALL existing canisters, and is mainly used to improve canister throughput. See [docs on the Candid library](https://docs.rs/candid/latest/candid/de/struct.DecoderConfig.html#method.set_skipping_quota) to understand the skipping cost.
- `decoding_quota` limits the total amount of work the deserializer can perform. See [docs on the Candid library](https://docs.rs/candid/latest/candid/de/struct.DecoderConfig.html#method.set_decoding_quota) to understand the cost model.
Expand All @@ -18,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- `ic_cdk::api::call::arg_data` takes `ArgDecoderConfig` as argument.
- `ic_cdk::api::call::arg_data` takes `ArgDecoderConfig` as argument. (#465)

## [0.12.1] - 2024-01-12

Expand Down
4 changes: 2 additions & 2 deletions src/ic-cdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-cdk"
version = "0.12.1"
version = "0.13.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
Expand All @@ -22,7 +22,7 @@ include = ["src", "Cargo.toml", "LICENSE", "README.md"]
[dependencies]
candid.workspace = true
ic0.workspace = true
ic-cdk-macros = { path = "../ic-cdk-macros", version = "0.8.4" }
ic-cdk-macros = { path = "../ic-cdk-macros", version = "0.8.5" }
serde.workspace = true
serde_bytes.workspace = true
slotmap = { workspace = true, optional = true }
Expand Down

0 comments on commit 406e8aa

Please sign in to comment.