Skip to content

Releases: optimizely/php-sdk

Release 3.7.0

17 Feb 21:54
39cfc1c
Compare
Choose a tag to compare

3.7.0

February 17th, 2021

New Features:

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

    • setAttribute
    • decide
    • decideAll
    • decideForKeys
    • trackEvent
  • For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/v4.0/docs/php-sdk.

Release 3.6.1

20 Nov 00:32
29508a9
Compare
Choose a tag to compare

3.6.1

November 19th, 2020

Bug Fixes

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

Release 3.6.0

03 Nov 00:12
04f5300
Compare
Choose a tag to compare

3.6.0

November 2nd, 2020

New Features

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

Release 3.5.0

01 Oct 19:15
9aef7ba
Compare
Choose a tag to compare

3.5.0

October 1st, 2020

New Features:

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

Release 3.4.0

08 Jul 20:07
583b460
Compare
Choose a tag to compare

3.4.0

July 8th, 2020

New Features:

  • Introduced 2 APIs to interact with feature variables:
    • getFeatureVariableJSON allows you to get value for JSON variables related to a feature.
    • getAllFeatureVariables gets values for all variables under a feature.
  • Added support for fetching authenticated datafiles. HTTPProjectConfigManager now accepts datafileAccessToken to be able to fetch datafiles belonging to secure environments.

Bug Fixes:

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

Release 3.3.1

29 May 18:42
Compare
Choose a tag to compare

3.3.1

May 29th, 2020

Bug Fixes:

  • This release adds an SDK key param to Optimizely constructor. The user can now create an Optimizely instance only using an SDK key. Previously the user was required to create a HTTPProjectConfigManager, and pass it as a config manager in the constructor. (#189, #193)

Release 3.3.0

28 Jan 00:04
d5c038f
Compare
Choose a tag to compare

3.3.0

January 27th, 2020

New Features:

  • Added a new API to get project configuration static data.

Release 3.2.0

28 Aug 21:46
8ffbdb5
Compare
Choose a tag to compare

3.2.0

August 28th, 2019

New Features:

  • Added support for datafile management via HTTPProjectConfigManager:
    $configManager = new HTTPProjectConfigManager(<<SDK_KEY>>);
    $optimizely = new Optimizely(<<DATAFILE>>, null, null, null, false, null, $configManager);  
    
    • The fetch method allows you to refresh the config. In order to update the config, you can do something like:
    $configManager->fetch();
    

Release 3.1.0

03 May 22:27
6bc0c7b
Compare
Choose a tag to compare

3.1.0

May 3rd, 2019

New Features:

  • Introduced Decision notification listener to be able to record:
    • Variation assignments for users activated in an experiment.
    • Feature access for users.
    • Feature variable value for users.

Bug Fixes:

  • Feature variable APIs return default variable value when featureEnabled property is false. (#159)

Deprecated

  • Activate notification listener is deprecated as of this release. Recommendation is to use the new Decision notification listener. Activate notification listener will be removed in the next major release.

Release 3.0.1

19 Apr 20:26
7cbb08d
Compare
Choose a tag to compare

3.0.1

April 19th, 2019

Security Fix:

  • Removed CurlEventDispatcher. (#168)
    • ID: opt-2019-0001
    • Overall CVSSv3: 6.0
    • Optimizely Severity: High