NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1408 most downloaded on PyPI
LaunchDarkly SDK for Python
Last release 20 days ago
28 Aug 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
77 releases · first in 2019
The SDK could fail to send debug events when event debugging was enabled on the LaunchDarkly dashboard, if the application server's time zone was not
The SDK was not recognizing proxy authorization parameters included in a proxy URL (example: http://username:password@proxyhost:port). It will now use
http://username:password@proxyhost:port). It will now use these parameters if present, regardless of whether you set the proxy URL programmatically or in an environment variable. (Thanks, gangeli!)One column per quarter.
A problem with the SDK's use of urllib3.Retry could prevent analytics event delivery from being retried after a network error or server error.
urllib3.Retry could prevent analytics event delivery from being retried after a network error or server error. (#143)The existing Config properties connect_timeout, read_timeout, and verify_ssl are now deprecated and superseded by the equivalent properties in HTTPCon…
Config parameter initial_reconnect_delay allows customizing of the base retry delay for stream connections (that is, the delay for the first reconnection after a failure; subsequent retries use an exponential backoff).Config parameter http and the HTTPConfig class allow advanced configuration of the SDK's network behavior, such as specifying a custom certificate authority for connecting to a proxy/gateway that uses a self-signed certificate.Config properties connect_timeout, read_timeout, and verify_ssl are now deprecated and superseded by the equivalent properties in HTTPConfig.Setting verify_ssl to False in the client configuration did not have the expected effect of completely turning off SSL/TLS verification, because it st
verify_ssl to False in the client configuration did not have the expected effect of completely turning off SSL/TLS verification, because it still left certificate verification in effect, so it would allow a totally insecure connection but reject a secure connection whose certificate had an unknown CA. This has been changed so that it will turn off certificate verification as well. This is not a recommended practice and a future version of the SDK will add a way to specify a custom certificate authority instead (to support, for instance, using the Relay Proxy with a self-signed certificate).When diagnostic events are enabled (as they are by default), the SDK was logging spurious warning messages saying "Unhandled exception in event proces
Note: if you are using the LaunchDarkly Relay Proxy to forward events, update the Relay to version 5.10.0 or later before updating to this Python SDK
Note: if you are using the LaunchDarkly Relay Proxy to forward events, update the Relay to version 5.10.0 or later before updating to this Python SDK version.
diagnostic_opt_out option or configured with diagnostic_recording_interval.In rare circumstances (depending on the exact data in the flag configuration, the flag's salt value, and the user properties), a percentage rollout co
Changed Files.new_data_source() to use yaml.safe_load() instead of yaml.load() for YAML/JSON test data parsing. This disables pyyaml extended syntax f
Files.new_data_source() to use yaml.safe_load() instead of yaml.load() for YAML/JSON test data parsing. This disables pyyaml extended syntax features that could allow arbitrary code execution. (#136)Fixed an incompatibility with Python 3.3 due to an unpinned dependency on expiringdict.
expiringdict.SyntaxWarning in Python 3.8. (Thanks, bunchesofdonald!)SyntaxWarning will always cause a build failure, and added a 3.8 build.The new Config parameter http_proxy allows you to specify a proxy server programmatically rather than by using environment variables. This may be help
Config parameter http_proxy allows you to specify a proxy server programmatically rather than by using environment variables. This may be helpful if you want the SDK to use a proxy, but do not want other Python code to use the proxy. (Thanks, gangeli!)Since version 6.1.0, the SDK was not respecting the standard https_proxy environment variable for specifying a proxy (because that variable is not use
https_proxy environment variable for specifying a proxy (because that variable is not used by urllib3). This has been fixed.__dict__.Fixed a bug in 6.10.0 that prevented analytics events from being generated for missing flags.
Added support for upcoming LaunchDarkly experimentation features. See LDClient.track().
LDClient.track().Under conditions where analytics events are being generated at an extremely high rate (for instance, if an application is evaluating a flag repeatedly
variation while waiting for the internal event processing logic to catch up with the backlog. The logic has been changed to drop events if necessary so threads will not be blocked (similar to how the SDK already drops events if the size of the event buffer is exceeded). If that happens, this warning message will be logged once: "Events are being produced faster than they can be processed; some events will be dropped". Under normal conditions this should never happen; this change is meant to avoid a concurrency bottleneck in applications that are already so busy that thread starvation is likely.Usages of Logger.warn() were causing deprecation warnings in some versions of Python. Changed these to Logger.warning().
Logger.warn() were causing deprecation warnings in some versions of Python. Changed these to Logger.warning(). (#125)Changed the artifact name from ldclient-py to launchdarkly-server-sdk
ldclient-py to launchdarkly-server-sdkThere are no other changes in this release. Substituting ldclient-py version 6.9.1 with launchdarkly-server-sdk version 6.9.2 will not affect functionality. Be sure to uninstall the ldclient-py dependency from your runtime environment when making this change.
Your coding agent can read these notes before it upgrades. Set up the MCP server →