Skip to content

Releases: optimizely/python-sdk

Release 4.0.0

13 Jan 00:12
fc4fceb

Choose a tag to compare

[4.0.0] - January 12th, 2022

New Features

  • Add a set of new APIs for overriding and managing user-level flag, experiment and delivery rule decisions. These methods can be used for QA and automated testing purposes. They are an extension of the OptimizelyUserContext interface (#361, #365, #369):

    • setForcedDecision
    • getForcedDecision
    • removeForcedDecision
    • removeAllForcedDecisions
  • For details, refer to our documentation pages: OptimizelyUserContext and Forced Decision methods.

Breaking Changes:

  • Support for Python v3.4 has been dropped as of this release due to a security vulnerability with PyYAML <v5.4. (#366)
  • We no longer support Python v2.7, v3.5, and v3.6 including PyPy as of this release. (#377)
  • We now support Python v3.7 and above including PyPy3.

Release 3.10.0

16 Sep 18:59
5420c7c

Choose a tag to compare

[3.10.0] - September 16th, 2021

New Features

  • Added new public properties to OptimizelyConfig.

    • sdk_key and environment_key #338
    • attributes and events #339
    • experiment_rules, delivery_rules, audiences and audiences in OptimizelyExperiment #342 #351
  • For details please refer to our documentation page:

    • Python-sdk: [https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-python]
  • OptimizelyFeature.experiments_map of OptimizelyConfig is now deprecated. Please use OptimizelyFeature.experiment_rules and OptimizelyFeature.delivery_rules. #360

Bug Fixes

  • Fix event processor negative timeout interval when retrieving events from queue. #356

Release 3.9.1

15 Jul 19:20

Choose a tag to compare

[3.9.1] - July 15th, 2021

Bug Fixes:

  • Fixed issue with serving incorrect variation in projects containing multiple flags with duplicate keys. #347
  • Fixed issue with serving incorrect variation in create_impression_event in user_event_factory.py. #350

Release 3.9.0

01 Jun 21:33
7607cf4

Choose a tag to compare

[3.9.0] - June 1st, 2021

New Features

  • Added support for multiple concurrent prioritized experiments per flag. #322

Release 3.8.0

12 Feb 21:52
5fefd2b

Choose a tag to compare

[3.8.0] - February 12th, 2021

New Features

  • New Features
    Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users (#309). The new OptimizelyUserContext class is instantiated with create_user_context and exposes the following APIs to get OptimizelyDecision:

    • set_attribute
    • decide
    • decide_all
    • decide_for_keys
    • track_event

For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/v4.0/docs/python-sdk.

Release 3.7.1

20 Nov 00:53
73b7a38

Choose a tag to compare

[3.7.1] - November 19th, 2020

Bug Fixes:

  • Added "enabled" field to decision metadata structure. #306

Release 3.7.0

03 Nov 00:25
edf5528

Choose a tag to compare

[3.7.0] - November 2nd, 2020

New Features:

  • Added support for upcoming application-controlled introduction of tracking for non-experiment Flag decisions. #300

Release 3.6.0

01 Oct 18:49
2b1d68b

Choose a tag to compare

[3.6.0] - October 1st, 2020

New Features:

  • Version targeting using semantic version syntax. #293
  • Datafile accessor API added to access current config as a JSON string. #283

Bug Fixes:

  • Fixed package installation for Python 3.4 and pypy. #298

Release 3.5.2

14 Jul 20:32

Choose a tag to compare

[3.5.2] - July 14th, 2020

Bug Fixes:

  • Fixed handling of network and no status code errors when polling for datafile in PollingConfigManager and AuthDatafilePollingConfigManager. (#287)

Release 3.5.1

10 Jul 18:25

Choose a tag to compare

[3.5.1] - July 10th, 2020

Bug Fixes:

  • Fixed HTTP request exception handling in PollingConfigManager. (#285)