Release zcash_primitives 0.12.0

This commit is contained in:
Kris Nuttycombe 2023-06-06 14:35:42 -06:00
parent 60ac1070c5
commit f9cacc5b21
8 changed files with 12 additions and 9 deletions

View File

@ -13,7 +13,7 @@ and this library adheres to Rust's notion of
### Changed ### Changed
- MSRV is now 1.65.0. - 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` `incrementalmerkletree 0.4`, `orchard 0.5`, `bs58 0.5`
- `WalletRead::get_memo` now returns `Result<Option<Memo>, Self::Error>` - `WalletRead::get_memo` now returns `Result<Option<Memo>, Self::Error>`
instead of `Result<Memo, Self::Error>` in order to make representable instead of `Result<Memo, Self::Error>` in order to make representable

View File

@ -24,7 +24,7 @@ incrementalmerkletree = { version = "0.4", features = ["legacy-api"] }
zcash_address = { version = "0.3", path = "../components/zcash_address" } zcash_address = { version = "0.3", path = "../components/zcash_address" }
zcash_encoding = { version = "0.2", path = "../components/zcash_encoding" } zcash_encoding = { version = "0.2", path = "../components/zcash_encoding" }
zcash_note_encryption = "0.4" 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: # Dependencies exposed in a public API:
# (Breaking upgrades to these require a breaking upgrade to this crate.) # (Breaking upgrades to these require a breaking upgrade to this crate.)

View File

@ -8,7 +8,8 @@ and this library adheres to Rust's notion of
## [Unreleased] ## [Unreleased]
### Changed ### Changed
- MSRV is now 1.65.0. - 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 ### Removed
- The empty `wallet::transact` module has been 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 ## [0.7.1] - 2023-05-17
### Fixed ### 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 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 in this case; in the future, the `get_memo` API will be updated to reflect
the potential absence of memo data. the potential absence of memo data.

View File

@ -16,7 +16,7 @@ rust-version = "1.65"
[dependencies] [dependencies]
incrementalmerkletree = { version = "0.4", features = ["legacy-api"] } incrementalmerkletree = { version = "0.4", features = ["legacy-api"] }
zcash_client_backend = { version = "0.9", path = "../zcash_client_backend" } 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: # Dependencies exposed in a public API:
# (Breaking upgrades to these require a breaking upgrade to this crate.) # (Breaking upgrades to these require a breaking upgrade to this crate.)
@ -53,7 +53,7 @@ regex = "1.4"
tempfile = "3.5.0" tempfile = "3.5.0"
zcash_note_encryption = "0.4" zcash_note_encryption = "0.4"
zcash_proofs = { version = "0.11", path = "../zcash_proofs" } 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"] } zcash_address = { version = "0.3", path = "../components/zcash_address", features = ["test-dependencies"] }
[features] [features]

View File

@ -11,7 +11,7 @@ rust-version = "1.65"
[dependencies] [dependencies]
blake2b_simd = "1" 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] [dev-dependencies]
ff = "0.13" ff = "0.13"

View File

@ -6,6 +6,8 @@ and this library adheres to Rust's notion of
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
## [0.12.0] - 2023-06-06
### Added ### Added
- `zcash_primitives::transaction`: - `zcash_primitives::transaction`:
- `Transaction::temporary_zcashd_read_v5_sapling` - `Transaction::temporary_zcashd_read_v5_sapling`

View File

@ -1,7 +1,7 @@
[package] [package]
name = "zcash_primitives" name = "zcash_primitives"
description = "Rust implementations of the Zcash primitives" description = "Rust implementations of the Zcash primitives"
version = "0.11.0" version = "0.12.0"
authors = [ authors = [
"Jack Grigg <jack@z.cash>", "Jack Grigg <jack@z.cash>",
"Kris Nuttycombe <kris@electriccoin.co>" "Kris Nuttycombe <kris@electriccoin.co>"

View File

@ -17,7 +17,7 @@ categories = ["cryptography::cryptocurrencies"]
all-features = true all-features = true
[dependencies] [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: # Dependencies exposed in a public API:
# (Breaking upgrades to these require a breaking upgrade to this crate.) # (Breaking upgrades to these require a breaking upgrade to this crate.)