From ad36d902228aa77ec88677988c9925865f963778 Mon Sep 17 00:00:00 2001 From: Linwei Shang Date: Fri, 1 Mar 2024 14:46:53 -0500 Subject: [PATCH] chore: release ic-cdk v0.13.1 and ic-cdk-macros v0.9.0 (#470) * chore: release ic-cdk v0.13.1 and ic-cdk-macros v0.9.0 * pin ic-cdk-macros to a specific version --- Cargo.lock | 4 ++-- src/ic-cdk-macros/CHANGELOG.md | 8 +++++++- src/ic-cdk-macros/Cargo.toml | 2 +- src/ic-cdk/CHANGELOG.md | 8 +++++++- src/ic-cdk/Cargo.toml | 9 +++++++-- 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 46f8c6e31..a50f6f946 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -875,7 +875,7 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "ic-cdk" -version = "0.13.0" +version = "0.13.1" dependencies = [ "anyhow", "candid", @@ -914,7 +914,7 @@ dependencies = [ [[package]] name = "ic-cdk-macros" -version = "0.8.5" +version = "0.9.0" dependencies = [ "candid", "proc-macro2", diff --git a/src/ic-cdk-macros/CHANGELOG.md b/src/ic-cdk-macros/CHANGELOG.md index 32dfb498f..14fd1a1d7 100644 --- a/src/ic-cdk-macros/CHANGELOG.md +++ b/src/ic-cdk-macros/CHANGELOG.md @@ -6,7 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] -## [0.8.5] - 2024-03-01 +## [0.9.0] - 2024-03-01 + +### Fixed + +- The change in yanked version v0.8.5 contains breaking change. + +## [0.8.5] - 2024-03-01 (yanked) ### Added diff --git a/src/ic-cdk-macros/Cargo.toml b/src/ic-cdk-macros/Cargo.toml index 43b026601..d56ac4d0d 100644 --- a/src/ic-cdk-macros/Cargo.toml +++ b/src/ic-cdk-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-cdk-macros" -version = "0.8.5" # no need to sync with ic-cdk +version = "0.9.0" # no need to sync with ic-cdk authors.workspace = true edition.workspace = true license.workspace = true diff --git a/src/ic-cdk/CHANGELOG.md b/src/ic-cdk/CHANGELOG.md index 181cd7d8d..d6923d5ea 100644 --- a/src/ic-cdk/CHANGELOG.md +++ b/src/ic-cdk/CHANGELOG.md @@ -6,7 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] -## [0.13.0] - 2024-03-01 +## [0.13.1] - 2024-03-01 + +### Changed + +- Upgrade `ic-cdk-macros` to v0.9.0. + +## [0.13.0] - 2024-03-01 (yanked) ### Added diff --git a/src/ic-cdk/Cargo.toml b/src/ic-cdk/Cargo.toml index 5d93124f1..0e73a24ec 100644 --- a/src/ic-cdk/Cargo.toml +++ b/src/ic-cdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-cdk" -version = "0.13.0" +version = "0.13.1" authors.workspace = true edition.workspace = true license.workspace = true @@ -22,7 +22,12 @@ include = ["src", "Cargo.toml", "LICENSE", "README.md"] [dependencies] candid.workspace = true ic0.workspace = true -ic-cdk-macros = { path = "../ic-cdk-macros", version = "0.8.5" } +# Pin ic-cdk-macros to a specific version. +# This actually create a 1-to-1 mapping between ic-cdk and ic-cdk-macros. +# Dependents won't accidentaly upgrading ic-cdk-macros only but not ic-cdk. +# ic-cdk-macros is a hidden dependency, re-exported by ic-cdk. +# It should not be included by users direcly. +ic-cdk-macros = { path = "../ic-cdk-macros", version = "=0.9.0" } serde.workspace = true serde_bytes.workspace = true slotmap = { workspace = true, optional = true }