This is an automated email from the ASF dual-hosted git repository.
martin-g pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 808cb6a Update for 0.22.0
808cb6a is described below
commit 808cb6a2635970356a72b07c4a9048b99608b406
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Tue Jul 28 10:03:11 2026 +0300
Update for 0.22.0
---
RELEASE.md | 61 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 31 insertions(+), 30 deletions(-)
diff --git a/RELEASE.md b/RELEASE.md
index 9482d6a..950ed88 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -4,11 +4,12 @@
```
# in avro-rs Git clone
git switch main && git pull --rebase
-# update the version in Cargo.toml files to 0.21.0
-git commit -am "Update version to 0.21.0"
-git tag -s rel/release-0.21.0-rc0 -m "Avro-rs 0.21.0 RC0 release."
-git archive HEAD -o apache-avro-rs-0.21.0-RC0.tgz
-git push origin rel/release-0.21.0-rc0
+export AVRO_RS_VERSION=0.22.0
+# update the version in Cargo.toml files to $AVRO_RS_VERSION
+git commit -am "Update version to $AVRO_RS_VERSION"
+git tag -s rel/release-$AVRO_RS_VERSION-rc0 -m "Avro-rs $AVRO_RS_VERSION RC0
release."
+git archive HEAD -o apache-avro-rs-$AVRO_RS_VERSION-RC0.tgz
+git push origin rel/release-$AVRO_RS_VERSION-rc0
```
Note: make sure your GPG key is in
https://dist.apache.org/repos/dist/release/avro/KEYS
@@ -18,30 +19,30 @@ Note: make sure your GPG key is in
https://dist.apache.org/repos/dist/release/av
# checkout the 'dev' dist SVN repo
svn co https://dist.apache.org/repos/dist/dev/avro/ dev-avro
cd dev-avro/avro-rs
-mkdir 0.21.0 && cd 0.21.0
-cp .../apache-avro-rs-0.21.0-RC0.tgz .
-sha256sum apache-avro-rs-0.21.0-RC0.tgz > apache-avro-rs-0.21.0-RC0.tgz.sha256
-gpg --armor --output apache-avro-rs-0.21.0-RC0.tgz.asc --detach-sig
apache-avro-rs-0.21.0-RC0.tgz
+mkdir $AVRO_RS_VERSION && cd $AVRO_RS_VERSION
+cp .../apache-avro-rs-$AVRO_RS_VERSION-RC0.tgz .
+sha256sum apache-avro-rs-$AVRO_RS_VERSION-RC0.tgz >
apache-avro-rs-$AVRO_RS_VERSION-RC0.tgz.sha256
+gpg --armor --output apache-avro-rs-$AVRO_RS_VERSION-RC0.tgz.asc --detach-sig
apache-avro-rs-$AVRO_RS_VERSION-RC0.tgz
cd ..
-svn add 0.21.0
-svn ci -m "Add sources of avro-rs 0.21.0 for voting"
+svn add $AVRO_RS_VERSION
+svn ci -m "Add sources of avro-rs $AVRO_RS_VERSION for voting"
```
## Send an email with similar content to [email protected]:
```
-[VOTE] Release Apache Avro Rust 0.21.0
+[VOTE] Release Apache Avro Rust 0.22.0
Hi everyone,
I'd like to propose the following RC0 to be released as the official
-Apache Avro Rust 0.21.0 release.
+Apache Avro Rust 0.22.0 release.
The commit id is
https://github.com/apache/avro-rs/commit/9cb265d29351d3d0454bba30662f0066e04c171b
-* This corresponds to the tag: rel/release-0.21.0-rc0
-* https://github.com/apache/avro-rs/releases/tag/rel%2Frelease-0.21.0-rc0
+* This corresponds to the tag: rel/release-0.22.0-rc0
+* https://github.com/apache/avro-rs/releases/tag/rel%2Frelease-0.22.0-rc0
The release tarball, signature, and checksums are here (revision r75797)
-* https://dist.apache.org/repos/dist/dev/avro/avro-rs/0.21.0/
+* https://dist.apache.org/repos/dist/dev/avro/avro-rs/0.22.0/
You can find the KEYS file here:
* https://dist.apache.org/repos/dist/release/avro/KEYS
@@ -51,16 +52,16 @@ This release includes 17 issues:
* https://github.com/apache/avro-rs/releases/tag/untagged-48f08e126ce819116c4b
The easiest way to test the release is:
-* mkdir 0.21.0 && cd 0.21.0
-* wget -q
https://dist.apache.org/repos/dist/dev/avro/avro-rs/0.21.0/apache-avro-rs-0.21.0-RC0.tgz
-* tar xvf apache-avro-rs-0.21.0-RC0.tgz
+* mkdir 0.22.0 && cd 0.22.0
+* wget -q
https://dist.apache.org/repos/dist/dev/avro/avro-rs/0.22.0/apache-avro-rs-0.22.0-RC0.tgz
+* tar xvf apache-avro-rs-0.22.0-RC0.tgz
* cargo fmt --check && cargo test
-* (optional) Update your project Cargo.toml to use `apache_avro = { path =
"/path/to/0.21.0/avro" } and test your application
+* (optional) Update your project Cargo.toml to use `apache_avro = { path =
"/path/to/0.22.0/avro" } and test your application
Please download, verify, and test. This vote will remain open for at
least 72 hours.
-[ ] +1 Release this as Apache Avro-rs 0.21.0
+[ ] +1 Release this as Apache Avro-rs 0.22.0
[ ] 0
[ ] -1 Do not release this because...
@@ -73,13 +74,13 @@ Martin
## After a successful vote
```
-git checkout -b release-0.21.0-rc0 rel/release-0.21.0-rc0
+git checkout -b release-0.22.0-rc0 rel/release-0.22.0-rc0
cargo publish -p apache-avro-derive
cargo publish -p apache-avro-test-helper
cargo publish -p apache-avro
-git tag -s rel/release-0.21.0 -m "Apache Avro Rust SDK 0.21.0 release."
+git tag -s rel/release-0.22.0 -m "Apache Avro Rust SDK 0.22.0 release."
git push --tags
```
@@ -87,21 +88,21 @@ git push --tags
## Create a Github release
1. Go to https://github.com/apache/avro-rs/releases/new
-2. Select `rel/release-0.21.0` as the release tag and `auto` as the previous
one (or select one manually)
+2. Select `rel/release-0.22.0` as the release tag and `auto` as the previous
one (or select one manually)
3. Click `Generate release notes` to populate the body
-4. Type a `Release title`, e.g. `Apache Avro Rust SDK 0.21.0 release`
+4. Type a `Release title`, e.g. `Apache Avro Rust SDK 0.22.0 release`
5. Make sure `Set as the latest release` checkbox is checked
6. Press the `Publish release` button
## Announce the release
1. Send en email to [email protected] and [email protected] with the
following title and body:
-1.1. Title: `[ANNOUNCE] Apache Avro Rust SDK 0.21.0 release`
+1.1. Title: `[ANNOUNCE] Apache Avro Rust SDK 0.22.0 release`
1.2. Body:
```
Hello!
-On behalf of the Apache Avro team I am happy to announce the release of Apache
Avro Rust SDK version 0.21.0!
+On behalf of the Apache Avro team I am happy to announce the release of Apache
Avro Rust SDK version 0.22.0!
It is available at Crates.io:
- https://crates.io/crates/apache-avro
@@ -119,9 +120,9 @@ New Contributors:
* contributor 1
* contributor 2
-https://github.com/apache/avro-rs/releases/tag/rel%2Frelease-0.21.0```
+https://github.com/apache/avro-rs/releases/tag/rel%2Frelease-0.22.0```
The items could be taken from the body of the Github release ignoring the
Dependabot updates:
-1. Copy the body of the Github release and paste it in a temporary file, e.g.
`/tmp/v0.21.0`
-2. `cat /tmp/v0.21.0 | grep -v dependabot`
+1. Copy the body of the Github release and paste it in a temporary file, e.g.
`/tmp/v0.22.0`
+2. `cat /tmp/v0.22.0 | grep -v dependabot`
3. Paste the output in the email body