Skip to content

Commit

Permalink
Merge of #6821
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jun 8, 2023
2 parents 8bd5a98 + 02e3573 commit 2b27edf
Show file tree
Hide file tree
Showing 19 changed files with 374 additions and 33 deletions.
39 changes: 36 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,49 @@ 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.0.0-rc.9](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-rc.9) - XXXX-XX-XX

In this release ...
## [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,
and reduces sensitive information logging.

This is the last release candidate before the 1.0.0 stable release. 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=)

### Breaking Changes

- The version subcommand has been replaced with a --version/-V flag ([#6801](https://github.com/ZcashFoundation/zebra/pull/6801))

### Security

- Stop logging peer IP addresses, to protect user privacy ([#6662](https://github.com/ZcashFoundation/zebra/pull/6662))
- Stop logging potentially sensitive user information from unmined transactions ([#6616](https://github.com/ZcashFoundation/zebra/pull/6616))
- Rate-limit MetaAddrChange::Responded from peers ([#6738](https://github.com/ZcashFoundation/zebra/pull/6738))
- Ignore out of order Address Book changes, unless they are concurrent ([#6717](https://github.com/ZcashFoundation/zebra/pull/6717))
- Limit blocks and transactions sent in response to a single request ([#6679](https://github.com/ZcashFoundation/zebra/pull/6679))
- Rate-limit and size-limit peer transaction ID messages ([#6625](https://github.com/ZcashFoundation/zebra/pull/6625))
- Stop panicking on state RPC or block requests with very large heights ([#6699](https://github.com/ZcashFoundation/zebra/pull/6699))
- Try harder to drop connections when they shut down, Credit: Ziggurat Team ([#6832](https://github.com/ZcashFoundation/zebra/pull/6832))
- Randomly drop connections when inbound service is overloaded ([#6790](https://github.com/ZcashFoundation/zebra/pull/6790))

### Added

- Report compiler version and Zebra features when starting Zebra ([#6606](https://github.com/ZcashFoundation/zebra/pull/6606))
- Update Zebra book summary to include supported platforms, platform tier policy, and versioning ([#6683](https://github.com/ZcashFoundation/zebra/pull/6683))
- Improve zebrad's help output, credit to @Rqnsom ([#6801](https://github.com/ZcashFoundation/zebra/pull/6801))
- Cache a list of useful peers on disk ([#6739](https://github.com/ZcashFoundation/zebra/pull/6739))
- Make the first stable release forward-compatible with planned state changes ([#6813](https://github.com/ZcashFoundation/zebra/pull/6813))

### Fixed

- Limit RPC failure log length, add details to RPC failure logs ([#6754](https://github.com/ZcashFoundation/zebra/pull/6754))
- Allow inbound connections to Zebra running in Docker ([#6755](https://github.com/ZcashFoundation/zebra/pull/6755))
- Zebra now accepts filters for the start command when no subcommand is provided ([#6801](https://github.com/ZcashFoundation/zebra/pull/6801))
- Avoid panicking on state errors during shutdown ([#6828](https://github.com/ZcashFoundation/zebra/pull/6828))

...
### Contributors

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


## [Zebra 1.0.0-rc.8](https://github.com/ZcashFoundation/zebra/releases/tag/v1.0.0-rc.8) - 2023-05-10
Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4701,7 +4701,7 @@ dependencies = [

[[package]]
name = "tower-batch"
version = "0.2.39"
version = "0.2.40"
dependencies = [
"color-eyre",
"ed25519-zebra",
Expand All @@ -4725,7 +4725,7 @@ dependencies = [

[[package]]
name = "tower-fallback"
version = "0.2.39"
version = "0.2.40"
dependencies = [
"futures-core",
"pin-project",
Expand Down Expand Up @@ -5621,7 +5621,7 @@ dependencies = [

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

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

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

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

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

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

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

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

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

[[package]]
name = "zebrad"
version = "1.0.0-rc.8"
version = "1.0.0-rc.9"
dependencies = [
"abscissa_core",
"atty",
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,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.8
docker run zfnd/zebra:1.0.0-rc.9
```

For more information, read our [Docker documentation](book/src/user/docker.md).
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.8 zebrad
cargo install --locked --git https://github.com/ZcashFoundation/zebra --tag v1.0.0-rc.9 zebrad
```

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

- Experimental Tor support is disabled until [Zebra upgrades to the latest `arti-client`](https://github.com/ZcashFoundation/zebra/issues/5492). This happened due to a Rust dependency conflict, which could only be resolved by `arti` upgrading to a version of `x25519-dalek` with the dependency fix.

- Output of `help`, `--help` flag, and usage of invalid commands or options are inconsistent [#5502](https://github.com/ZcashFoundation/zebra/issues/5502). See the issue for details.

## Future Work

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.8
docker run --detach zfnd/zebra:1.0.0-rc.9
```

### Build it locally

```shell
git clone --depth 1 --branch v1.0.0-rc.8 https://github.com/ZcashFoundation/zebra.git
git clone --depth 1 --branch v1.0.0-rc.9 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/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tower-batch"
version = "0.2.39"
version = "0.2.40"
authors = ["Zcash Foundation <[email protected]>"]
license = "MIT"
edition = "2021"
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.39"
version = "0.2.40"
authors = ["Zcash Foundation <[email protected]>"]
license = "MIT"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion 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.24"
version = "1.0.0-beta.25"
authors = ["Zcash Foundation <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion 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.24"
version = "1.0.0-beta.25"
authors = ["Zcash Foundation <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
Expand Down
Loading

0 comments on commit 2b27edf

Please sign in to comment.