Skip to content

Releases: launchdarkly/python-server-sdk

9.0.0

17 Oct 19:16
Compare
Choose a tag to compare

[9.0.0] - 2023-10-17

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.

Added:

  • A new Migrator type which provides an out-of-the-box configurable migration framework.
  • For more advanced use cases, added new migration_variation and track_migration_op methods on LDClient.

Changed:

  • Raised pyyaml dependency to >=5.3.

Removed:

  • Python 3.7 support was removed.
  • The legacy user format for contexts is no longer supported. To learn more, read the Contexts documentation.
  • Methods which originally took a Context or a dict now only accept a Context.
  • Previously deprecated config options user_cache_size, user_cache_time, user_keys_capacity, user_keys_flush_interval, and private_attribute_names have been removed.
  • Previously deprecated test data flag builder method variation_for_all_users has been removed.

8.2.0

17 Oct 16:29
Compare
Choose a tag to compare

[8.2.0] - 2023-10-17

Deprecated:

  • Creating an 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.
  • Providing client methods 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.

8.1.7

05 Oct 16:54
Compare
Choose a tag to compare

[8.1.7] - 2023-10-05

Changed:

  • Loosened urllib3 requirement to <3

8.1.6

06 Sep 17:51
Compare
Choose a tag to compare

[8.1.6] - 2023-09-06

Changed:

  • Recoverable errors are logged as a warning not an error. (Thanks, fritzdj!)

8.1.5

15 Aug 13:04
Compare
Choose a tag to compare

[8.1.5] - 2023-08-15

Changed:

  • Loosened the requirements on the semver package. (Thanks, hauntsaninja!)

8.1.4

01 Jun 19:38
Compare
Choose a tag to compare

[8.1.4] - 2023-06-01

Fixed:

  • Password will be redacted from redis URL prior to logging.

8.1.3

03 May 20:07
Compare
Choose a tag to compare

[8.1.3] - 2023-05-03

Fixed:

  • Updated usage of HTTPResponse.getheader to remove deprecation warning from upstream urllib3 package. (Thanks, mnito!)

8.1.2

01 May 16:54
Compare
Choose a tag to compare

[8.1.2] - 2023-05-01

Fixed:

  • Pinned urllib3 dependency to <2. (Thanks, prpnmac!)

8.1.1

10 Feb 20:59
Compare
Choose a tag to compare

[8.1.1] - 2023-02-10

Fixed:

  • Fixed indexing error raised by calling all_flags_state while using the TestData data source.

7.6.1

07 Feb 18:48
Compare
Choose a tag to compare

[7.6.1] - 2023-02-07

Fixed:

  • Fixed indexing error raised by calling all_flags_state while using the TestData data source.