diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b96caf7f..4258783e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "9.18.4" + ".": "9.19.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index c98c6666..acac941a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,26 @@ All notable changes to the LaunchDarkly Python SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [9.19.0](https://github.com/launchdarkly/python-server-sdk/compare/9.18.4...9.19.0) (2026-11-02) + + +### Breaking changes to the experimental async client + +The async client is experimental, so these changes do not cause a major version bump. If you use `AsyncLDClient` with hooks or plugins, update your code: + +* Remove the experimental `AsyncHook` class. The async client now uses the same synchronous `Hook` class as the sync client. Change each `AsyncHook` subclass to subclass `Hook`, and change its `async def` stages to `def`. The stages run on the event loop, so they must not block. ([#548](https://github.com/launchdarkly/python-server-sdk/issues/548)) ([2457311](https://github.com/launchdarkly/python-server-sdk/commit/2457311781966096c8553f054b03c7667b0b3996)) +* `AsyncPlugin.get_hooks` now returns a list of `Hook` instances. `AsyncPlugin.register` stays async. ([#548](https://github.com/launchdarkly/python-server-sdk/issues/548)) ([2457311](https://github.com/launchdarkly/python-server-sdk/commit/2457311781966096c8553f054b03c7667b0b3996)) + + +### Features + +* Accept synchronous hooks on the async client ([#548](https://github.com/launchdarkly/python-server-sdk/issues/548)) ([2457311](https://github.com/launchdarkly/python-server-sdk/commit/2457311781966096c8553f054b03c7667b0b3996)) + + +### Bug Fixes + +* Run after-evaluation hooks when an async evaluation is cancelled or raises ([2457311](https://github.com/launchdarkly/python-server-sdk/commit/2457311781966096c8553f054b03c7667b0b3996)) + ## [9.18.4](https://github.com/launchdarkly/python-server-sdk/compare/9.18.3...9.18.4) (2026-10-26) diff --git a/PROVENANCE.md b/PROVENANCE.md index 29455115..4bfa4550 100644 --- a/PROVENANCE.md +++ b/PROVENANCE.md @@ -9,7 +9,7 @@ To verify build provenance attestations, we recommend using the [GitHub CLI `att ``` # Set the version of the SDK to verify -SDK_VERSION=9.18.4 +SDK_VERSION=9.19.0 ``` diff --git a/ldclient/version.py b/ldclient/version.py index bdf88952..78a11df1 100644 --- a/ldclient/version.py +++ b/ldclient/version.py @@ -1 +1 @@ -VERSION = "9.18.4" # x-release-please-version +VERSION = "9.19.0" # x-release-please-version diff --git a/pyproject.toml b/pyproject.toml index 08580dec..f0d6d25c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "launchdarkly-server-sdk" -version = "9.18.4" +version = "9.19.0" description = "LaunchDarkly SDK for Python" authors = [ {name = "LaunchDarkly", email = "dev@launchdarkly.com"}