Skip to content

Commit 58bfe97

Browse files
upbqdnarya2
andauthored
chore: Release v1.6.0 (#8319)
* Prepare the CHANGELOG for v1.6.0 * chore: Release * Set `ESTIMATED_RELEASE_HEIGHT` to 2_413_000 * Revert "chore: Release" This reverts commit 5261e85. * chore: Release * Fix release-crates-dry-run * Temporarily turn off bumps for `zebra-{scan,grpc}` * Apply suggestions from code review Co-authored-by: Arya <aryasolhi@gmail.com> * Re-enable test bump for `zebra-scan` * Re-enable test bumps for `zebra-{scan, grpc}` * Turn off dry-run bumps for `zebra-{scan, grpc}` * Re-enable bumps and disable dry-run publishing * Re-enable dry-run publishing * Exclude `zebra-scan` from publishing --------- Co-authored-by: Arya <aryasolhi@gmail.com>
1 parent c2cfde0 commit 58bfe97

20 files changed

Lines changed: 159 additions & 104 deletions

File tree

.github/workflows/scripts/release-crates-dry-run.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ fi
2121
# with an extra `--no-confirm` argument for non-interactive testing.
2222
# Update everything except for alpha crates and zebrad:
2323
cargo release version --verbose --execute --no-confirm --allow-branch '*' --workspace --exclude zebrad --exclude zebra-scan --exclude zebra-grpc beta
24+
2425
# Due to a bug in cargo-release, we need to pass exact versions for alpha crates:
25-
cargo release version --verbose --execute --allow-branch '*' --package zebra-scan 0.1.0-alpha.4
26-
cargo release version --verbose --execute --allow-branch '*' --package zebra-grpc 0.1.0-alpha.2
26+
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-scan 0.1.0-alpha.5
27+
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebra-grpc 0.1.0-alpha.3
28+
2729
# Update zebrad:
2830
cargo release version --verbose --execute --no-confirm --allow-branch '*' --package zebrad patch
2931
# Continue with the release process:
@@ -33,6 +35,6 @@ cargo release commit --verbose --execute --no-confirm --allow-branch '*'
3335
# Dry run to check the release
3436
# Workaround for unpublished dependency version errors: https://github.com/crate-ci/cargo-release/issues/691
3537
# TODO: check all crates after fixing these errors
36-
cargo release publish --verbose --dry-run --allow-branch '*' --workspace --exclude zebra-consensus --exclude zebra-utils --exclude zebrad
38+
cargo release publish --verbose --dry-run --allow-branch '*' --workspace --exclude zebra-consensus --exclude zebra-utils --exclude zebrad --exclude zebra-scan
3739

3840
echo "Release process completed."

CHANGELOG.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,64 @@ All notable changes to Zebra are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org).
77

