This release introduces the ability to enable compression of event payloads. When enabled, the SDK will compress events before sending them to the LaunchDarkly servers. This can reduce the bandwidth required to send events, which can be useful in high-traffic environments to reduce egress traffic costs.
[!IMPORTANT] Relay Proxy users MUST upgrade to version 8.9 or higher prior to enabling this option to prevent loss of event data.
However, enabling this feature is NOT required when using the Relay Proxy as it will manage compression automatically.
utcfromtimestamp usage.utcfromtimestamp usage.The latest version of this SDK supports the ability to manage migrations or modernizations, using migration flags. You might use this functionality if you are optimizing queries, upgrading to new tech stacks, migrating from one database to another, or other similar technology changes. Migration flags are part of LaunchDarkly's Early Access Program. This feature is available to all LaunchDarkly customers but may undergo additional changes before it is finalized.
For detailed information about this version, refer to the list below. For information on how to upgrade from the previous version, read the migration guide.
Migrator type which provides an out-of-the-box configurable migration framework.migration_variation and track_migration_op methods on LDClient.pyyaml dependency to >=5.3.Context or a dict now only accept a Context.user_cache_size, user_cache_time, user_keys_capacity, user_keys_flush_interval, and private_attribute_names have been removed.variation_for_all_users has been removed.LDContext using the legacy user format has been deprecated and will be removed in the next major release. To learn more, read the Contexts documentation.track, identify, variation, variation_detail, all_flags_state, and secure_mode_hash with a context dictionary is deprecated. In the next major release, a Context will be required.HTTPResponse.getheader to remove deprecation warning from upstream urllib3 package. (Thanks, mnito!)all_flags_state while using the TestData data source.