You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Motivation
Adopt the same versioning rule with the Node.js client, see
apache/pulsar-client-node#287.
Add an extra step to commit the version update directly before pushing
the tag. For example, fda5086
Copy file name to clipboardExpand all lines: RELEASE.md
+31-20
Original file line number
Diff line number
Diff line change
@@ -23,23 +23,16 @@
23
23
24
24
This page contains instructions for Pulsar committers on how to perform a release for the Pulsar Python client.
25
25
26
-
## Preparation
26
+
## Versioning
27
+
Bump up the version number as follows.
27
28
28
-
> **Note**
29
-
>
30
-
> The term `major/minor releases` used throughout this document is defined as follows:
31
-
> - Major releases refer to feature releases, such as 3.0.0, 3.1.0, and so on.
32
-
> - Minor releases refer to bug-fix releases, such as 3.0.1, 3.0.2, and so on.
33
-
>
34
-
> This guide use `X.Y.Z` or `X.Y` to represent the actual versions like `3.0.0` or `3.0`.
35
-
36
-
For major releases, you should create a new branch named `branch-X.Y` once all PRs with the X.Y.0 milestone are merged. If some PRs with the X.Y.0 milestone are still working in progress and might take much time to complete, you can move them to the next milestone if they are not important. In this case, you'd better notify the author in the PR.
37
-
38
-
For minor releases, if there are no disagreements, you should cherry-pick all merged PRs with the `release/X.Y.Z` labels into `branch-X.Y`. After these PRs are cherry-picked, you should add the `cherry-picked/branch-X.Y` labels.
39
-
40
-
Sometimes some PRs cannot be cherry-picked cleanly, you might need to create a separate PR and move the `release/X.Y.Z` label from the original PR to it. In this case, you can ask the author to help create the new PR.
41
-
42
-
For PRs that are still open, you can choose to delay them to the next release or ping other committers to review so that they can be merged.
29
+
* Major version (e.g. 3.0.0 => 4.0.0)
30
+
* Changes that break backward compatibility
31
+
* Minor version (e.g. 3.0.0 => 3.1.0)
32
+
* Backward compatible new features
33
+
* Patch version (e.g. 3.0.0 => 3.0.1)
34
+
* Backward compatible bug fixes
35
+
* C++ Client upgrade (even though there are no new commits in the Python client)
0 commit comments