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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## [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)

## What's Changed
* Removed await from sync `connect()` function call by @kavindail in https://github.com/ably/ably-python/pull/605
* Upgraded websockets dependency to support 15+ by @ttypic in https://github.com/ably/ably-python/pull/612

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

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

api_version = '3'
lib_version = '2.0.12'
lib_version = '2.0.13'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ably"
version = "2.0.12"
version = "2.0.13"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Poetry version set to 2.0.13 — LGTM

Straightforward metadata bump; aligns with ably/init.py.

If your release process expects a Git tag to back the CHANGELOG compare link, ensure a tag "v2.0.13" is pushed after merge:


🏁 Script executed:

#!/bin/bash
set -euo pipefail
echo "Intended tag: v$(rg -nUP '^[[:space:]]*version[[:space:]]*=[[:space:]]*"([^"]+)"' -or '$1' pyproject.toml | head -n1)"
# Example tagging (uncomment when ready):
# git tag -s "v$(rg -nUP '^[[:space:]]*version[[:space:]]*=[[:space:]]*"([^"]+)"' -or '$1' pyproject.toml | head -n1)" -m "Release $(date -I)"
# git push origin --tags

Length of output: 180


🏁 Script executed:

#!/bin/bash
set -euo pipefail
grep -n "__version__" ably/__init__.py

Length of output: 58


🏁 Script executed:

#!/bin/bash
set -euo pipefail
echo "Searching for version assignments in ably package"
rg -nP '(__version__|version)\s*=' --glob 'ably/**/*.py' || true

Length of output: 1883


Update release tagging snippet to correctly extract version

The existing example uses rg -nUP … -or '$1', which outputs 3:2.0.13 (including the line number) instead of the intended 2.0.13. Please update the snippet in the review comment as follows:

• pyproject.toml tagging example

  • Before:
    echo "Intended tag: v$(rg -nUP '^[[:space:]]*version\s*=\s*"([^"]+)"' -or '$1' pyproject.toml | head -n1)"
  • After:
    # Extracts just the version string (e.g. "2.0.13")
    TAG=v$(rg -Po '(?<=version\s*=\s*")[^"]+' pyproject.toml | head -n1)
    echo "Intended tag: $TAG"
    # Tag and push
    git tag -s "$TAG" -m "Release $TAG"
    git push origin "$TAG"

Version metadata in pyproject.toml now aligns with ably/__init__.py’s lib_version = '2.0.13'. Once merged, ensure the annotated tag v2.0.13 is created and pushed so that your CHANGELOG links resolve correctly.

🤖 Prompt for AI Agents
pyproject.toml lines 3-3: the release-tagging example in the review comment
needs to be replaced so it extracts only the version string (no line numbers)
and then creates/pushes an annotated tag; update the snippet to use ripgrep with
a Perl regex lookbehind to capture the value inside the version quotes, pipe to
head -n1, prefix with "v" into a TAG variable, echo the intended tag, create a
signed annotated tag with that TAG and message "Release $TAG", and push the tag
to origin.

description = "Python REST and Realtime client library SDK for Ably realtime messaging service"
license = "Apache-2.0"
authors = ["Ably <support@ably.com>"]
Expand Down
Loading