Release 1.0.0 (#6877)

* 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>
This commit is contained in:
Deirdre Connolly 2023-06-14 00:35:45 -04:00 committed by GitHub
parent 26313fa9fe
commit fe859bd6a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 86 additions and 59 deletions

View File

@ -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,

View File

@ -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",
@ -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",
@ -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",
@ -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",
@ -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",
@ -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",
@ -5796,7 +5796,7 @@ dependencies = [
[[package]]
name = "zebra-rpc"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"chrono",
"futures",
@ -5828,7 +5828,7 @@ dependencies = [
[[package]]
name = "zebra-script"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"displaydoc",
"hex",
@ -5841,7 +5841,7 @@ dependencies = [
[[package]]
name = "zebra-state"
version = "1.0.0-beta.25"
version = "1.0.0-beta.26"
dependencies = [
"bincode",
"chrono",
@ -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",
@ -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",
@ -5930,7 +5930,7 @@ dependencies = [
[[package]]
name = "zebrad"
version = "1.0.0-rc.9"
version = "1.0.0"
dependencies = [
"abscissa_core",
"atty",

View File

@ -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).
@ -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
@ -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

View File

@ -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
```

View File

@ -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

View File

@ -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"

View File

@ -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"
@ -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

View File

@ -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"
@ -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 }

View File

@ -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
@ -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"

View File

@ -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"
@ -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

View File

@ -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"
@ -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"] }

View File

@ -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"
@ -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"

View File

@ -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"
@ -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 }

View File

@ -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"

View File

@ -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"
@ -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 }

View File

@ -1,7 +1,7 @@
[package]
# Crate metadata
name = "zebrad"
version = "1.0.0-rc.9"
version = "1.0.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
description = "The Zcash Foundation's independent, consensus-compatible implementation of a Zcash node"
license = "MIT OR Apache-2.0"
@ -116,14 +116,14 @@ test_sync_past_mandatory_checkpoint_mainnet = []
test_sync_past_mandatory_checkpoint_testnet = []
[dependencies]
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.25" }
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-rpc = { path = "../zebra-rpc", 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" }
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-rpc = { path = "../zebra-rpc", version = "1.0.0-beta.26" }
zebra-state = { path = "../zebra-state", version = "1.0.0-beta.26" }
# Required for crates.io publishing, but it's only used in tests
zebra-utils = { path = "../zebra-utils", version = "1.0.0-beta.25", optional = true }
zebra-utils = { path = "../zebra-utils", version = "1.0.0-beta.26", optional = true }
abscissa_core = "0.7.0"
clap = { version = "4.3.3", features = ["cargo"] }

View File

@ -13,7 +13,7 @@ use zebra_chain::{
use crate::application::release_version;
/// The estimated height that this release started to run.
pub const ESTIMATED_RELEASE_HEIGHT: u32 = 2_113_936;
pub const ESTIMATED_RELEASE_HEIGHT: u32 = 2_121_200;
/// The maximum number of days after `ESTIMATED_RELEASE_HEIGHT` where a Zebra server will run
/// without halting.