Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ A release is made of:
| The source release: `apache-pulsar-client-rust-X.Y.Z-src.tar.gz`, its signature `.asc` and its checksum `.sha512` | `pulsar-client-rust-X.Y.Z-candidate-N/` in [dist dev](https://dist.apache.org/repos/dist/dev/pulsar/) during the vote, then `pulsar-client-rust-X.Y.Z/` in [dist release](https://dist.apache.org/repos/dist/release/pulsar/) |
| The crates `apache-pulsar-protocol` and `apache-pulsar`, published in that order. `apache-pulsar-testkit` isn't published. | [crates.io](https://crates.io/crates/apache-pulsar) |
| The tags `vX.Y.Z-candidate-N`, then `vX.Y.Z`, on one commit of the branch `branch-X.Y` | This repository |
| The release notes: what changed, the version of the Scalable Topics client specification the release conforms to, and the optional capabilities it implements ([docs/8-quality.md](docs/8-quality.md) §3) | [CHANGELOG.md](CHANGELOG.md), the GitHub release, and the Pulsar website |
| The release notes: what changed, the version of the Scalable Topics client specification the release conforms to, and the optional capabilities it implements ([docs/8-quality.md](docs/8-quality.md) §3) | The [GitHub release](https://github.com/apache/pulsar-client-rust/releases), and the Pulsar website |

Versions follow Cargo's semver: while the major version is 0, a new minor version may break the API and a patch
version doesn't. The two published crates share the workspace's version, and `apache-pulsar` depends on that exact
Expand Down Expand Up @@ -75,8 +75,8 @@ On the branch, commit:
- **The version, in two places in `Cargo.toml`:** `version` in `[workspace.package]`, and the exact requirement
`version = "=X.Y.Z"` on `apache-pulsar-protocol` in `[workspace.dependencies]`. Then `cargo update --workspace`
updates `Cargo.lock`. 0.1.0 needs no change.
- **The release notes:** the release's section of `CHANGELOG.md`, with its date, the specification version, the
optional capabilities, and the changes.
- **The README's Conformance section**, if it isn't right for the release: the version of the specification the
release conforms to, and the optional capabilities it implements. The vote links it, and the release notes copy it.

Changes that main needs too go there through a pull request.

Expand Down Expand Up @@ -125,9 +125,12 @@ Hi everyone,
This is the Nth release candidate for Apache Pulsar Client Rust, version X.Y.Z:
the apache-pulsar crate and its protocol core, apache-pulsar-protocol.

It conforms to version 1.0 of the Scalable Topics client specification. The
release notes, with the optional capabilities it implements:
https://github.com/apache/pulsar-client-rust/blob/vX.Y.Z-candidate-N/CHANGELOG.md
It conforms to version 1.0 of the Scalable Topics client specification. Its
README lists the optional capabilities it implements:
https://github.com/apache/pulsar-client-rust/blob/vX.Y.Z-candidate-N/README.md#conformance

The changes since the previous release, vP.Q.R:
https://github.com/apache/pulsar-client-rust/compare/vP.Q.R...vX.Y.Z-candidate-N

*** Please download, test and vote on this release. This vote will stay open
for at least 72 hours ***
Expand All @@ -154,7 +157,8 @@ passes, and not before.
[ ] -1, Do not approve the release (please provide specific comments)
```

`git rev-parse v$VERSION-candidate-$CANDIDATE^{commit}` gives the commit id.
`git rev-parse v$VERSION-candidate-$CANDIDATE^{commit}` gives the commit id. The first release has no previous one,
so its vote leaves out the changes.

The vote passes after at least 72 hours with at least three binding +1 votes, from PMC members, and more +1 than -1
votes. If the candidate has to change, fix the branch, remove the candidate from dist dev (`svn rm`), and go back to
Expand Down Expand Up @@ -293,8 +297,10 @@ cargo owner --add <crates.io login> apache-pulsar

## 8. Announce

- **GitHub:** a [release](https://github.com/apache/pulsar-client-rust/releases/new) from the tag `vX.Y.Z`, with the
release's section of `CHANGELOG.md`.
- **GitHub:** a [release](https://github.com/apache/pulsar-client-rust/releases/new) from the tag `vX.Y.Z`, whose
notes are the release notes. They open with the statement, as the README's Conformance section has it at the tag:
the specification version, and the table of optional capabilities. Then the changes: *Generate release notes* lists
the pull requests merged since the previous release's tag. Then the known limitations, if there are any.
- **Website:** a pull request to [pulsar-site](https://github.com/apache/pulsar-site) that adds the release to the
download page and its notes to the client release notes. The announcement links to the download page, so this
comes first.
Expand Down Expand Up @@ -335,5 +341,4 @@ The Pulsar Team

## 9. Move main on

On main, through a pull request: the next version in both places in `Cargo.toml`, and a new section at the top of
`CHANGELOG.md`.
On main, through a pull request: the next version in both places in `Cargo.toml`.
2 changes: 1 addition & 1 deletion crates/apache-pulsar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ comes in three APIs: thread-safe, whose futures run on any runtime; local, for a
themselves; and blocking.

The [API documentation](https://docs.rs/apache-pulsar) has the examples. The
[release notes](https://github.com/apache/pulsar-client-rust/blob/main/CHANGELOG.md) say which version of the
[release notes](https://github.com/apache/pulsar-client-rust/releases) say which version of the
specification each release conforms to, and which of its optional capabilities it implements.

## Requirements
Expand Down
Loading