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
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,22 @@ jobs:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/

- name: Extract tag
id: tag
run: |
TAG=${GITHUB_REF#refs/tags/v}
echo "tag=$TAG" >> $GITHUB_OUTPUT

- name: Read VERSION_NAME from pyproject.toml
- name: Read VERSION_NAME from dist/
id: version
run: |
VERSION_NAME=$(grep '^version' pyproject.toml | cut -d'=' -f2 | tr -d '[:space:]')
VERSION_NAME=$(basename dist/ably-*.tar.gz | sed -E 's/^ably-([^-]+)\.tar\.gz$/\1/')
echo "version=$VERSION_NAME" >> $GITHUB_OUTPUT

- name: Compare version with tag
Expand All @@ -91,11 +97,7 @@ jobs:
env:
VERSION: ${{ steps.version.outputs.version }}
TAG: ${{ steps.tag.outputs.tag }}
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

Expand All @@ -107,7 +109,7 @@ jobs:

environment:
name: testpypi
url: https://test.pypi.org/p/ably-dev
url: https://test.pypi.org/p/ably

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## [v2.1.0](https://github.com/ably/ably-python/tree/v2.1.0)

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

## What's Changed

* Added support for VCDiff delta-compressed messages. If VCDiff compression is enabled in the client options, and
deltas are provided by the Ably service, the SDK reconstructs full message payloads from the base content
and the received delta, reducing bandwidth usage without requiring changes to your application code.
[\#620](https://github.com/ably/ably-python/pull/620)

## [v2.0.13](https://github.com/ably/ably-python/tree/v2.0.13)

[Full Changelog](https://github.com/ably/ably-python/compare/v2.0.12...v2.0.13)
Expand Down
2 changes: 1 addition & 1 deletion ably/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
logger.addHandler(logging.NullHandler())

api_version = '3'
lib_version = '2.0.13'
lib_version = '2.1.0'
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ably"
version = "2.0.13"
version = "2.1.0"
description = "Python REST and Realtime client library SDK for Ably realtime messaging service"
license = "Apache-2.0"
authors = ["Ably <support@ably.com>"]
Expand Down Expand Up @@ -56,7 +56,7 @@ pyee = [
# Optional dependencies
pycrypto = { version = "^2.6.1", optional = true }
pycryptodome = { version = "*", optional = true }
vcdiff-decoder = { version = "^0.1.0a1", optional = true }
vcdiff-decoder = { version = "^0.1.0", optional = true }

[tool.poetry.extras]
oldcrypto = ["pycrypto"]
Expand Down