Skip to content

Commit 02efe98

Browse files
authored
Merge pull request #518 from ably/release/2.0.1
Release/2.0.1
2 parents d3bde91 + ab9f951 commit 02efe98

File tree

4 files changed

+26
-9
lines changed

4 files changed

+26
-9
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Change Log
22

3+
## [v2.0.1](https://github.com/ably/ably-python/tree/v2.0.1)
4+
5+
[Full Changelog](https://github.com/ably/ably-python/compare/v2.0.0...v2.0.1)
6+
7+
**Closed issues:**
8+
9+
- Implement / Add tests for TM1,TM2,TM3 Message spec [\#516](https://github.com/ably/ably-python/issues/516)
10+
11+
**Merged pull requests:**
12+
13+
- \[SDK-3807\] Implement and test empty inner message fields [\#517](https://github.com/ably/ably-python/pull/517) ([sacOO7](https://github.com/sacOO7))
14+
315
## [v2.0.0](https://github.com/ably/ably-python/tree/v2.0.0)
416

517
**New ably-python realtime client**: This new release features our first ever python realtime client! Currently the realtime client only supports realtime message subscription. Check out the README for usage examples. There have been some minor breaking changes from the 1.2 version, please consult the [migration guide](https://github.com/ably/ably-python/blob/main/UPDATING.md) for instructions on how to upgrade to 2.0.

CONTRIBUTING.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,19 @@ Releases should always be made through a release pull request (PR), which needs
2828
The release process must include the following steps:
2929

3030
1. Ensure that all work intended for this release has landed to `main`
31-
2. Create a release branch named like `release/1.2.3`
31+
2. Create a release branch named like `release/2.0.1`
3232
3. Add a commit to bump the version number, updating [`pyproject.toml`](./pyproject.toml) and [`ably/__init__.py`](./ably/__init__.py)
33-
4. Add a commit to update the change log
34-
5. Push the release branch to GitHub
35-
6. Create a release PR (ensure you include an SDK Team Engineering Lead and the SDK Team Product Manager as reviewers) and gain approvals for it, then merge that to `main`
36-
7. From the `main` branch, run `poetry build && poetry publish` to build and upload this new package to PyPi
37-
8. Create a tag named like `v1.2.3` and push it to GitHub - e.g. `git tag v1.2.3 && git push origin v1.2.3`
38-
9. Create the release on GitHub including populating the release notes
33+
4. Run [`github_changelog_generator`](https://github.com/github-changelog-generator/github-changelog-generator) to automate the update of the [CHANGELOG](./CHANGELOG.md). This may require some manual intervention, both in terms of how the command is run and how the change log file is modified. Your mileage may vary:
34+
- The command you will need to run will look something like this: `github_changelog_generator -u ably -p ably-python --since-tag v2.0.0 --output delta.md --token $GITHUB_TOKEN_WITH_REPO_ACCESS`. Generate token [here](https://github.com/settings/tokens/new?description=GitHub%20Changelog%20Generator%20token).
35+
- Using the command above, `--output delta.md` writes changes made after `--since-tag` to a new file
36+
- The contents of that new file (`delta.md`) then need to be manually inserted at the top of the `CHANGELOG.md`, changing the "Unreleased" heading and linking with the current version numbers
37+
- Also ensure that the "Full Changelog" link points to the new version tag instead of the `HEAD`
38+
5. Commit this change: `git add CHANGELOG.md && git commit -m "Update change log."`
39+
6. Push the release branch to GitHub
40+
7. Create a release PR (ensure you include an SDK Team Engineering Lead and the SDK Team Product Manager as reviewers) and gain approvals for it, then merge that to `main`
41+
8. From the `main` branch, run `poetry build && poetry publish` to build and upload this new package to PyPi
42+
9. Create a tag named like `v2.0.1` and push it to GitHub - e.g. `git tag v2.0.1 && git push origin v2.0.1`
43+
10. Create the release on GitHub including populating the release notes
3944

4045
We tend to use [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator) to collate the information required for a change log update.
4146
Your mileage may vary, but it seems the most reliable method to invoke the generator is something like:

ably/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
logger.addHandler(logging.NullHandler())
1616

1717
api_version = '3'
18-
lib_version = '2.0.0'
18+
lib_version = '2.0.1'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ably"
3-
version = "2.0.0"
3+
version = "2.0.1"
44
description = "Python REST and Realtime client library SDK for Ably realtime messaging service"
55
license = "Apache-2.0"
66
authors = ["Ably <support@ably.com>"]

0 commit comments

Comments
 (0)