-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v2.1.0 #9072
Release v2.1.0 #9072
Conversation
Should a version of "add pub functionality for zaino" be included in the changelog? Omitted changelog entries (may include duplicates):
|
Recommended fixes for image
|
Name | bookworm-20241202-slim |
Digest | sha256:b73bf02f32434c9be21adf83b9aedf33e731784d8d2dacbbd3ce5f4993f2a2de |
Vulnerabilities | |
Pushed | 4 days ago |
Size | 28 MB |
Packages | 0 |
Flavor | debian |
OS | 12 |
Slim | ✅ |
The base image is also available under the supported tag(s):12-slim
,12.8-slim
,bookworm-20241202-slim
Refresh base image
Rebuild the image using a newer base image version. Updating this may result in breaking changes.✅ This image version is up to date.
Change base image
Tag | Details | Pushed | Vulnerabilities |
---|---|---|---|
stable-slim Tag is preferred tag Also known as:
|
Benefits:
|
4 days ago | |
bookworm Tag is latest Also known as:
|
Benefits:
|
4 days ago | |
stable Image has same number of vulnerabilities Also known as:
|
Benefits:
|
4 days ago | |
testing-slim Major OS version update Also known as:
|
Benefits:
|
4 days ago | |
sid-slim Major OS version update Also known as:
|
Benefits:
|
4 days ago |
Overview
Labels (3 changes)
-org.opencontainers.image.created=2024-10-30T16:15:11.267Z
+org.opencontainers.image.created=2024-12-06T17:32:23.874Z
org.opencontainers.image.description=Zcash - Financial Privacy in Rust 🦓
org.opencontainers.image.licenses=Apache-2.0
-org.opencontainers.image.revision=fef500a72840d4b7c89d68e14980eeda43869873
+org.opencontainers.image.revision=fb92f274fef4db0e02d72855e7970f0034a21729
org.opencontainers.image.source=https://github.com/ZcashFoundation/zebra
org.opencontainers.image.title=zebra
org.opencontainers.image.url=https://github.com/ZcashFoundation/zebra
-org.opencontainers.image.version=2.0.1
+org.opencontainers.image.version=pr-9072 Packages and Vulnerabilities (19 package changes and 1 vulnerability changes)
Changes for packages of type
|
Package | Versionzfnd/zebra:latest |
Versionus-docker.pkg.dev/zfnd-dev-zebra/zebra/zebrad:pr-9072 |
|
---|---|---|---|
♾️ | base-files | 12.4+deb12u7 |
12.4+deb12u8 |
♾️ | bsdutils | 1:2.38.1-5+deb12u1 |
1:2.38.1-5+deb12u2 |
♾️ | curl | 7.88.1-10+deb12u7 |
7.88.1-10+deb12u8 |
♾️ | libblkid1 | 2.38.1-5+deb12u1 |
2.38.1-5+deb12u2 |
♾️ | libc-bin | 2.36-9+deb12u8 |
2.36-9+deb12u9 |
♾️ | libc6 | 2.36-9+deb12u8 |
2.36-9+deb12u9 |
♾️ | libcurl4 | 7.88.1-10+deb12u7 |
7.88.1-10+deb12u8 |
♾️ | libmount1 | 2.38.1-5+deb12u1 |
2.38.1-5+deb12u2 |
♾️ | libnghttp2-14 | 1.52.0-1+deb12u1 |
1.52.0-1+deb12u2 |
♾️ | libsmartcols1 | 2.38.1-5+deb12u1 |
2.38.1-5+deb12u2 |
♾️ | libssl3 | 3.0.14-1~deb12u2 |
3.0.15-1~deb12u1 |
♾️ | libsystemd0 | 252.30-1~deb12u2 |
252.31-1~deb12u1 |
♾️ | libudev1 | 252.30-1~deb12u2 |
252.31-1~deb12u1 |
♾️ | libuuid1 | 2.38.1-5+deb12u1 |
2.38.1-5+deb12u2 |
♾️ | mount | 2.38.1-5+deb12u1 |
2.38.1-5+deb12u2 |
♾️ | openssl | 3.0.14-1~deb12u2 |
3.0.15-1~deb12u1 |
Removed vulnerabilities (1): |
|||
♾️ | tzdata | 2024a-0+deb12u1 |
2024b-0+deb12u1 |
♾️ | util-linux | 2.38.1-5+deb12u1 |
2.38.1-5+deb12u2 |
♾️ | util-linux-extra | 2.38.1-5+deb12u1 |
2.38.1-5+deb12u2 |
I'd say so since it changes Zebra's external API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, added a suggestion to make the CHANGELOG more informative
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
Part of #8997.
Prepare for the Release
(See the release ticket checklist for details)
Summarise Release Changes
These steps can be done a few days before the release, in the same PR:
Change Log
Important: Any merge into
main
deletes any edits to the draft changelog.Once you are ready to tag a release, copy the draft changelog into
CHANGELOG.md
.We use the Release Drafter workflow to automatically create a draft changelog. We follow the Keep a Changelog format.
To create the final change log:
CHANGELOG.md
(there can be multiple draft releases)README
README updates can be skipped for urgent releases.
Update the README to:
Check for changes in the
Dockerfile
since the last tag:git diff <previous-release-tag> docker/Dockerfile
.Cargo.toml
sYou can use a command like:
Create the Release PR
for example:
bump-v1.0.0
- this needs to be different to the tag name&template=release-checklist.md
to the comparing url (Example).batched
queue using Mergify.Critical
priority, so they go in theurgent
Mergify queue.do-not-merge
, because Mergify checks approved PRs against every commit, even when a queue is frozen.A-release
tag to the release pull request in order for thecheck_no_git_refs_in_cargo_lock
to run.Zebra git sources dependencies
check_no_git_refs_in_cargo_lock
check passes.This check runs automatically on pull requests with the
A-release
label. It must pass for crates to be published to crates.io. If the check fails, you should either halt the release process or proceed with the understanding that the crates will not be published on crates.io.Update Versions and End of Support
Update Zebra Version
Choose a Release Level
Zebra follows semantic versioning. Semantic versions look like: MAJOR.MINOR.PATCH[-TAG.PRE-RELEASE]
Choose a release level for
zebrad
. Release levels are based on user-visible changes from the changelog:major
releasesminor
releasespatch
releaseZebra's Rust API doesn't have any support or stability guarantees, so we keep all the
zebra-*
andtower-*
crates on a betapre-release
version.Update Crate Versions
If you're publishing crates for the first time, log in to crates.io,
and make sure you're a member of owners group.
Check that the release will work:
Crate publishing is automatically checked in CI using "dry run" mode, however due to a bug in
cargo-release
we need to pass exact versions to the alpha crates:zebra-scan
andzebra-grpc
alpha crates in the release-crates-dry-run workflow scriptUpdate End of Support
The end of support height is calculated from the current blockchain height:
ESTIMATED_RELEASE_HEIGHT
inend_of_support.rs
with the height you estimate the release will be tagged.Optional: calculate the release tagging height
1152
blocks for each day until the release1152 * 3
to the current Mainnet block heightUpdate the Release PR
Publish the Zebra Release
Create the GitHub Pre-Release
for example:
v1.0.0
main
branchZebra
followed by the version tag,for example:
Zebra 1.0.0
starting just after the title
## [Zebra ...
of the current version being released,and ending just before the title of the previous release.
Test the Pre-Release
main
, and the quick tests have passed:Publish Release
Publish Crates
cargo login
cargo clean
in the zebra repo (optional)cargo release publish --verbose --workspace --execute
crates.io
:cargo install --locked --force --version 1.minor.patch zebrad && ~/.cargo/bin/zebrad
and put the output in a comment on the PR.
Publish Docker Images
batched
queue using Mergify.do-not-merge
from the PRs you added it toRelease Failures
If building or running fails after tagging:
Tag a new release, following these instructions...
patch
releaseCHANGELOG.md
with details about the fix