From f9cacc5b21fe29797ed3083e27cff9f5abbfe503 Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Tue, 6 Jun 2023 14:35:42 -0600 Subject: [PATCH] Release zcash_primitives 0.12.0 --- zcash_client_backend/CHANGELOG.md | 2 +- zcash_client_backend/Cargo.toml | 2 +- zcash_client_sqlite/CHANGELOG.md | 5 +++-- zcash_client_sqlite/Cargo.toml | 4 ++-- zcash_extensions/Cargo.toml | 2 +- zcash_primitives/CHANGELOG.md | 2 ++ zcash_primitives/Cargo.toml | 2 +- zcash_proofs/Cargo.toml | 2 +- 8 files changed, 12 insertions(+), 9 deletions(-) diff --git a/zcash_client_backend/CHANGELOG.md b/zcash_client_backend/CHANGELOG.md index 0e52e98d1..c896b6d70 100644 --- a/zcash_client_backend/CHANGELOG.md +++ b/zcash_client_backend/CHANGELOG.md @@ -13,7 +13,7 @@ and this library adheres to Rust's notion of ### Changed - MSRV is now 1.65.0. -- Bumped dependencies to `hdwallet 0.4`, `zcash_note_encryption 0.4`, +- Bumped dependencies to `hdwallet 0.4`, `zcash_primitives 0.12`, `zcash_note_encryption 0.4`, `incrementalmerkletree 0.4`, `orchard 0.5`, `bs58 0.5` - `WalletRead::get_memo` now returns `Result, Self::Error>` instead of `Result` in order to make representable diff --git a/zcash_client_backend/Cargo.toml b/zcash_client_backend/Cargo.toml index b6b568455..a52cf7c91 100644 --- a/zcash_client_backend/Cargo.toml +++ b/zcash_client_backend/Cargo.toml @@ -24,7 +24,7 @@ incrementalmerkletree = { version = "0.4", features = ["legacy-api"] } zcash_address = { version = "0.3", path = "../components/zcash_address" } zcash_encoding = { version = "0.2", path = "../components/zcash_encoding" } zcash_note_encryption = "0.4" -zcash_primitives = { version = "0.11", path = "../zcash_primitives", default-features = false } +zcash_primitives = { version = "0.12", path = "../zcash_primitives", default-features = false } # Dependencies exposed in a public API: # (Breaking upgrades to these require a breaking upgrade to this crate.) diff --git a/zcash_client_sqlite/CHANGELOG.md b/zcash_client_sqlite/CHANGELOG.md index d03b61a19..d72fe90ac 100644 --- a/zcash_client_sqlite/CHANGELOG.md +++ b/zcash_client_sqlite/CHANGELOG.md @@ -8,7 +8,8 @@ and this library adheres to Rust's notion of ## [Unreleased] ### Changed - MSRV is now 1.65.0. -- Bumped dependencies to `hdwallet 0.4`, `incrementalmerkletree 0.4`, `bs58 0.5` +- Bumped dependencies to `hdwallet 0.4`, `incrementalmerkletree 0.4`, `bs58 0.5`, + `zcash_primitives 0.12` ### Removed - The empty `wallet::transact` module has been removed. @@ -16,7 +17,7 @@ and this library adheres to Rust's notion of ## [0.7.1] - 2023-05-17 ### Fixed -- Fixes a potential crash that could occur when attempting to read a memo from +- Fixes a potential crash that could occur when attempting to read a memo from sqlite when the memo value is `NULL`. At present, we return the empty memo in this case; in the future, the `get_memo` API will be updated to reflect the potential absence of memo data. diff --git a/zcash_client_sqlite/Cargo.toml b/zcash_client_sqlite/Cargo.toml index becefb3b8..b825e18cf 100644 --- a/zcash_client_sqlite/Cargo.toml +++ b/zcash_client_sqlite/Cargo.toml @@ -16,7 +16,7 @@ rust-version = "1.65" [dependencies] incrementalmerkletree = { version = "0.4", features = ["legacy-api"] } zcash_client_backend = { version = "0.9", path = "../zcash_client_backend" } -zcash_primitives = { version = "0.11", path = "../zcash_primitives", default-features = false } +zcash_primitives = { version = "0.12", path = "../zcash_primitives", default-features = false } # Dependencies exposed in a public API: # (Breaking upgrades to these require a breaking upgrade to this crate.) @@ -53,7 +53,7 @@ regex = "1.4" tempfile = "3.5.0" zcash_note_encryption = "0.4" zcash_proofs = { version = "0.11", path = "../zcash_proofs" } -zcash_primitives = { version = "0.11", path = "../zcash_primitives", features = ["test-dependencies"] } +zcash_primitives = { version = "0.12", path = "../zcash_primitives", features = ["test-dependencies"] } zcash_address = { version = "0.3", path = "../components/zcash_address", features = ["test-dependencies"] } [features] diff --git a/zcash_extensions/Cargo.toml b/zcash_extensions/Cargo.toml index 032ddb8c4..640a912d7 100644 --- a/zcash_extensions/Cargo.toml +++ b/zcash_extensions/Cargo.toml @@ -11,7 +11,7 @@ rust-version = "1.65" [dependencies] blake2b_simd = "1" -zcash_primitives = { version = "0.11", path = "../zcash_primitives", default-features = false, features = ["zfuture" ] } +zcash_primitives = { version = "0.12", path = "../zcash_primitives", default-features = false, features = ["zfuture" ] } [dev-dependencies] ff = "0.13" diff --git a/zcash_primitives/CHANGELOG.md b/zcash_primitives/CHANGELOG.md index d0c34e86c..4f3d76517 100644 --- a/zcash_primitives/CHANGELOG.md +++ b/zcash_primitives/CHANGELOG.md @@ -6,6 +6,8 @@ and this library adheres to Rust's notion of [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [0.12.0] - 2023-06-06 ### Added - `zcash_primitives::transaction`: - `Transaction::temporary_zcashd_read_v5_sapling` diff --git a/zcash_primitives/Cargo.toml b/zcash_primitives/Cargo.toml index 446ce5727..cec7ecc2c 100644 --- a/zcash_primitives/Cargo.toml +++ b/zcash_primitives/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "zcash_primitives" description = "Rust implementations of the Zcash primitives" -version = "0.11.0" +version = "0.12.0" authors = [ "Jack Grigg ", "Kris Nuttycombe " diff --git a/zcash_proofs/Cargo.toml b/zcash_proofs/Cargo.toml index 5a3fdfdfd..eaa0c9c83 100644 --- a/zcash_proofs/Cargo.toml +++ b/zcash_proofs/Cargo.toml @@ -17,7 +17,7 @@ categories = ["cryptography::cryptocurrencies"] all-features = true [dependencies] -zcash_primitives = { version = "0.11", path = "../zcash_primitives", default-features = false } +zcash_primitives = { version = "0.12", path = "../zcash_primitives", default-features = false } # Dependencies exposed in a public API: # (Breaking upgrades to these require a breaking upgrade to this crate.)