Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# UNRELEASED

# 0.33.0

### feat!: asset canister evidence and state hash length-prefix every variable-length field

The encoding hashed for the evidence of a proposed batch, and for the state hash, now
Expand Down Expand Up @@ -36,8 +38,9 @@ newly created project. The templates now ask for exactly 1.1.3.

### Frontend canister

- Module hash: 3fffda14c040852d76ca3c5e6423ae2ece73176254dbb2a1b15e963891e817e1
- Module hash: 5a11daf17bc04059c3f3b570784ce07353fe5d7a6365c3db205de0cde13b3585
- https://github.com/dfinity/sdk/pull/4545
- https://github.com/dfinity/sdk/pull/4547

# 0.32.0

Expand Down
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 @@ -27,7 +27,7 @@ candid = "0.10.18"
candid_parser = "0.3.0"
dfx-core = { path = "src/dfx-core", version = "0.4.0" }
ic-agent = "0.47.3"
ic-asset = { path = "src/canisters/frontend/ic-asset", version = "0.29.0" }
ic-asset = { path = "src/canisters/frontend/ic-asset", version = "0.30.0" }
ic-cdk = "0.19.0-beta.2"
ic-identity-hsm = "0.47.3"
ic-utils = "0.47.3"
Expand Down
2 changes: 1 addition & 1 deletion src/canisters/frontend/ic-asset/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-asset"
version = "0.29.0" # sync with icx-asset
version = "0.30.0" # sync with icx-asset
authors.workspace = true
edition.workspace = true
repository.workspace = true
Expand Down
14 changes: 14 additions & 0 deletions src/canisters/frontend/ic-certified-assets/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.0] - 2026-09-23

### Changed

- **BREAKING**: The encoding hashed for the evidence of a proposed batch, and for the state hash,
length-prefixes every variable-length field -- asset keys, content types, content encodings,
header names and values, the declared `sha256`, and asset content -- and hashes the number of
entries in a header map, behind the version-tagged domain separator `ic-certified-assets v2`.
Every operation in the encoding is self-delimiting, which makes the digest injective over the
change a batch applies. Evidence and state hash values differ from those earlier versions
compute over the same assets, so tooling that compares them has to be upgraded in step. The
encoding is specified under `compute_evidence` in
[docs/design/asset-canister-interface.md](https://github.com/dfinity/sdk/blob/master/docs/design/asset-canister-interface.md).
- **BREAKING**: `api_version()` returns 3.
- The evidence of a `SetAssetContent` operation covers `last_chunk` whether or not `chunk_ids` is
empty, matching the content that `commit_batch` stores for the same operation.
- **BREAKING**: Implement `serde::Serialize` and `serde::Deserialize` for stable state structures:
- Moved all stable state structures to the `stable_machine::v1` module, renaming them to `StableStateV1`, `StableConfigurationV1`, `StableStatePermissionsV1`, `StableAssetV1`, `StableAssetEncodingV1`
- Removed `StableState` struct
Expand Down
2 changes: 1 addition & 1 deletion src/canisters/frontend/ic-certified-assets/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic-certified-assets"
version = "0.3.0"
version = "0.4.0"
authors.workspace = true
edition.workspace = true
repository.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion src/canisters/frontend/icx-asset/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "icx-asset"
version = "0.29.0" # sync with ic-asset
version = "0.30.0" # sync with ic-asset
authors.workspace = true
edition.workspace = true
repository.workspace = true
Expand Down
Binary file modified src/distributed/assetstorage.wasm.gz
Binary file not shown.
Loading