Skip to content

Commit

Permalink
chore: Release v2.0.1 (#8979)
Browse files Browse the repository at this point in the history
* Run `cargo update`

* chore: Release

* Update `release-crates-dry-run.sh`

* Update `ESTIMATED_RELEASE_HEIGHT`

* Update `CHANGELOG.md`

* Update `ESTIMATED_RELEASE_HEIGHT`
  • Loading branch information
upbqdn authored Oct 30, 2024
1 parent d930030 commit fef500a
Show file tree
Hide file tree
Showing 20 changed files with 149 additions and 120 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 patch

# 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.10
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-grpc 0.1.0-alpha.8
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-scan 0.1.0-alpha.11
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-grpc 0.1.0-alpha.9

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

- Zebra now supports NU6 on Mainnet. This patch release updates dependencies
required for NU6.

### Breaking Changes

- The JSON RPC endpoint has cookie-based authentication enabled by default.

### Added

- NU6-related documentation
([#8949](https://github.com/ZcashFoundation/zebra/pull/8949))
- A cookie-based authentication system for the JSON RPC endpoint
([#8900](https://github.com/ZcashFoundation/zebra/pull/8900),
[#8965](https://github.com/ZcashFoundation/zebra/pull/8965))

### Changed

- Set the activation height of NU6 for Mainnet and bump Zebra's current network
protocol version
([#8960](https://github.com/ZcashFoundation/zebra/pull/8960))

### Contributors

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

## [Zebra 2.0.0](https://github.com/ZcashFoundation/zebra/releases/tag/v2.0.0) - 2024-10-25

This release brings full support for NU6.
Expand Down
79 changes: 40 additions & 39 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2041,7 +2041,7 @@ dependencies = [
"http 1.1.0",
"hyper 1.5.0",
"hyper-util",
"rustls 0.23.15",
"rustls 0.23.16",
"rustls-pki-types",
"tokio",
"tokio-rustls 0.26.0",
Expand All @@ -2064,9 +2064,9 @@ dependencies = [

[[package]]
name = "hyper-util"
version = "0.1.9"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b"
checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
dependencies = [
"bytes",
"futures-channel",
Expand Down Expand Up @@ -2218,9 +2218,9 @@ dependencies = [

[[package]]
name = "insta"
version = "1.40.0"
version = "1.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6593a41c7a73841868772495db7dc1e8ecab43bb5c0b6da2059246c4b506ab60"
checksum = "a1f72d3e19488cf7d8ea52d2fc0f8754fc933398b337cd3cbdb28aaeb35159ef"
dependencies = [
"console",
"lazy_static",
Expand Down Expand Up @@ -2455,9 +2455,9 @@ dependencies = [

[[package]]
name = "libm"
version = "0.2.8"
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"

[[package]]
name = "libredox"
Expand Down Expand Up @@ -3406,7 +3406,7 @@ dependencies = [
"quinn-proto",
"quinn-udp",
"rustc-hash 2.0.0",
"rustls 0.23.15",
"rustls 0.23.16",
"socket2",
"thiserror",
"tokio",
Expand All @@ -3423,7 +3423,7 @@ dependencies = [
"rand 0.8.5",
"ring",
"rustc-hash 2.0.0",
"rustls 0.23.15",
"rustls 0.23.16",
"slab",
"thiserror",
"tinyvec",
Expand All @@ -3432,10 +3432,11 @@ dependencies = [

[[package]]
name = "quinn-udp"
version = "0.5.5"
version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fe68c2e9e1a1234e218683dbdf9f9dfcb094113c5ac2b938dfcb9bab4c4140b"
checksum = "e346e016eacfff12233c243718197ca12f148c84e1e84268a896699b41c71780"
dependencies = [
"cfg_aliases",
"libc",
"once_cell",
"socket2",
Expand Down Expand Up @@ -3716,9 +3717,9 @@ dependencies = [

[[package]]
name = "reqwest"
version = "0.12.8"
version = "0.12.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f713147fbe92361e52392c73b8c9e48c04c6625bce969ef54dc901e58e042a7b"
checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f"
dependencies = [
"base64 0.22.1",
"bytes",
Expand All @@ -3739,7 +3740,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"quinn",
"rustls 0.23.15",
"rustls 0.23.16",
"rustls-pemfile 2.2.0",
"rustls-pki-types",
"serde",
Expand Down Expand Up @@ -3864,9 +3865,9 @@ dependencies = [

[[package]]
name = "rustix"
version = "0.38.37"
version = "0.38.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
checksum = "aa260229e6538e52293eeb577aabd09945a09d6d9cc0fc550ed7529056c2e32a"
dependencies = [
"bitflags 2.6.0",
"errno",
Expand All @@ -3889,9 +3890,9 @@ dependencies = [

[[package]]
name = "rustls"
version = "0.23.15"
version = "0.23.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fbb44d7acc4e873d613422379f69f237a1b141928c02f6bc6ccfddddc2d7993"
checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e"
dependencies = [
"log",
"once_cell",
Expand Down Expand Up @@ -4088,7 +4089,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00421ed8fa0c995f07cde48ba6c89e80f2b312f74ff637326f392fbfd23abe02"
dependencies = [
"httpdate",
"reqwest 0.12.8",
"reqwest 0.12.9",
"rustls 0.21.12",
"sentry-backtrace",
"sentry-contexts",
Expand Down Expand Up @@ -4169,9 +4170,9 @@ dependencies = [

[[package]]
name = "serde"
version = "1.0.213"
version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ea7893ff5e2466df8d720bb615088341b295f849602c6956047f8f80f0e9bc1"
checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5"
dependencies = [
"serde_derive",
]
Expand All @@ -4187,9 +4188,9 @@ dependencies = [

[[package]]
name = "serde_derive"
version = "1.0.213"
version = "1.0.214"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e85ad2009c50b58e87caa8cd6dac16bdf511bbfb7af6c33df902396aa480fa5"
checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766"
dependencies = [
"proc-macro2",
"quote",
Expand Down Expand Up @@ -4746,7 +4747,7 @@ version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
dependencies = [
"rustls 0.23.15",
"rustls 0.23.16",
"rustls-pki-types",
"tokio",
]
Expand Down Expand Up @@ -4940,7 +4941,7 @@ dependencies = [

[[package]]
name = "tower-batch-control"
version = "0.2.41-beta.17"
version = "0.2.41-beta.18"
dependencies = [
"color-eyre",
"ed25519-zebra",
Expand All @@ -4963,7 +4964,7 @@ dependencies = [

[[package]]
name = "tower-fallback"
version = "0.2.41-beta.17"
version = "0.2.41-beta.18"
dependencies = [
"futures-core",
"pin-project",
Expand Down Expand Up @@ -5274,7 +5275,7 @@ dependencies = [
"base64 0.22.1",
"log",
"once_cell",
"rustls 0.23.15",
"rustls 0.23.16",
"rustls-pki-types",
"url",
"webpki-roots 0.26.6",
Expand Down Expand Up @@ -6038,7 +6039,7 @@ dependencies = [

[[package]]
name = "zebra-chain"
version = "1.0.0-beta.41"
version = "1.0.0-beta.42"
dependencies = [
"bitflags 2.6.0",
"bitflags-serde-legacy",
Expand Down Expand Up @@ -6103,7 +6104,7 @@ dependencies = [

[[package]]
name = "zebra-consensus"
version = "1.0.0-beta.41"
version = "1.0.0-beta.42"
dependencies = [
"bellman",
"blake2b_simd",
Expand Down Expand Up @@ -6149,7 +6150,7 @@ dependencies = [

[[package]]
name = "zebra-grpc"
version = "0.1.0-alpha.8"
version = "0.1.0-alpha.9"
dependencies = [
"color-eyre",
"futures-util",
Expand All @@ -6171,7 +6172,7 @@ dependencies = [

[[package]]
name = "zebra-network"
version = "1.0.0-beta.41"
version = "1.0.0-beta.42"
dependencies = [
"bitflags 2.6.0",
"byteorder",
Expand Down Expand Up @@ -6212,7 +6213,7 @@ dependencies = [

[[package]]
name = "zebra-node-services"
version = "1.0.0-beta.41"
version = "1.0.0-beta.42"
dependencies = [
"color-eyre",
"jsonrpc-core",
Expand All @@ -6225,7 +6226,7 @@ dependencies = [

[[package]]
name = "zebra-rpc"
version = "1.0.0-beta.41"
version = "1.0.0-beta.42"
dependencies = [
"base64 0.22.1",
"chrono",
Expand Down Expand Up @@ -6264,7 +6265,7 @@ dependencies = [

[[package]]
name = "zebra-scan"
version = "0.1.0-alpha.10"
version = "0.1.0-alpha.11"
dependencies = [
"bls12_381",
"chrono",
Expand Down Expand Up @@ -6310,7 +6311,7 @@ dependencies = [

[[package]]
name = "zebra-script"
version = "1.0.0-beta.41"
version = "1.0.0-beta.42"
dependencies = [
"hex",
"lazy_static",
Expand All @@ -6322,7 +6323,7 @@ dependencies = [

[[package]]
name = "zebra-state"
version = "1.0.0-beta.41"
version = "1.0.0-beta.42"
dependencies = [
"bincode",
"chrono",
Expand Down Expand Up @@ -6367,7 +6368,7 @@ dependencies = [

[[package]]
name = "zebra-test"
version = "1.0.0-beta.41"
version = "1.0.0-beta.42"
dependencies = [
"color-eyre",
"futures",
Expand Down Expand Up @@ -6395,7 +6396,7 @@ dependencies = [

[[package]]
name = "zebra-utils"
version = "1.0.0-beta.41"
version = "1.0.0-beta.42"
dependencies = [
"color-eyre",
"hex",
Expand Down Expand Up @@ -6426,7 +6427,7 @@ dependencies = [

[[package]]
name = "zebrad"
version = "2.0.0"
version = "2.0.1"
dependencies = [
"abscissa_core",
"atty",
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 v2.0.0 https://github.com/ZcashFoundation/zebra.git
git clone --depth 1 --branch v2.0.1 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 @@ -76,7 +76,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 v2.0.0
git checkout v2.0.1
```

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

```sh
cargo install --git https://github.com/ZcashFoundation/zebra --tag v2.0.0 zebrad
cargo install --git https://github.com/ZcashFoundation/zebra --tag v2.0.1 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.17"
version = "0.2.41-beta.18"
authors = ["Zcash Foundation <[email protected]>", "Tower Maintainers <[email protected]>"]
description = "Tower middleware for batch request processing"
# # Legal
Expand Down Expand Up @@ -43,10 +43,10 @@ rand = "0.8.5"

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

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.41" }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.42" }

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
Loading

0 comments on commit fef500a

Please sign in to comment.