Release Zebra 1.0.0-beta.12 (#4714)

* Update Zebra to 1.0.0-beta.12

* Simplify tower-* versioning by updating both to 0.2.27

* Simplify version search and replace by removing an old version from the docs

* Update Cargo.lock

* Add draft changelog as of PR #4693

* Update CHANGELOG to PR #4680
This commit is contained in:
teor 2022-06-30 03:14:16 +10:00 committed by GitHub
parent ad524f2589
commit 9e277ed91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 137 additions and 36 deletions

View File

@ -4,22 +4,126 @@ All notable changes to Zebra are 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). 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).
## Next Release: [Zebra 1.0.0-beta.12](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-beta.12) - 2022-06-??
This release contains some breaking changes which improve config usability, and increase compilation speed. ## Next Release (Draft)
(Draft notes for the next release can be added here.)
## [Zebra 1.0.0-beta.12](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-beta.12) - 2022-06-29
This release improves Zebra's Orchard proof verification performance and sync performance.
Zebra prefers to connect to peers on the canonical Zcash ports.
This release also contains some breaking changes which:
- improve usability, and
- make Zebra compile faster.
### Breaking Changes ### Breaking Changes
#### Cache Deletion
- Zebra deletes unused cached state directories in `<OS-specific cache dir>/zebra` (#4586)
These caches only contain public chain data, so it is safe to delete them.
#### Compile-Time Features #### Compile-Time Features
- Most of Zebra's [tracing](https://github.com/ZcashFoundation/zebra/blob/main/book/src/user/tracing.md) and [metrics](https://github.com/ZcashFoundation/zebra/blob/main/book/src/user/metrics.md) features are off by default (#4539) - Most of Zebra's [tracing](https://github.com/ZcashFoundation/zebra/blob/main/book/src/user/tracing.md)
and [metrics](https://github.com/ZcashFoundation/zebra/blob/main/book/src/user/metrics.md) features
are off by default at compile time (#4539, #4680)
- The `enable-sentry` feature has been renamed to `sentry` (#4623) - The `enable-sentry` feature has been renamed to `sentry` (#4623)
#### Config #### Config
- Times in `zebrad.config` change from seconds/nanoseconds to a [human-readable format](https://docs.rs/humantime/latest/humantime/) (#4587) - Times in `zebrad.config` change from seconds/nanoseconds to a
[human-readable format](https://docs.rs/humantime/latest/humantime/).
Remove times in the old format, or use `zebrad generate` to create a new config. (#4587)
### Added
#### Diagnostics
- Show the current network upgrade in progress logs (#4694)
- Add some missing tracing spans (#4660)
- Add tokio-console support to zebrad (#4519, #4641)
- Add `fallible_impl_from` clippy lint (#4609)
- Add `unwrap_in_result` clippy lint (#4667)
#### Testing
- Check that old `zebrad.toml` configs can be parsed by the latest version (#4676)
- Test `cargo doc` warnings and errors (#4635, #4654)
- Document how to run full sync and lightwalletd tests (#4523)
#### Continuous Integration
- Add `beta` rust to CI (#4637, #4668)
- Build each Zebra crate individually (#4640)
### Changed
#### Chain Sync
- Update mainnet and testnet checkpoint hashes (#4708)
#### Diagnostics
- Update transaction verification dashboard to show all shielded pool sigs, proofs, nullifiers (#4585)
#### Testing
- Add an identifiable suffix to zcash-rpc-diff temp directories (#4577)
#### Dependencies
- Manage`cargo-mdbook` as a GitHub action (#4636)
#### Continuous Integration
- Automatically delete old GCP resources (#4598)
#### Documentation
- Improve the release checklist (#4568, #4595)
### Removed
#### Continuous Integration
- Remove redundant build-chain-no-features job (#4656)
### Fixed
#### Performance
- Upgrade `halo2` and related dependencies to improve proof verification speed (#4699)
- Change default sync config to improve reliability (#4662, #4670, #4679)
- Fix a lookahead config panic (#4662)
#### Continuous Integration
- Actually create a cached state image after running a sync (#4669)
- Split `docker run` into launch, `logs`, and `wait`, to avoid GitHub job timeouts (#4675, #4690)
- Ignore lightwalletd test hangs for now (#4663)
- Disable `zcash_rpc_conflict` test on macOS (#4614)
- Use `latest` lightwalletd image for Zebra's Dockerfile (#4599)
- Increase lightwalletd timeout, remove testnet tests (#4584)
#### Documentation
- Fix various `cargo doc` warnings (#4561, #4611, #4627)
- Clarify how Zebra and `zcashd` interact in `README.md` (#4570)
- Improve `lightwalletd` tutorial (#4566)
- Simplify README and link to detailed documentation (#4680)
#### Diagnostics
- Resolve some lifetime and reference lints (#4578)
### Security
- When connecting to peers, ignore invalid ports, and prefer canonical ports (#4564)
TODO: insert changelog here
## [Zebra 1.0.0-beta.11](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-beta.11) - 2022-06-03 ## [Zebra 1.0.0-beta.11](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-beta.11) - 2022-06-03

24
Cargo.lock generated
View File

@ -5439,7 +5439,7 @@ dependencies = [
[[package]] [[package]]
name = "tower-batch" name = "tower-batch"
version = "0.2.26" version = "0.2.27"
dependencies = [ dependencies = [
"color-eyre", "color-eyre",
"ed25519-zebra", "ed25519-zebra",
@ -5459,7 +5459,7 @@ dependencies = [
[[package]] [[package]]
name = "tower-fallback" name = "tower-fallback"
version = "0.2.22" version = "0.2.27"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"pin-project 0.4.29", "pin-project 0.4.29",
@ -6283,7 +6283,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-chain" name = "zebra-chain"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"aes", "aes",
"bech32", "bech32",
@ -6344,7 +6344,7 @@ version = "1.0.0-beta.0"
[[package]] [[package]]
name = "zebra-consensus" name = "zebra-consensus"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"bellman", "bellman",
"blake2b_simd 1.0.0", "blake2b_simd 1.0.0",
@ -6386,7 +6386,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-network" name = "zebra-network"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"arti-client", "arti-client",
"bitflags", "bitflags",
@ -6423,14 +6423,14 @@ dependencies = [
[[package]] [[package]]
name = "zebra-node-services" name = "zebra-node-services"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"zebra-chain", "zebra-chain",
] ]
[[package]] [[package]]
name = "zebra-rpc" name = "zebra-rpc"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"chrono", "chrono",
"futures", "futures",
@ -6459,7 +6459,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-script" name = "zebra-script"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"displaydoc", "displaydoc",
"hex", "hex",
@ -6472,7 +6472,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-state" name = "zebra-state"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"bincode", "bincode",
"chrono", "chrono",
@ -6507,7 +6507,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-test" name = "zebra-test"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"color-eyre", "color-eyre",
"futures", "futures",
@ -6532,7 +6532,7 @@ dependencies = [
[[package]] [[package]]
name = "zebra-utils" name = "zebra-utils"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"color-eyre", "color-eyre",
"hex", "hex",
@ -6547,7 +6547,7 @@ dependencies = [
[[package]] [[package]]
name = "zebrad" name = "zebrad"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
dependencies = [ dependencies = [
"abscissa_core", "abscissa_core",
"atty", "atty",

View File

@ -76,12 +76,9 @@ for your platform:
2. Install Zebra's build dependencies: 2. Install Zebra's build dependencies:
- **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager - **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager
- **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC` - **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC`
3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.11 zebrad` 3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.12 zebrad`
4. Run `zebrad start` (see [Running Zebra](https://zebra.zfnd.org/user/run.html) for more information) 4. Run `zebrad start` (see [Running Zebra](https://zebra.zfnd.org/user/run.html) for more information)
If you're interested in testing out `zebrad` please feel free, but keep in mind
that there is a lot of key functionality still missing.
For more detailed instructions, refer to the [documentation](https://zebra.zfnd.org/user/install.html). For more detailed instructions, refer to the [documentation](https://zebra.zfnd.org/user/install.html).
### Optional Features ### Optional Features

View File

@ -9,7 +9,7 @@ for your platform:
2. Install Zebra's build dependencies: 2. Install Zebra's build dependencies:
- **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager - **libclang:** the `libclang`, `libclang-dev`, `llvm`, or `llvm-dev` packages, depending on your package manager
- **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC` - **clang** or another C++ compiler: `g++`, `Xcode`, or `MSVC`
3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.11 zebrad` 3. Run `cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-beta.12 zebrad`
4. Run `zebrad start` (see [Running Zebra](run.md) for more information) 4. Run `zebrad start` (see [Running Zebra](run.md) for more information)
If you're interested in testing out `zebrad` please feel free, but keep in mind If you're interested in testing out `zebrad` please feel free, but keep in mind

View File

@ -1,6 +1,6 @@
# Running lightwalletd with zebra # Running lightwalletd with zebra
Starting on [v1.0.0-beta.11](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-beta.11), the Zebra RPC methods are fully featured to run a lightwalletd service backed by zebrad. Zebra's RPC methods can support a lightwalletd service backed by zebrad.
Contents: Contents:

View File

@ -1,6 +1,6 @@
[package] [package]
name = "tower-batch" name = "tower-batch"
version = "0.2.26" version = "0.2.27"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT" license = "MIT"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "tower-fallback" name = "tower-fallback"
version = "0.2.22" version = "0.2.27"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT" license = "MIT"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-chain" name = "zebra-chain"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-consensus" name = "zebra-consensus"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-network" name = "zebra-network"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -242,7 +242,7 @@ pub const TIMESTAMP_TRUNCATION_SECONDS: u32 = 30 * 60;
/// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki /// [BIP 14]: https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki
// //
// TODO: generate this from crate metadata (#2375) // TODO: generate this from crate metadata (#2375)
pub const USER_AGENT: &str = "/Zebra:1.0.0-beta.11/"; pub const USER_AGENT: &str = "/Zebra:1.0.0-beta.12/";
/// The Zcash network protocol version implemented by this crate, and advertised /// The Zcash network protocol version implemented by this crate, and advertised
/// during connection setup. /// during connection setup.

View File

@ -2,7 +2,7 @@
name = "zebra-node-services" name = "zebra-node-services"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
edition = "2021" edition = "2021"
repository = "https://github.com/ZcashFoundation/zebra" repository = "https://github.com/ZcashFoundation/zebra"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-rpc" name = "zebra-rpc"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-script" name = "zebra-script"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-state" name = "zebra-state"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "zebra-test" name = "zebra-test"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"

View File

@ -2,7 +2,7 @@
name = "zebra-utils" name = "zebra-utils"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
edition = "2021" edition = "2021"
# Prevent accidental publication of this utility crate. # Prevent accidental publication of this utility crate.
publish = false publish = false

View File

@ -2,7 +2,7 @@
name = "zebrad" name = "zebrad"
authors = ["Zcash Foundation <zebra@zfnd.org>"] authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
version = "1.0.0-beta.11" version = "1.0.0-beta.12"
edition = "2021" edition = "2021"
# Zebra is only supported on the latest stable Rust version. Some earlier versions might work. # Zebra is only supported on the latest stable Rust version. Some earlier versions might work.
# Zebra uses features introduced in Rust 1.58. # Zebra uses features introduced in Rust 1.58.