diff --git a/src/ic-certified-assets/CHANGELOG.md b/src/ic-certified-assets/CHANGELOG.md index d8e93749c..542c06eae 100644 --- a/src/ic-certified-assets/CHANGELOG.md +++ b/src/ic-certified-assets/CHANGELOG.md @@ -4,6 +4,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.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.4] - 2022-07-12 +### Fixed +- headers field in Candid spec accepts mmultiple HTTP headers + ## [0.2.3] - 2022-07-06 ### Added - Support for setting custom HTTP headers on asset creation diff --git a/src/ic-certified-assets/Cargo.toml b/src/ic-certified-assets/Cargo.toml index c146a2681..aa47a4379 100644 --- a/src/ic-certified-assets/Cargo.toml +++ b/src/ic-certified-assets/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-certified-assets" -version = "0.2.3" +version = "0.2.4" edition = "2021" authors = ["DFINITY Stiftung "] description = "Rust support for asset certification." diff --git a/src/ic-certified-assets/assets.did b/src/ic-certified-assets/assets.did index deaa63fce..791de3751 100644 --- a/src/ic-certified-assets/assets.did +++ b/src/ic-certified-assets/assets.did @@ -7,7 +7,7 @@ type CreateAssetArguments = record { key: Key; content_type: text; max_age: opt nat64; - headers: opt HeaderField; + headers: opt vec HeaderField; }; // Add or change content for an asset, by content encoding