Releases: optimizely/php-sdk
Releases · optimizely/php-sdk
Release 3.7.0
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 withcreateUserContext
and exposes the following APIs to getOptimizelyDecision
:- 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
Release 3.6.0
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
Release 3.4.0
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 acceptsdatafileAccessToken
to be able to fetch datafiles belonging to secure environments.
Bug Fixes:
- Adjusted log level for audience evaluation logs. (#198)
Release 3.3.1
Release 3.3.0
3.3.0
January 27th, 2020
New Features:
- Added a new API to get project configuration static data.
- Call
getOptimizelyConfig()
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. - For more details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-php.
- Call
Release 3.2.0
3.2.0
August 28th, 2019
New Features:
- Added support for datafile management via HTTPProjectConfigManager:
- The HTTPProjectConfigManager is an implementation of the ProjectConfigManagerInterface.
- Users will have to initialize and pass in the config manager to be able to use it:
$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
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
3.0.1
April 19th, 2019
Security Fix:
- Removed CurlEventDispatcher. (#168)
- ID: opt-2019-0001
- Overall CVSSv3: 6.0
- Optimizely Severity: High