The SDK adds experimental support for flag overrides read from local JSON or YAML files or supplied by a custom override source, with evaluations marked overrideAffected in the reason and counted under separate summary counters. FDv2 polling now keeps running after a network error, and components that already started are stopped when the client fails to start.
Python SDK
npx @buildinternet/releases get launchdarkly-python-sdkThe SDK now uses an internal cache in place of the expiringdict dependency, and FDv2 objects with unrecognized kinds are ignored.
The experimental async client now uses the same synchronous Hook class as the sync client, removing the experimental AsyncHook class so hook stages must be plain def (they run on the event loop and must not block), and AsyncPlugin.get_hooks returns a list of Hook instances. Also fixed after-evaluation hooks not running when an async evaluation is cancelled or raises.
Migration latency measurements and FDv2 stream-init timing now use monotonic clocks instead of wall-clock time.
The Python server SDK now requires certifi 2026.10.19 or newer.
Stream-init durations and FDv2 state windows now use monotonic clocks instead of wall-clock time.
Fixed the big segment status poll to reuse an in-flight poll instead of always querying twice.
The SDK now retries indefinitely after a data source failure instead of stopping permanently in FDv1, and repeating tasks are driven from a delay source so a slow callback no longer shortens the wait duration. Also added retry state for RETRY-spec backoff, warnings for payload filtering with FDv2 and for forked processes without postfork, and a fix so all items are read when a collection is empty.
Adds a large set of async components — AsyncLDClient, AsyncConfig, FDv2 data sources, polling/streaming, persistent feature store with Redis and DynamoDB adapters, event processor, hooks, plugins, flag tracker, and migration support. Also fixes redacted attribute escaping, tombstones without a key, and a sync FDv2 evaluation that could throw on a persistent-store outage.
Fixed a connection pool ownership issue when closing connections, corrected data source error reporting, and removed a dead __BUILTINS__ constant.
Fixed FDv2 goodbye events to align with spec by sending reason-only, and corrected the in operator to keep booleans and numbers distinct. Also honored server-directed FDv1 Fallback Directive in the initializer phase and dropped persistent-store cache after FDv2 in-memory store init.
Improve fallback behavior when using custom data system configuration (#407) (60272b2)
Drop support for python 3.9 (#393) (5b761bd) Update ChangeSet to always require a Selector (#405) (5dc4f81)
Remove all synchronizers in daemon mode (#388) (441a5ec)
adding data system option to create file datasource intializer (e5b121f) adding file data source as an intializer (#381) (3700d1d)
Include ldclient.datasystem in docs (#379) (318c6fe)
experimental: Release EAP support for FDv2 data system (#376) (0e7c32b)
Fix overly generic type hint on File data source (#365) (52a7499), closes #364
Fix incorrect event count in failure message (#359) (91f4163)
Add validation format check for SDK key (#351)


