Skip to content

Releases: optimizely/python-sdk

Release 3.8.0

12 Feb 21:52
5fefd2b
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

[3.5.1] - July 10th, 2020

Bug Fixes:

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

Release 3.5.0

09 Jul 15:56
Compare
Choose a tag to compare

[3.5.0] - July 9th, 2020

New Features:

  • Introduced 2 APIs to interact with feature variables:
    • get_feature_variable_json allows you to get value for JSON variables related to a feature.
    • get_all_feature_variables gets values for all variables under a feature.
  • Added support for fetching authenticated datafiles. AuthDatafilePollingConfigManager is a new config manager that allows you to poll for a datafile belonging to a secure environment. You can create a client by setting the datafile_access_token.

Bug Fixes:

  • Fixed log messages for targeted rollouts evaluation. (#268)

Release 3.4.2

11 Jun 22:21
fdbc5ea
Compare
Choose a tag to compare

[3.4.2] - June 11th, 2020

Bug Fixes:

  • Adjusted log level for audience evaluation logs. (#267).

Release 3.4.1

19 Mar 17:24
8562eee
Compare
Choose a tag to compare

[3.4.1] - March 19th, 2020

Bug Fixes:

Release 3.4.0

28 Jan 00:28
Compare
Choose a tag to compare

[3.4.0] - January 27th, 2020

New Features:

  • Added a new API to get project configuration static data.
    • Call get_optimizely_config() to get a snapshot of project configuration static data.
    • It returns an OptimizelyConfig instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values.
    • Added caching for get_optimizely_config() - OptimizelyConfig object will be cached and reused for the lifetime of the datafile.
    • For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-python.