Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Release v1.3.0 #7610

Merged
merged 15 commits into from
Oct 16, 2023
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,66 @@ 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).

## [Zebra 1.3.0](https://github.com/ZcashFoundation/zebra/releases/tag/v1.3.0) - 2023-10-16

This release adds RPC methods for the "Spend before Sync" light wallet feature,
and fixes performance issues and bugs in the mining solution rate RPCs. Progress
bars can now be enabled using a config, please help us test them!

It contains the following updates:

### User Testing: Progress Bars

Zebra has progress bars! When progress bars are enabled, you can see Zebra's blocks,
transactions, and peer connections in your terminal. We're asking Zebra users to test this
feature, and give us [feedback on the forums](https://forum.zcashcommunity.com/t/zebra-progress-bars/44485).

To show progress bars while running Zebra, add these lines to your `zebrad.toml`:
```toml
[tracing]
progress_bar = "summary"
```

For more details, including a known issue with time estimates,
read our [progress bars blog post](https://zfnd.org/experimental-zebra-progress-bars/).

upbqdn marked this conversation as resolved.
Show resolved Hide resolved
### Security

- Fix database concurrency bugs that could have led to panics or incorrect history tree data (#7590, #7663)

### Added

upbqdn marked this conversation as resolved.
Show resolved Hide resolved
- Zebra's progress bars can now be enabled using a `zebrad.toml` config (#7615)
- Add missing elasticsearch flag feature to lib docs (#7568)
- Add missing Docker variables and examples (#7552)
- Check database format is valid on startup and shutdown (#7566, #7606). We expect to catch almost all database validity errors in CI (#7602, #7627), so users are unlikely to see them on startup or shutdown.

upbqdn marked this conversation as resolved.
Show resolved Hide resolved
#### Spend before Sync Support

- Add state requests and support code for the `z_getsubtreesbyindex` RPC (#7408, #7734)
- Implement the `z_getsubtreesbyindex` RPC (#7436)
- Test the `z_getsubtreesbyindex` RPC (#7515, #7521, #7566, #7514, #7628)
- Format subtree roots in little-endian order (#7466)
- Add note subtree indexes for new and existing blocks (#7437)
- Upgrade subtrees from the tip backwards, for compatibility with wallet syncing (#7531)
- Handle a subtree comparison edge case correctly (#7587)

### Changed

- Return errors instead of panicking in methods for Heights (#7591)
- Update tests for compatibility with the ECC's `lightwalletd` fork (#7349)

### Fixed

- Refactor docs for feature flags (#7567)
- Match zcashd's getblockchaininfo capitalisation for NU5 (#7454)
- Fix bugs and performance of `getnetworksolps` & `getnetworkhashps` RPCs (#7647)

### Contributors

Thank you to everyone who contributed to this release, we couldn't make Zebra without you:
@arya2, @gustavovalverde, @oxarbitrage, @rex4539, @teor2345 and @upbqdn.

## [Zebra 1.2.0](https://github.com/ZcashFoundation/zebra/releases/tag/v1.2.0) - 2023-09-01

### Highlights
Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4592,7 +4592,7 @@ dependencies = [

[[package]]
name = "tower-batch-control"
version = "0.2.41-beta.5"
version = "0.2.41-beta.6"
dependencies = [
"color-eyre",
"ed25519-zebra",
Expand All @@ -4616,7 +4616,7 @@ dependencies = [

[[package]]
name = "tower-fallback"
version = "0.2.41-beta.5"
version = "0.2.41-beta.6"
dependencies = [
"futures-core",
"pin-project",
Expand Down Expand Up @@ -5523,7 +5523,7 @@ dependencies = [

[[package]]
name = "zebra-chain"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
dependencies = [
"bitflags 2.4.0",
"bitflags-serde-legacy",
Expand Down Expand Up @@ -5584,7 +5584,7 @@ dependencies = [

[[package]]
name = "zebra-consensus"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
dependencies = [
"bellman",
"blake2b_simd",
Expand Down Expand Up @@ -5629,7 +5629,7 @@ dependencies = [

[[package]]
name = "zebra-network"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
dependencies = [
"bitflags 2.4.0",
"byteorder",
Expand Down Expand Up @@ -5670,7 +5670,7 @@ dependencies = [

[[package]]
name = "zebra-node-services"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
dependencies = [
"color-eyre",
"jsonrpc-core",
Expand All @@ -5682,7 +5682,7 @@ dependencies = [

[[package]]
name = "zebra-rpc"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
dependencies = [
"chrono",
"futures",
Expand Down Expand Up @@ -5714,7 +5714,7 @@ dependencies = [

[[package]]
name = "zebra-script"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
dependencies = [
"displaydoc",
"hex",
Expand All @@ -5727,7 +5727,7 @@ dependencies = [

[[package]]
name = "zebra-state"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
dependencies = [
"bincode",
"chrono",
Expand Down Expand Up @@ -5771,7 +5771,7 @@ dependencies = [

[[package]]
name = "zebra-test"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
dependencies = [
"color-eyre",
"futures",
Expand Down Expand Up @@ -5799,7 +5799,7 @@ dependencies = [

[[package]]
name = "zebra-utils"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
dependencies = [
"color-eyre",
"hex",
Expand All @@ -5820,7 +5820,7 @@ dependencies = [

[[package]]
name = "zebrad"
version = "1.2.0"
version = "1.3.0"
dependencies = [
"abscissa_core",
"atty",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- [Getting Started](#getting-started)
- [Docker](#docker)
- [Building Zebra](#building-zebra)
- [Optional Configs & Features](#optional-features)
- [Optional Configs & Features](#optional-configs--features)
- [Known Issues](#known-issues)
- [Future Work](#future-work)
- [Documentation](#documentation)
Expand Down
2 changes: 1 addition & 1 deletion book/src/user/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker run --detach zfnd/zebra:latest
### Build it locally

```shell
git clone --depth 1 --branch v1.2.0 https://github.com/ZcashFoundation/zebra.git
git clone --depth 1 --branch v1.3.0 https://github.com/ZcashFoundation/zebra.git
docker build --file docker/Dockerfile --target runtime --tag zebra:local .
docker run --detach zebra:local
```
Expand Down
4 changes: 2 additions & 2 deletions book/src/user/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ To compile Zebra directly from GitHub, or from a GitHub release source archive:
```sh
git clone https://github.com/ZcashFoundation/zebra.git
cd zebra
git checkout v1.2.0
git checkout v1.3.0
```

3. Build and Run `zebrad`
Expand All @@ -33,7 +33,7 @@ target/release/zebrad start
### Compiling from git using cargo install

```sh
cargo install --git https://github.com/ZcashFoundation/zebra --tag v1.2.0 zebrad
cargo install --git https://github.com/ZcashFoundation/zebra --tag v1.3.0 zebrad
```

### Compiling on ARM
Expand Down
2 changes: 1 addition & 1 deletion tower-batch-control/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tower-batch-control"
version = "0.2.41-beta.5"
version = "0.2.41-beta.6"
authors = ["Zcash Foundation <zebra@zfnd.org>", "Tower Maintainers <team@tower-rs.com>"]
description = "Tower middleware for batch request processing"
# # Legal
Expand Down
2 changes: 1 addition & 1 deletion tower-fallback/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tower-fallback"
version = "0.2.41-beta.5"
version = "0.2.41-beta.6"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "A Tower service combinator that sends requests to a first service, then retries processing on a second fallback service if the first service errors."
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions zebra-chain/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-chain"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "Core Zcash data structures"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -126,7 +126,7 @@ proptest-derive = { version = "0.4.0", optional = true }
rand = { version = "0.8.5", optional = true }
rand_chacha = { version = "0.3.1", optional = true }

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.29", optional = true }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.30", optional = true }

[dev-dependencies]
# Benchmarks
Expand Down
14 changes: 7 additions & 7 deletions zebra-consensus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-consensus"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "Implementation of Zcash consensus checks"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -62,13 +62,13 @@ orchard = "0.5.0"

zcash_proofs = { version = "0.12.1", features = ["local-prover", "multicore", "download-params"] }

tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.5" }
tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.5" }
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.6" }
tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.6" }

zebra-script = { path = "../zebra-script", version = "1.0.0-beta.29" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.29" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.29" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.29" }
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.30" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.30" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.30" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.30" }

# prod feature progress-bar
howudoin = { version = "0.1.2", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions zebra-network/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-network"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
authors = ["Zcash Foundation <zebra@zfnd.org>", "Tower Maintainers <team@tower-rs.com>"]
description = "Networking code for Zebra"
# # Legal
Expand Down Expand Up @@ -83,7 +83,7 @@ howudoin = { version = "0.1.2", optional = true }
proptest = { version = "1.3.1", optional = true }
proptest-derive = { version = "0.4.0", optional = true }

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.29", features = ["async-error"] }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.30", features = ["async-error"] }

[dev-dependencies]
proptest = "1.3.1"
Expand Down
4 changes: 2 additions & 2 deletions zebra-node-services/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-node-services"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "The interfaces of some Zebra node services"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -35,7 +35,7 @@ rpc-client = [
]

[dependencies]
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.29" }
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.30" }

# Optional dependencies

Expand Down
14 changes: 7 additions & 7 deletions zebra-rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-rpc"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "A Zebra JSON Remote Procedure Call (JSON-RPC) interface"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -70,12 +70,12 @@ zcash_address = { version = "0.3.0", optional = true }
# Test-only feature proptest-impl
proptest = { version = "1.3.1", optional = true }

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.29", features = ["json-conversion"] }
zebra-consensus = { path = "../zebra-consensus", version = "1.0.0-beta.29" }
zebra-network = { path = "../zebra-network", version = "1.0.0-beta.29" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.29" }
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.29" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.29" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.30", features = ["json-conversion"] }
zebra-consensus = { path = "../zebra-consensus", version = "1.0.0-beta.30" }
zebra-network = { path = "../zebra-network", version = "1.0.0-beta.30" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.30" }
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.30" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.30" }

[dev-dependencies]
insta = { version = "1.33.0", features = ["redactions", "json", "ron"] }
Expand Down
4 changes: 2 additions & 2 deletions zebra-script/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-script"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "Zebra script verification wrapping zcashd's zcash_script library"
license = "MIT OR Apache-2.0"
Expand All @@ -17,7 +17,7 @@ categories = ["api-bindings", "cryptography::cryptocurrencies"]
[dependencies]
zcash_script = "0.1.13"

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.29" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.30" }

thiserror = "1.0.48"
displaydoc = "0.2.4"
Expand Down
6 changes: 3 additions & 3 deletions zebra-state/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-state"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "State contextual verification and storage code for Zebra"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -73,13 +73,13 @@ tracing = "0.1.37"
elasticsearch = { version = "8.5.0-alpha.1", default-features = false, features = ["rustls-tls"], optional = true }
serde_json = { version = "1.0.107", package = "serde_json", optional = true }

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.29", features = ["async-error"] }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.30", features = ["async-error"] }

# prod feature progress-bar
howudoin = { version = "0.1.2", optional = true }

# test feature proptest-impl
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.29", optional = true }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.30", optional = true }
proptest = { version = "1.3.1", optional = true }
proptest-derive = { version = "0.4.0", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion zebra-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-test"
version = "1.0.0-beta.29"
version = "1.0.0-beta.30"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "Test harnesses and test vectors for Zebra"
license = "MIT OR Apache-2.0"
Expand Down
Loading
Loading