8+
## [Zebra 1.6.0](https://github.com/ZcashFoundation/zebra/releases/tag/v1.6.0) - 2024-02-23
9+
10+
This release exposes the shielded scanning functionality through an initial
11+
version of a gRPC server, documented in the [Zebra
12+
Book](https://zebra.zfnd.org/user/shielded-scan-grpc-server.html).
13+
14+
> [!NOTE]
15+
> Building Zebra now depends on
16+
> [`protoc`](https://github.com/protocolbuffers/protobuf). See the [Build
17+
> Instructions](https://github.com/ZcashFoundation/zebra?tab=readme-ov-file#building-zebra)
18+
> for more details.
19+
20+
### Added
21+
22+
- Add `docker-compose` file to run CI locally ([#8209](https://github.com/ZcashFoundation/zebra/pull/8209))
23+
- Allow users to use Zebra + LWD with persistent states ([#8215](https://github.com/ZcashFoundation/zebra/pull/8215))
24+
25+
#### Scanner
26+
27+
- Add a new `zebra-grpc` crate ([#8167](https://github.com/ZcashFoundation/zebra/pull/8167))
28+
- Start scanner gRPC server with `zebrad` ([#8241](https://github.com/ZcashFoundation/zebra/pull/8241))
29+
- Add gRPC server reflection and document how to use the gRPC server ([#8288](https://github.com/ZcashFoundation/zebra/pull/8288))
30+
- Add the `GetInfo` gRPC method ([#8178](https://github.com/ZcashFoundation/zebra/pull/8178))
31+
- Add the `GetResults` gRPC method ([#8255](https://github.com/ZcashFoundation/zebra/pull/8255))
32+
- Add the `Scan` gRPC method ([#8268](https://github.com/ZcashFoundation/zebra/pull/8268), [#8303](https://github.com/ZcashFoundation/zebra/pull/8303))
33+
- Add the `RegisterKeys` gRPC method ([#8266](https://github.com/ZcashFoundation/zebra/pull/8266))
34+
- Add the `ClearResults` and `DeleteKeys` gRPC methods ([#8237](https://github.com/ZcashFoundation/zebra/pull/8237))
35+
- Add snapshot tests for new gRPCs ([#8277](https://github.com/ZcashFoundation/zebra/pull/8277))
36+
- Add unit tests for new gRPCs ([#8293](https://github.com/ZcashFoundation/zebra/pull/8293))
37+
- Create a tower Service in `zebra-scan` ([#8185](https://github.com/ZcashFoundation/zebra/pull/8185))
38+
- Implement the `SubscribeResults` scan service request ([#8253](https://github.com/ZcashFoundation/zebra/pull/8253))
39+
- Implement the `ClearResults` scan service request ([#8219](https://github.com/ZcashFoundation/zebra/pull/8219))
40+
- Implement the `DeleteKeys` scan service request ([#8217](https://github.com/ZcashFoundation/zebra/pull/8217))
41+
- Implement the `RegisterKeys` scan service request ([#8251](https://github.com/ZcashFoundation/zebra/pull/8251))
42+
- Implement the `Results` scan service request ([#8224](https://github.com/ZcashFoundation/zebra/pull/8224))
43+
- Test the `RegisterKeys` scan service request ([#8281](https://github.com/ZcashFoundation/zebra/pull/8281))
44+
- Add `ViewingKey` type in `zebra-chain` ([#8198](https://github.com/ZcashFoundation/zebra/pull/8198))
45+
- Handle `RegisterKeys` messages in scan task ([#8222](https://github.com/ZcashFoundation/zebra/pull/8222))
46+
47+
### Changed
48+
49+
- Remove `rfc.md` file ([#8228](https://github.com/ZcashFoundation/zebra/pull/8228))
50+
- Update Debian from Bullseye to Bookworm in Docker ([#8273](https://github.com/ZcashFoundation/zebra/pull/8273))
51+
- Remove Zebra RFCs from `CONTRIBUTING.md` ([#8304](https://github.com/ZcashFoundation/zebra/pull/8304))
52+
- Publish fewer tags in Docker Hub ([#8300](https://github.com/ZcashFoundation/zebra/pull/8300))
53+
- Add Zebra crate versions to dev-dependencies and remove circular dev-dependencies ([#8171](https://github.com/ZcashFoundation/zebra/pull/8171))
54+
- Update docs for building Zebra ([#8315](https://github.com/ZcashFoundation/zebra/pull/8315))
55+
56+
### Fixed
57+
58+
- Set log rotation to avoid docker bugs ([#8269](https://github.com/ZcashFoundation/zebra/pull/8269))
59+
- Improve error message in `non_blocking_logger` test ([#8276](https://github.com/ZcashFoundation/zebra/pull/8276))
60+
61+
### Contributors
62+
63+
Thank you to everyone who contributed to this release, we couldn't make Zebra without you:
64+
@arya2, @bishopcheckmate, @chairulakmal, @gustavovalverde, @mpguerra, @oxarbitrage and @upbqdn.
65+
866
## [Zebra 1.5.2](https://github.com/ZcashFoundation/zebra/releases/tag/v1.5.2) - 2024-01-23
967

1068
This release serves as a hotfix for version 1.5.1, addressing issues encountered after its initial release. For more information about version 1.5.1, refer to [this link](https://github.com/ZcashFoundation/zebra/releases/tag/v1.5.2).

Cargo.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4684,7 +4684,7 @@ dependencies = [
46844684

46854685
[[package]]
46864686
name = "tower-batch-control"
4687-
version = "0.2.41-beta.10"
4687+
version = "0.2.41-beta.11"
46884688
dependencies = [
46894689
"color-eyre",
46904690
"ed25519-zebra",
@@ -4707,7 +4707,7 @@ dependencies = [
47074707

47084708
[[package]]
47094709
name = "tower-fallback"
4710-
version = "0.2.41-beta.10"
4710+
version = "0.2.41-beta.11"
47114711
dependencies = [
47124712
"futures-core",
47134713
"pin-project",
@@ -5691,7 +5691,7 @@ dependencies = [
56915691

56925692
[[package]]
56935693
name = "zebra-chain"
5694-
version = "1.0.0-beta.34"
5694+
version = "1.0.0-beta.35"
56955695
dependencies = [
56965696
"bitflags 2.4.2",
56975697
"bitflags-serde-legacy",
@@ -5753,7 +5753,7 @@ dependencies = [
57535753

57545754
[[package]]
57555755
name = "zebra-consensus"
5756-
version = "1.0.0-beta.34"
5756+
version = "1.0.0-beta.35"
57575757
dependencies = [
57585758
"bellman",
57595759
"blake2b_simd",
@@ -5799,7 +5799,7 @@ dependencies = [
57995799

58005800
[[package]]
58015801
name = "zebra-grpc"
5802-
version = "0.1.0-alpha.1"
5802+
version = "0.1.0-alpha.2"
58035803
dependencies = [
58045804
"color-eyre",
58055805
"futures-util",
@@ -5821,7 +5821,7 @@ dependencies = [
58215821

58225822
[[package]]
58235823
name = "zebra-network"
5824-
version = "1.0.0-beta.34"
5824+
version = "1.0.0-beta.35"
58255825
dependencies = [
58265826
"bitflags 2.4.2",
58275827
"byteorder",
@@ -5862,7 +5862,7 @@ dependencies = [
58625862

58635863
[[package]]
58645864
name = "zebra-node-services"
5865-
version = "1.0.0-beta.34"
5865+
version = "1.0.0-beta.35"
58665866
dependencies = [
58675867
"color-eyre",
58685868
"jsonrpc-core",
@@ -5875,7 +5875,7 @@ dependencies = [
58755875

58765876
[[package]]
58775877
name = "zebra-rpc"
5878-
version = "1.0.0-beta.34"
5878+
version = "1.0.0-beta.35"
58795879
dependencies = [
58805880
"chrono",
58815881
"futures",
@@ -5906,7 +5906,7 @@ dependencies = [
59065906

59075907
[[package]]
59085908
name = "zebra-scan"
5909-
version = "0.1.0-alpha.3"
5909+
version = "0.1.0-alpha.4"
59105910
dependencies = [
59115911
"bls12_381",
59125912
"chrono",
@@ -5938,7 +5938,7 @@ dependencies = [
59385938

59395939
[[package]]
59405940
name = "zebra-script"
5941-
version = "1.0.0-beta.34"
5941+
version = "1.0.0-beta.35"
59425942
dependencies = [
59435943
"displaydoc",
59445944
"hex",
@@ -5951,7 +5951,7 @@ dependencies = [
59515951

59525952
[[package]]
59535953
name = "zebra-state"
5954-
version = "1.0.0-beta.34"
5954+
version = "1.0.0-beta.35"
59555955
dependencies = [
59565956
"bincode",
59575957
"chrono",
@@ -5995,7 +5995,7 @@ dependencies = [
59955995

59965996
[[package]]
59975997
name = "zebra-test"
5998-
version = "1.0.0-beta.34"
5998+
version = "1.0.0-beta.35"
59995999
dependencies = [
60006000
"color-eyre",
60016001
"futures",
@@ -6023,7 +6023,7 @@ dependencies = [
60236023

60246024
[[package]]
60256025
name = "zebra-utils"
6026-
version = "1.0.0-beta.34"
6026+
version = "1.0.0-beta.35"
60276027
dependencies = [
60286028
"color-eyre",
60296029
"hex",
@@ -6048,7 +6048,7 @@ dependencies = [
60486048

60496049
[[package]]
60506050
name = "zebrad"
6051-
version = "1.5.2"
6051+
version = "1.6.0"
60526052
dependencies = [
60536053
"abscissa_core",
60546054
"atty",

book/src/user/docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ docker run -d --platform linux/amd64 \
3737
### Build it locally
3838

3939
```shell
40-
git clone --depth 1 --branch v1.5.2 https://github.com/ZcashFoundation/zebra.git
40+
git clone --depth 1 --branch v1.6.0 https://github.com/ZcashFoundation/zebra.git
4141
docker build --file docker/Dockerfile --target runtime --tag zebra:local .
4242
docker run --detach zebra:local
4343
```

book/src/user/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To compile Zebra directly from GitHub, or from a GitHub release source archive:
1919
```sh
2020
git clone https://github.com/ZcashFoundation/zebra.git
2121
cd zebra
22-
git checkout v1.5.2
22+
git checkout v1.6.0
2323
```
2424

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

3434
```sh
35-
cargo install --git https://github.com/ZcashFoundation/zebra --tag v1.5.2 zebrad
35+
cargo install --git https://github.com/ZcashFoundation/zebra --tag v1.6.0 zebrad
3636
```
3737

3838
### Compiling on ARM

tower-batch-control/Cargo.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
[package]
22
name = "tower-batch-control"
3-
version = "0.2.41-beta.10"
4-
authors = [
5-
"Zcash Foundation <zebra@zfnd.org>",
6-
"Tower Maintainers <team@tower-rs.com>",
7-
]
3+
version = "0.2.41-beta.11"
4+
authors = ["Zcash Foundation <zebra@zfnd.org>", "Tower Maintainers <team@tower-rs.com>"]
85
description = "Tower middleware for batch request processing"
96
# # Legal
107
#
@@ -46,7 +43,7 @@ rand = "0.8.5"
4643

4744
tokio = { version = "1.36.0", features = ["full", "tracing", "test-util"] }
4845
tokio-test = "0.4.3"
49-
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.10" }
46+
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.11" }
5047
tower-test = "0.4.0"
5148

52-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.34" }
49+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.35" }

tower-fallback/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tower-fallback"
3-
version = "0.2.41-beta.10"
3+
version = "0.2.41-beta.11"
44
authors = ["Zcash Foundation <zebra@zfnd.org>"]
55
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."
66
license = "MIT OR Apache-2.0"
@@ -24,4 +24,4 @@ tracing = "0.1.39"
2424
[dev-dependencies]
2525
tokio = { version = "1.36.0", features = ["full", "tracing", "test-util"] }
2626

27-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.34" }
27+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.35" }

zebra-chain/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zebra-chain"
3-
version = "1.0.0-beta.34"
3+
version = "1.0.0-beta.35"
44
authors = ["Zcash Foundation <zebra@zfnd.org>"]
55
description = "Core Zcash data structures"
66
license = "MIT OR Apache-2.0"
@@ -145,7 +145,7 @@ proptest-derive = { version = "0.4.0", optional = true }
145145
rand = { version = "0.8.5", optional = true }
146146
rand_chacha = { version = "0.3.1", optional = true }
147147

148-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.34", optional = true }
148+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.35", optional = true }
149149

150150
[dev-dependencies]
151151
# Benchmarks
@@ -168,7 +168,7 @@ rand_chacha = "0.3.1"
168168

169169
tokio = { version = "1.36.0", features = ["full", "tracing", "test-util"] }
170170

171-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.34" }
171+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.35" }
172172

173173
[[bench]]
174174
name = "block"

zebra-consensus/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zebra-consensus"
3-
version = "1.0.0-beta.34"
3+
version = "1.0.0-beta.35"
44
authors = ["Zcash Foundation <zebra@zfnd.org>"]
55
description = "Implementation of Zcash consensus checks"
66
license = "MIT OR Apache-2.0"
@@ -63,13 +63,13 @@ orchard = "0.6.0"
6363
zcash_proofs = { version = "0.13.0-rc.1", features = ["multicore" ] }
6464
wagyu-zcash-parameters = "0.2.0"
6565

66-
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.10" }
67-
tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.10" }
66+
tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.11" }
67+
tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.11" }
6868

69-
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.34" }
70-
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.34" }
71-
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.34" }
72-
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.34" }
69+
zebra-script = { path = "../zebra-script", version = "1.0.0-beta.35" }
70+
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.35" }
71+
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.35" }
72+
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.35" }
7373

7474
# prod feature progress-bar
7575
howudoin = { version = "0.1.2", optional = true }
@@ -94,6 +94,6 @@ tokio = { version = "1.36.0", features = ["full", "tracing", "test-util"] }
9494
tracing-error = "0.2.0"
9595
tracing-subscriber = "0.3.18"
9696

97-
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.34", features = ["proptest-impl"] }
98-
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.34", features = ["proptest-impl"] }
99-
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.34" }
97+
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.35", features = ["proptest-impl"] }
98+
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.35", features = ["proptest-impl"] }
99+
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.35" }

zebra-grpc/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zebra-grpc"
3-
version = "0.1.0-alpha.1"
3+
version = "0.1.0-alpha.2"
44
authors = ["Zcash Foundation <zebra@zfnd.org>"]
55
description = "Zebra gRPC interface"
66
license = "MIT OR Apache-2.0"
@@ -28,8 +28,8 @@ color-eyre = "0.6.2"
2828

2929
zcash_primitives = { version = "0.13.0-rc.1" }
3030

31-
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.34", features = ["shielded-scan"] }
32-
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.34" }
31+
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.35", features = ["shielded-scan"] }
32+
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.35" }
3333

3434
[build-dependencies]
3535
tonic-build = "0.11.0"

0 commit comments

Comments
 (0)