diff --git a/identity-provider-service/Cargo.lock b/identity-provider-service/Cargo.lock index 118d11bed..44783f529 100644 --- a/identity-provider-service/Cargo.lock +++ b/identity-provider-service/Cargo.lock @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "concordium_base" -version = "4.1.0" +version = "5.0.0" dependencies = [ "anyhow", "ark-bls12-381", diff --git a/idiss/Cargo.lock b/idiss/Cargo.lock index 0499751a2..d036e6e08 100644 --- a/idiss/Cargo.lock +++ b/idiss/Cargo.lock @@ -457,7 +457,7 @@ dependencies = [ [[package]] name = "concordium_base" -version = "4.1.0" +version = "5.0.0" dependencies = [ "anyhow", "ark-bls12-381", diff --git a/idiss/Cargo.toml b/idiss/Cargo.toml index dc6d9eb3d..fbd7fb98d 100644 --- a/idiss/Cargo.toml +++ b/idiss/Cargo.toml @@ -40,7 +40,7 @@ optional = true [dependencies.concordium_base] path = "../rust-src/concordium_base" -version = "4" +version = "*" features = ["ffi"] [build-dependencies] diff --git a/mobile_wallet/Cargo.lock b/mobile_wallet/Cargo.lock index 346a1f048..b1296e214 100644 --- a/mobile_wallet/Cargo.lock +++ b/mobile_wallet/Cargo.lock @@ -406,7 +406,7 @@ dependencies = [ [[package]] name = "concordium_base" -version = "4.1.0" +version = "5.0.0" dependencies = [ "anyhow", "ark-bls12-381", diff --git a/mobile_wallet/Cargo.toml b/mobile_wallet/Cargo.toml index 5075093dc..15758eb95 100644 --- a/mobile_wallet/Cargo.toml +++ b/mobile_wallet/Cargo.toml @@ -32,11 +32,11 @@ version = "1.0.0" [dependencies.concordium_base] path = "../rust-src/concordium_base" -version = "4" +version = "*" [build-dependencies.concordium_base] path = "../rust-src/concordium_base" -version = "4" +version = "*" # Use the same optimization level for building build.rs as for the library # itself in release mode. This is necessary because some of the dependencies diff --git a/rust-bins/Cargo.lock b/rust-bins/Cargo.lock index 1095b8873..1a2ce40f5 100644 --- a/rust-bins/Cargo.lock +++ b/rust-bins/Cargo.lock @@ -489,7 +489,7 @@ dependencies = [ [[package]] name = "concordium_base" -version = "4.1.0" +version = "5.0.0" dependencies = [ "aes", "anyhow", diff --git a/rust-src/Cargo.lock b/rust-src/Cargo.lock index d38f64943..f7df4ca1d 100644 --- a/rust-src/Cargo.lock +++ b/rust-src/Cargo.lock @@ -481,7 +481,7 @@ dependencies = [ [[package]] name = "concordium_base" -version = "4.1.0" +version = "5.0.0" dependencies = [ "aes", "anyhow", diff --git a/rust-src/concordium_base/CHANGELOG.md b/rust-src/concordium_base/CHANGELOG.md index 949d0308d..78e724fdf 100644 --- a/rust-src/concordium_base/CHANGELOG.md +++ b/rust-src/concordium_base/CHANGELOG.md @@ -1,5 +1,7 @@ ## Unreleased changes +## 5.0.0 (2024-03-25) + - Set minimum supported Rust version to 1.73. - Make fields of CIS4 events public. - Remove the `From` and `From` implementations diff --git a/rust-src/concordium_base/Cargo.toml b/rust-src/concordium_base/Cargo.toml index 9b748861d..bd38677c1 100644 --- a/rust-src/concordium_base/Cargo.toml +++ b/rust-src/concordium_base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "concordium_base" -version = "4.1.0" +version = "5.0.0" authors = ["Concordium AG "] edition = "2021" rust-version = "1.73" @@ -62,7 +62,7 @@ crate-type = ["rlib", "staticlib", "cdylib"] # Local dependencies [dependencies.concordium-contracts-common] -version = "9.0" +version = "9.1" path = "../../smart-contracts/contracts-common/concordium-contracts-common" features = ["derive-serde"] diff --git a/smart-contracts/contracts-common/concordium-contracts-common-derive/CHANGELOG.md b/smart-contracts/contracts-common/concordium-contracts-common-derive/CHANGELOG.md index daf489931..0d6c8a5a9 100644 --- a/smart-contracts/contracts-common/concordium-contracts-common-derive/CHANGELOG.md +++ b/smart-contracts/contracts-common/concordium-contracts-common-derive/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased changes +## concordium-contracts-common-derive 4.1.0 (2024-03-25) + - Attribute macro `#[concordium_quickcheck]` generates code referencing `concordium_std` rather than `::concordium_std` allowing for user-provided `concordium_std`. - Set minimum supported Rust version to 1.73. - Support returning types that reference host or state from `init` or `receive` diff --git a/smart-contracts/contracts-common/concordium-contracts-common/CHANGELOG.md b/smart-contracts/contracts-common/concordium-contracts-common/CHANGELOG.md index 83f7ec9e6..018b69b0e 100644 --- a/smart-contracts/contracts-common/concordium-contracts-common/CHANGELOG.md +++ b/smart-contracts/contracts-common/concordium-contracts-common/CHANGELOG.md @@ -2,11 +2,13 @@ ## Unreleased changes +## concordium-contracts-common 9.1.0 (2024-03-25) + - Add `get_alias_unchecked` for `AccountAddress` that neglects the bounds check assuming the caller has ensured it. - Implement `serde::Serialize` and `serde::Deserialize` for `AccountSignature`, `CredentialSignature`, `Signature`, `SignatureEcdsaSecp256k1` and `SignatureEd25519` when feature `derive-serde` is enabled. - Set minimum supported Rust version to 1.73. -- Change `HashBytes::new` is now a `const` function. +- Change `HashBytes::new` to a `const` function. ## concordium-contracts-common 9.0.0 (2024-01-22) diff --git a/smart-contracts/contracts-common/concordium-contracts-common/Cargo.toml b/smart-contracts/contracts-common/concordium-contracts-common/Cargo.toml index de0bddc41..cc5ea8c33 100644 --- a/smart-contracts/contracts-common/concordium-contracts-common/Cargo.toml +++ b/smart-contracts/contracts-common/concordium-contracts-common/Cargo.toml @@ -66,7 +66,7 @@ version = "1.0" [dependencies.concordium-contracts-common-derive] path = "../concordium-contracts-common-derive" -version = "4" +version = "4.1" [dependencies.hex] optional = true diff --git a/smart-contracts/wasm-chain-integration/CHANGELOG.md b/smart-contracts/wasm-chain-integration/CHANGELOG.md index 8a704dc8a..842155895 100644 --- a/smart-contracts/wasm-chain-integration/CHANGELOG.md +++ b/smart-contracts/wasm-chain-integration/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased changes +## concordium-smart-contract-engine 5.0.0 (2024-03-25) + - `TestHost` no longer implements the `ValidateImportExport` trait, instead use `NoDuplicateImport` struct. - `TestHost::new` now takes an instance state, allowing for support of host functions related to the smart contract key-value state. - The function `utils::run_module_tests` now provides an empty in-memory instance state for each test case, allowing module tests to use host functions related to the smart contract key-value state. diff --git a/smart-contracts/wasm-chain-integration/Cargo.lock b/smart-contracts/wasm-chain-integration/Cargo.lock index 8b6f49af8..0aa2ad5a1 100644 --- a/smart-contracts/wasm-chain-integration/Cargo.lock +++ b/smart-contracts/wasm-chain-integration/Cargo.lock @@ -352,7 +352,7 @@ dependencies = [ [[package]] name = "concordium-smart-contract-engine" -version = "4.0.0" +version = "5.0.0" dependencies = [ "anyhow", "arbitrary", diff --git a/smart-contracts/wasm-chain-integration/Cargo.toml b/smart-contracts/wasm-chain-integration/Cargo.toml index 9ff7cf3cb..ea2716e9b 100644 --- a/smart-contracts/wasm-chain-integration/Cargo.toml +++ b/smart-contracts/wasm-chain-integration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "concordium-smart-contract-engine" -version = "4.0.0" +version = "5.0.0" authors = ["Concordium "] edition = "2018" license-file = "../../LICENSE" diff --git a/smart-contracts/wasm-test/Cargo.lock b/smart-contracts/wasm-test/Cargo.lock index 854e8e4c6..a393f177e 100644 --- a/smart-contracts/wasm-test/Cargo.lock +++ b/smart-contracts/wasm-test/Cargo.lock @@ -216,16 +216,16 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "8eaf5903dcbc0a39312feb77df2ff4c76387d591b9fc7b04a238dcf8bb62639a" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets", + "windows-targets 0.52.4", ] [[package]] @@ -245,7 +245,7 @@ dependencies = [ [[package]] name = "concordium-contracts-common" -version = "9.0.0" +version = "9.1.0" dependencies = [ "base64", "bs58", @@ -265,7 +265,7 @@ dependencies = [ [[package]] name = "concordium-contracts-common-derive" -version = "4.0.1" +version = "4.1.0" dependencies = [ "proc-macro2", "quote", @@ -1095,7 +1095,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows-targets", + "windows-targets 0.48.5", ] [[package]] @@ -1104,13 +1104,28 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" +dependencies = [ + "windows_aarch64_gnullvm 0.52.4", + "windows_aarch64_msvc 0.52.4", + "windows_i686_gnu 0.52.4", + "windows_i686_msvc 0.52.4", + "windows_x86_64_gnu 0.52.4", + "windows_x86_64_gnullvm 0.52.4", + "windows_x86_64_msvc 0.52.4", ] [[package]] @@ -1119,42 +1134,84 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" + [[package]] name = "windows_i686_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" + [[package]] name = "windows_i686_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_i686_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" + [[package]] name = "winnow" version = "0.5.15"