Skip to content

Commit

Permalink
chore: Release v1.7.0 (#8507)
Browse files Browse the repository at this point in the history
* changelog and readme for 1.7.0 release

* chore: Release

* update zebra-scan and zebra-grpc to the release crates dry run script

* update ESTIMATED_RELEASE_HEIGHT

* update the release period to 6 weeks

* update release block

* Apply suggestions from code review

Co-authored-by: Marek <[email protected]>

* Apply suggestions from code review

Co-authored-by: Marek <[email protected]>

* Apply suggestions from code review

Co-authored-by: Marek <[email protected]>

---------

Co-authored-by: Marek <[email protected]>
  • Loading branch information
oxarbitrage and upbqdn authored May 7, 2024
1 parent 211a238 commit 0ca01e6
Show file tree
Hide file tree
Showing 22 changed files with 125 additions and 101 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/release-crates-dry-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ fi
cargo release version --verbose --execute --no-confirm --allow-branch '*' --workspace --exclude zebrad --exclude zebra-scan --exclude zebra-grpc beta

# Due to a bug in cargo-release, we need to pass exact versions for alpha crates:
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-scan 0.1.0-alpha.6
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-grpc 0.1.0-alpha.4
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-scan 0.1.0-alpha.7
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-grpc 0.1.0-alpha.5

# Update zebrad:
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebrad patch
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@ 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.7.0](https://github.com/ZcashFoundation/zebra/releases/tag/v1.7.0) - 2024-05-07

In this release we introduce Regtest functionality to Zebra and restored Windows support. Also adjusted our Zebra release interval from 2 weeks to 6 weeks approximately.

### Added

- Preparing for upstream `zcash_client_backend` API changes ([#8425](https://github.com/ZcashFoundation/zebra/pull/8425))
- Regtest support ([#8383](https://github.com/ZcashFoundation/zebra/pull/8383), [#8421](https://github.com/ZcashFoundation/zebra/pull/8421), [#8368](https://github.com/ZcashFoundation/zebra/pull/8368), [#8413](https://github.com/ZcashFoundation/zebra/pull/8413), [#8474](https://github.com/ZcashFoundation/zebra/pull/8474), [#8475](https://github.com/ZcashFoundation/zebra/pull/8475))
- Allow Zebra users to contribute to the P2P network even if behind NAT or firewall ([#8488](https://github.com/ZcashFoundation/zebra/pull/8488))

### Changed

- Adjust estimated release interval to once every 6 weeks and the end of support from 16 to 20 weeks ([#8429](https://github.com/ZcashFoundation/zebra/pull/8429))

### Fixed

- Bump zcash script v0.1.15 and restore Windows support ([#8393](https://github.com/ZcashFoundation/zebra/pull/8393))
- Avoid possibly returning data from different blocks in `z_get_treestate` RPC method ([#8460](https://github.com/ZcashFoundation/zebra/pull/8460))
- Zebra panics with all features and no elasticsearch server available ([#8409](https://github.com/ZcashFoundation/zebra/pull/8409))

### Contributors

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


## [Zebra 1.6.1](https://github.com/ZcashFoundation/zebra/releases/tag/v1.6.1) - 2024-04-15

This release adds an OpenAPI specification for Zebra's RPC methods and startup logs about Zebra's storage usage and other database information.
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4883,7 +4883,7 @@ dependencies = [

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

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

[[package]]
name = "zebra-chain"
version = "1.0.0-beta.36"
version = "1.0.0-beta.37"
dependencies = [
"bitflags 2.5.0",
"bitflags-serde-legacy",
Expand Down Expand Up @@ -6050,7 +6050,7 @@ dependencies = [

[[package]]
name = "zebra-consensus"
version = "1.0.0-beta.36"
version = "1.0.0-beta.37"
dependencies = [
"bellman",
"blake2b_simd",
Expand Down Expand Up @@ -6096,7 +6096,7 @@ dependencies = [

[[package]]
name = "zebra-grpc"
version = "0.1.0-alpha.3"
version = "0.1.0-alpha.4"
dependencies = [
"color-eyre",
"futures-util",
Expand All @@ -6118,7 +6118,7 @@ dependencies = [

[[package]]
name = "zebra-network"
version = "1.0.0-beta.36"
version = "1.0.0-beta.37"
dependencies = [
"bitflags 2.5.0",
"byteorder",
Expand Down Expand Up @@ -6159,7 +6159,7 @@ dependencies = [

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

[[package]]
name = "zebra-rpc"
version = "1.0.0-beta.36"
version = "1.0.0-beta.37"
dependencies = [
"chrono",
"futures",
Expand Down Expand Up @@ -6203,7 +6203,7 @@ dependencies = [

[[package]]
name = "zebra-scan"
version = "0.1.0-alpha.5"
version = "0.1.0-alpha.6"
dependencies = [
"bls12_381",
"chrono",
Expand Down Expand Up @@ -6235,7 +6235,7 @@ dependencies = [

[[package]]
name = "zebra-script"
version = "1.0.0-beta.36"
version = "1.0.0-beta.37"
dependencies = [
"displaydoc",
"hex",
Expand All @@ -6248,7 +6248,7 @@ dependencies = [

[[package]]
name = "zebra-state"
version = "1.0.0-beta.36"
version = "1.0.0-beta.37"
dependencies = [
"bincode",
"chrono",
Expand Down Expand Up @@ -6293,7 +6293,7 @@ dependencies = [

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

[[package]]
name = "zebra-utils"
version = "1.0.0-beta.36"
version = "1.0.0-beta.37"
dependencies = [
"color-eyre",
"hex",
Expand Down Expand Up @@ -6350,7 +6350,7 @@ dependencies = [

[[package]]
name = "zebrad"
version = "1.6.1"
version = "1.7.0"
dependencies = [
"abscissa_core",
"atty",
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Zebra is tested with the latest `stable` Rust version. Earlier versions are not
supported or tested. Any Zebra release can start depending on new features in the
latest stable Rust.

Around every 4 weeks, we release a [new Zebra version](https://github.com/ZcashFoundation/zebra/releases).
Around every 6 weeks, we release a [new Zebra version](https://github.com/ZcashFoundation/zebra/releases).

Below are quick summaries for installing the dependencies on your machine.

Expand Down Expand Up @@ -185,8 +185,6 @@ There are a few bugs in Zebra that we're still working on fixing:

- Block download and verification sometimes times out during Zebra's initial sync [#5709](https://github.com/ZcashFoundation/zebra/issues/5709). The full sync still finishes reasonably quickly.

- No Windows support [#3801](https://github.com/ZcashFoundation/zebra/issues/3801). We used to test with Windows Server 2019, but not any more; `zcash_script` has recently been updated to compile with MSVC, we're now waiting on a `zcash_script` release and dependency update, see the issue for details.

- Experimental Tor support is disabled until Zebra upgrades to the latest `arti-client`. This happened due to a Rust dependency conflict ([#5492](https://github.com/ZcashFoundation/zebra/issues/5492)) and is still an issue due to [another dependency conflict](https://github.com/ZcashFoundation/zebra/issues/8328#issuecomment-1969989648).

## Documentation
Expand Down
2 changes: 1 addition & 1 deletion book/src/dev/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ In general, expect the following release cycle:

* A major release for each network upgrade, whenever there are breaking changes to Zebra (by API, severe bugs or other kind of upgrades)
* Minor releases for significant new Zebra features or severe bug fixes
* A patch release around every 4 weeks
* A patch release around every 6 weeks

This cadence of releases gives eager developers access to new features as soon as they are fully developed and pass through our code review and integration testing processes, while maintaining the stability and reliability of the platform for production users that prefer to receive features after they have been validated by Zcash and other developers that use the pre-release builds.

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 @@ -37,7 +37,7 @@ docker run -d --platform linux/amd64 \
### Build it locally

```shell
git clone --depth 1 --branch v1.6.1 https://github.com/ZcashFoundation/zebra.git
git clone --depth 1 --branch v1.7.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 @@ -19,7 +19,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.6.1
git checkout v1.7.0
```

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

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

### Compiling on ARM
Expand Down
6 changes: 3 additions & 3 deletions 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.12"
version = "0.2.41-beta.13"
authors = ["Zcash Foundation <[email protected]>", "Tower Maintainers <[email protected]>"]
description = "Tower middleware for batch request processing"
# # Legal
Expand Down Expand Up @@ -43,7 +43,7 @@ rand = "0.8.5"

tokio = { version = "1.37.0", features = ["full", "tracing", "test-util"] }
tokio-test = "0.4.4"
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.12" }
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.13" }
tower-test = "0.4.0"

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.36" }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.37" }
4 changes: 2 additions & 2 deletions 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.12"
version = "0.2.41-beta.13"
authors = ["Zcash Foundation <[email protected]>"]
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 All @@ -24,4 +24,4 @@ tracing = "0.1.39"
[dev-dependencies]
tokio = { version = "1.37.0", features = ["full", "tracing", "test-util"] }

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.36" }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.37" }
6 changes: 3 additions & 3 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.36"
version = "1.0.0-beta.37"
authors = ["Zcash Foundation <[email protected]>"]
description = "Core Zcash data structures"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -143,7 +143,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.36", optional = true }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.37", optional = true }

[dev-dependencies]
# Benchmarks
Expand All @@ -166,7 +166,7 @@ rand_chacha = "0.3.1"

tokio = { version = "1.37.0", features = ["full", "tracing", "test-util"] }

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.36" }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.37" }

[[bench]]
name = "block"
Expand Down
20 changes: 10 additions & 10 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.36"
version = "1.0.0-beta.37"
authors = ["Zcash Foundation <[email protected]>"]
description = "Implementation of Zcash consensus checks"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -63,13 +63,13 @@ orchard = "0.6.0"
zcash_proofs = { version = "0.13.0-rc.1", features = ["multicore" ] }
wagyu-zcash-parameters = "0.2.0"

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

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

# prod feature progress-bar
howudoin = { version = "0.1.2", optional = true }
Expand All @@ -94,6 +94,6 @@ tokio = { version = "1.37.0", features = ["full", "tracing", "test-util"] }
tracing-error = "0.2.0"
tracing-subscriber = "0.3.18"

zebra-state = { path = "../zebra-state", version = "1.0.0-beta.36", features = ["proptest-impl"] }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.36", features = ["proptest-impl"] }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.36" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.37", features = ["proptest-impl"] }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.37", features = ["proptest-impl"] }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.37" }
6 changes: 3 additions & 3 deletions zebra-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-grpc"
version = "0.1.0-alpha.3"
version = "0.1.0-alpha.4"
authors = ["Zcash Foundation <[email protected]>"]
description = "Zebra gRPC interface"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -28,8 +28,8 @@ color-eyre = "0.6.3"

zcash_primitives = { version = "0.13.0" }

zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.36", features = ["shielded-scan"] }
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.36" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.37", features = ["shielded-scan"] }
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.37" }

[build-dependencies]
tonic-build = "0.11.0"
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.36"
version = "1.0.0-beta.37"
authors = ["Zcash Foundation <[email protected]>", "Tower Maintainers <[email protected]>"]
description = "Networking code for Zebra"
# # Legal
Expand Down Expand Up @@ -83,7 +83,7 @@ howudoin = { version = "0.1.2", optional = true }
proptest = { version = "1.4.0", optional = true }
proptest-derive = { version = "0.4.0", optional = true }

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

[dev-dependencies]
proptest = "1.4.0"
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.36"
version = "1.0.0-beta.37"
authors = ["Zcash Foundation <[email protected]>"]
description = "The interfaces of some Zebra node services"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -37,7 +37,7 @@ rpc-client = [
shielded-scan = ["tokio"]

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

# Optional dependencies

Expand Down
Loading

0 comments on commit 0ca01e6

Please sign in to comment.