Skip to content

Commit

Permalink
✨ Release 1.0.0 ✨ (#6877)
Browse files Browse the repository at this point in the history
* Include zebra-* and tower-fallback versions and paths for tower-batch-control

* Remove versions for dev-dependencise

* fix(legal): Use correct licenses for tower-batch-control and zebra-network (#6927)

* Don't modify whitespace

* Resolve rustdoc and cargo-release warnings

* Bump semver

* Re-up Cargo.lock

* Update README.md

Co-authored-by: teor <teor@riseup.net>

* Update book/src/user/docker.md

Co-authored-by: teor <teor@riseup.net>

* Update 'Future Work' section post stable release

* Add release notes to CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: teor <teor@riseup.net>

* Remove Docker container change from the changelog

Co-authored-by: teor <teor@riseup.net>

* Point at the appropriate zebra-* crate versions

* Update ESTIMATED_RELEASE_HEIGHT to 2,121,200

* Add CHANGELOG summary of the 1.0.0 release

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: teor <teor@riseup.net>

* Bump tower-* beta.* versions and use them

---------

Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Pili Guerra <pili@piliguerra.com>
  • Loading branch information
3 people committed Jun 14, 2023
1 parent 26313fa commit fe859bd
Show file tree
Hide file tree
Showing 17 changed files with 86 additions and 59 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,35 @@ 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.0.0](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0) - 2023-06-14

This is our 1.0.0 stable release.

This release also fixes a panic at startup when parsing the app version, [publishes `zebrad` to crates.io](https://crates.io/crates/zebrad), and [publishes to Docker Hub under the `latest` tag](https://hub.docker.com/r/zfnd/zebra/tags).

Please report bugs to [the Zebra GitHub repository](https://github.com/ZcashFoundation/zebra/issues/new?assignees=&labels=C-bug%2C+S-needs-triage&projects=&template=bug_report.yml&title=)

### Security

- Avoid potential concurrency bugs in outbound handshakes ([#6869](https://github.com/ZcashFoundation/zebra/pull/6869))

### Changed

- Publish to [crates.io](https://crates.io/crates/zebrad) ([#6908(https://github.com/ZcashFoundation/zebra/pull/6908))
- Rename tower-batch to tower-batch-control ([#6907](https://github.com/ZcashFoundation/zebra/pull/6907))
- Upgrade to ed25519-zebra 4.0.0 ([#6881](https://github.com/ZcashFoundation/zebra/pull/6881))

### Fixed

- Stop panicking at startup when parsing the app version ([#6888](https://github.com/ZcashFoundation/zebra/pull/6888))
- Avoid a race condition in testing modified JoinSplits ([#6921](https://github.com/ZcashFoundation/zebra/pull/6921))

### Contributors

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


## [Zebra 1.0.0-rc.9](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-rc.9) - 2023-06-07

This release continues to address audit findings. It fixes multiple network protocol and RPC bugs,
Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4719,7 +4719,7 @@ dependencies = [

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

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

[[package]]
name = "zebra-chain"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"bitflags 2.3.1",
"bitflags-serde-legacy",
Expand Down Expand Up @@ -5699,7 +5699,7 @@ dependencies = [

[[package]]
name = "zebra-consensus"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"bellman",
"blake2b_simd",
Expand Down Expand Up @@ -5744,7 +5744,7 @@ dependencies = [

[[package]]
name = "zebra-network"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"bitflags 2.3.1",
"byteorder",
Expand Down Expand Up @@ -5784,7 +5784,7 @@ dependencies = [

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

[[package]]
name = "zebra-rpc"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"chrono",
"futures",
Expand Down Expand Up @@ -5828,7 +5828,7 @@ dependencies = [

[[package]]
name = "zebra-script"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"displaydoc",
"hex",
Expand All @@ -5841,7 +5841,7 @@ dependencies = [

[[package]]
name = "zebra-state"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"bincode",
"chrono",
Expand Down Expand Up @@ -5882,7 +5882,7 @@ dependencies = [

[[package]]
name = "zebra-test"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"color-eyre",
"futures",
Expand All @@ -5909,7 +5909,7 @@ dependencies = [

[[package]]
name = "zebra-utils"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"color-eyre",
"hex",
Expand All @@ -5930,7 +5930,7 @@ dependencies = [

[[package]]
name = "zebrad"
version = "1.0.0-rc.9"
version = "1.0.0"
dependencies = [
"abscissa_core",
"atty",
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ section in the Zebra book for system requirements.
This command will run our latest release, and sync it to the tip:

```sh
docker run zfnd/zebra:1.0.0-rc.9
docker run zfnd/zebra:latest
```

For more information, read our [Docker documentation](https://zebra.zfnd.org/user/docker.html).
Expand Down Expand Up @@ -101,7 +101,7 @@ Note that the package `clang` includes `libclang` as well as the C++ compiler.
Once the dependencies are in place, you can build Zebra

```sh
cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-rc.9 zebrad
cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0 zebrad
```

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

## Future Work

The Zebra team is currently working towards an audited stable release.

We will continue to add new features as part of future network upgrades, and in response to community feedback.

## Documentation
Expand Down
4 changes: 2 additions & 2 deletions book/src/user/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ You can deploy Zebra for a daily use with the images available in [Docker Hub](h
### Ready to use image

```shell
docker run --detach zfnd/zebra:1.0.0-rc.9
docker run --detach zfnd/zebra:latest
```

### Build it locally

```shell
git clone --depth 1 --branch v1.0.0-rc.9 https://github.com/ZcashFoundation/zebra.git
git clone --depth 1 --branch v1.0.0 https://github.com/ZcashFoundation/zebra.git
docker build --file docker/Dockerfile --target runtime --tag zebra:local .
docker run --detach zebra:local
```
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.1"
version = "0.2.41-beta.2"
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.1"
version = "0.2.41-beta.2"
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.25"
version = "1.0.0-beta.26"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "Core Zcash data structures"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -116,7 +116,7 @@ rand_chacha = { version = "0.3.1", optional = true }

tokio = { version = "1.28.2", features = ["tracing"], optional = true }

zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.25", optional = true }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.26", 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.25"
version = "1.0.0-beta.26"
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.4.0"

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

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

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

# 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.25"
version = "1.0.0-beta.26"
authors = ["Zcash Foundation <zebra@zfnd.org>", "Tower Maintainers <team@tower-rs.com>"]
description = "Networking code for Zebra"
# # Legal
Expand Down Expand Up @@ -78,7 +78,7 @@ howudoin = { version = "0.1.2", optional = true }
proptest = { version = "1.2.0", optional = true }
proptest-derive = { version = "0.3.0", optional = true }

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.25" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.26" }

[dev-dependencies]
proptest = "1.2.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.25"
version = "1.0.0-beta.26"
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.25"}
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.26"}

# 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.25"
version = "1.0.0-beta.26"
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.2.1", optional = true }
# Test-only feature proptest-impl
proptest = { version = "1.2.0", optional = true }

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

[dev-dependencies]
insta = { version = "1.29.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.25"
version = "1.0.0-beta.26"
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.12"

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.25" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.26" }

thiserror = "1.0.40"
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.25"
version = "1.0.0-beta.26"
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 @@ -69,13 +69,13 @@ tracing = "0.1.37"
elasticsearch = { version = "8.5.0-alpha.1", package = "elasticsearch", optional = true }
serde_json = { version = "1.0.96", package = "serde_json", optional = true }

zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.25" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.26" }

# 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.25", optional = true }
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.26", optional = true }
proptest = { version = "1.2.0", optional = true }
proptest-derive = { version = "0.3.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.25"
version = "1.0.0-beta.26"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "Test harnesses and test vectors for Zebra"
license = "MIT OR Apache-2.0"
Expand Down
8 changes: 4 additions & 4 deletions zebra-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zebra-utils"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "Developer tools for Zebra maintenance and testing"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -70,11 +70,11 @@ tracing-error = "0.2.0"
tracing-subscriber = "0.3.17"
thiserror = "1.0.40"

zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.25" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.25" }
zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.26" }
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.26" }

# These crates are needed for the block-template-to-proposal binary
zebra-rpc = { path = "../zebra-rpc", version = "1.0.0-beta.25", optional = true }
zebra-rpc = { path = "../zebra-rpc", version = "1.0.0-beta.26", optional = true }

# These crates are needed for the zebra-checkpoints binary
itertools = { version = "0.10.5", optional = true }
Expand Down
Loading

0 comments on commit fe859bd

Please sign in to comment.