Skip to content

Commit 9ec513b

Browse files
authored
Merge pull request #626 from ably/release/2.1.0
Release/2.1.0
2 parents 6b45b9e + b41d8f8 commit 9ec513b

5 files changed

Lines changed: 28 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,22 @@ jobs:
7070
id-token: write # IMPORTANT: mandatory for trusted publishing
7171

7272
steps:
73+
- name: Download all the dists
74+
uses: actions/download-artifact@v4
75+
with:
76+
name: python-package-distributions
77+
path: dist/
78+
7379
- name: Extract tag
7480
id: tag
7581
run: |
7682
TAG=${GITHUB_REF#refs/tags/v}
7783
echo "tag=$TAG" >> $GITHUB_OUTPUT
7884
79-
- name: Read VERSION_NAME from pyproject.toml
85+
- name: Read VERSION_NAME from dist/
8086
id: version
8187
run: |
82-
VERSION_NAME=$(grep '^version' pyproject.toml | cut -d'=' -f2 | tr -d '[:space:]')
88+
VERSION_NAME=$(basename dist/ably-*.tar.gz | sed -E 's/^ably-([^-]+)\.tar\.gz$/\1/')
8389
echo "version=$VERSION_NAME" >> $GITHUB_OUTPUT
8490
8591
- name: Compare version with tag
@@ -91,11 +97,7 @@ jobs:
9197
env:
9298
VERSION: ${{ steps.version.outputs.version }}
9399
TAG: ${{ steps.tag.outputs.tag }}
94-
- name: Download all the dists
95-
uses: actions/download-artifact@v4
96-
with:
97-
name: python-package-distributions
98-
path: dist/
100+
99101
- name: Publish distribution 📦 to PyPI
100102
uses: pypa/gh-action-pypi-publish@release/v1
101103

@@ -107,7 +109,7 @@ jobs:
107109

108110
environment:
109111
name: testpypi
110-
url: https://test.pypi.org/p/ably-dev
112+
url: https://test.pypi.org/p/ably
111113

112114
permissions:
113115
id-token: write # IMPORTANT: mandatory for trusted publishing

CHANGELOG.md

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

3+
## [v2.1.0](https://github.com/ably/ably-python/tree/v2.1.0)
4+
5+
[Full Changelog](https://github.com/ably/ably-python/compare/v2.0.13...v2.1.0)
6+
7+
## What's Changed
8+
9+
* Added support for VCDiff delta-compressed messages. If VCDiff compression is enabled in the client options, and
10+
deltas are provided by the Ably service, the SDK reconstructs full message payloads from the base content
11+
and the received delta, reducing bandwidth usage without requiring changes to your application code.
12+
[\#620](https://github.com/ably/ably-python/pull/620)
13+
314
## [v2.0.13](https://github.com/ably/ably-python/tree/v2.0.13)
415

516
[Full Changelog](https://github.com/ably/ably-python/compare/v2.0.12...v2.0.13)

ably/__init__.py

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

1818
api_version = '3'
19-
lib_version = '2.0.13'
19+
lib_version = '2.1.0'

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ably"
3-
version = "2.0.13"
3+
version = "2.1.0"
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>"]
@@ -56,7 +56,7 @@ pyee = [
5656
# Optional dependencies
5757
pycrypto = { version = "^2.6.1", optional = true }
5858
pycryptodome = { version = "*", optional = true }
59-
vcdiff-decoder = { version = "^0.1.0a1", optional = true }
59+
vcdiff-decoder = { version = "^0.1.0", optional = true }
6060

6161
[tool.poetry.extras]
6262
oldcrypto = ["pycrypto"]

0 commit comments

Comments
 (0)