You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 46e5f0e
Browse filesBrowse the repository at this point in the historyBrowse files
Conflicts in the capability lists of the contract test services keep both sides: flag-overrides from feat/overrides, and the retry conformance, service endpoints, wrapper, proxy and TLS capabilities from main. The async override test that captured evaluation details used AsyncHook, which #548 removed from main; it now uses Hook, which the async client accepts.
* Replace the expiringdict dependency with an internal cache ([#563](https://github.com/launchdarkly/python-server-sdk/issues/563)) ([ca34aad](https://github.com/launchdarkly/python-server-sdk/commit/ca34aad162af51c6ff343a7ead1d3f2710efbcf9))
11
+
12
+
13
+
### Bug Fixes
14
+
15
+
* Ignore FDv2 objects with unrecognized kinds ([#541](https://github.com/launchdarkly/python-server-sdk/issues/541)) ([d5eeb80](https://github.com/launchdarkly/python-server-sdk/commit/d5eeb8064183705af6c93a727b13a0d26b0f6ce8))
### Breaking changes to the experimental async client
21
+
22
+
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:
23
+
24
+
* 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))
25
+
*`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))
26
+
27
+
28
+
### Features
29
+
30
+
* 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))
31
+
32
+
33
+
### Bug Fixes
34
+
35
+
* Run after-evaluation hooks when an async evaluation is cancelled or raises ([2457311](https://github.com/launchdarkly/python-server-sdk/commit/2457311781966096c8553f054b03c7667b0b3996))
* Use monotonic clocks for migration latency and FDv2 stream-init timing ([#539](https://github.com/launchdarkly/python-server-sdk/issues/539)) ([346e9be](https://github.com/launchdarkly/python-server-sdk/commit/346e9be7e63980878bc6f0cd384f521ea25bfafc))
* Use monotonic clocks for stream-init durations and FDv2 state windows ([#537](https://github.com/launchdarkly/python-server-sdk/issues/537)) ([e8501c5](https://github.com/launchdarkly/python-server-sdk/commit/e8501c58e5ac8a28b591b6687073ac04aa86bfd7))
* Reuse an in-flight big segment status poll instead of always querying twice ([#535](https://github.com/launchdarkly/python-server-sdk/issues/535)) ([66013b5](https://github.com/launchdarkly/python-server-sdk/commit/66013b520f448cf6cda3d6377cde93d8bb31b19c))
* Add retry state for RETRY-spec backoff ([#522](https://github.com/launchdarkly/python-server-sdk/issues/522)) ([e734558](https://github.com/launchdarkly/python-server-sdk/commit/e734558d52dbd3eeeb9d378f283dd3d3f5cee611))
71
+
* Drive repeating tasks from a delay source ([9abe8cb](https://github.com/launchdarkly/python-server-sdk/commit/9abe8cbb878445b500211c89f0e3176fdbe4587a))
72
+
* Retry indefinitely after a data source failure instead of stopping permanently in FDv1 ([e17e173](https://github.com/launchdarkly/python-server-sdk/commit/e17e1730de44f4494befd4df260381f7548ca74a))
73
+
* Warn that payload filtering has no effect with FDv2 ([#518](https://github.com/launchdarkly/python-server-sdk/issues/518)) ([296311f](https://github.com/launchdarkly/python-server-sdk/commit/296311f9ea73f09e96bd8dfb7410405e08794776))
74
+
* Warn when the SDK is used in a forked process without postfork ([#512](https://github.com/launchdarkly/python-server-sdk/issues/512)) ([75402e9](https://github.com/launchdarkly/python-server-sdk/commit/75402e90f38a154466ab8b2bdd53a819720e0001))
75
+
76
+
77
+
### Bug Fixes
78
+
79
+
* Add async modules to the readthedocs API reference ([#513](https://github.com/launchdarkly/python-server-sdk/issues/513)) ([f40d3b2](https://github.com/launchdarkly/python-server-sdk/commit/f40d3b22c808e829e9deb4ac5feab05db85674e8))
80
+
* Log the cached-data evaluation warning only once per client ([#520](https://github.com/launchdarkly/python-server-sdk/issues/520)) ([59ce998](https://github.com/launchdarkly/python-server-sdk/commit/59ce998668b6907fb0663699127b0b9895cbdcef))
81
+
* Read all items when a collection is empty ([#524](https://github.com/launchdarkly/python-server-sdk/issues/524)) ([1087147](https://github.com/launchdarkly/python-server-sdk/commit/108714738b1ef0b955321b502bfa65dbced5eaee))
82
+
* Repeating task wait duration is no longer reduced by a slow callback duration. ([9abe8cb](https://github.com/launchdarkly/python-server-sdk/commit/9abe8cbb878445b500211c89f0e3176fdbe4587a))
83
+
* Report a distinct User-Agent for the async client ([#516](https://github.com/launchdarkly/python-server-sdk/issues/516)) ([514c467](https://github.com/launchdarkly/python-server-sdk/commit/514c46780cf5aa593c1f791bd1335c7048f6d235))
84
+
* Warn and use the documented default for an invalid poll interval or initial reconnect delay ([e17e173](https://github.com/launchdarkly/python-server-sdk/commit/e17e1730de44f4494befd4df260381f7548ca74a))
0 commit comments