From 6c4f6a8525c16452017bf7d3c26818b3c9b80e48 Mon Sep 17 00:00:00 2001 From: Jae Kim Date: Wed, 17 Feb 2021 13:11:06 -0800 Subject: [PATCH] prepare for release 3.7.0 --- CHANGELOG.md | 14 ++++++++++++++ src/Optimizely/Event/Builder/EventBuilder.php | 2 +- tests/EventTests/EventBuilderTest.php | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d041d51c..3c0f893f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Optimizely PHP SDK Changelog +## 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](https://github.com/optimizely/php-sdk/pull/220), [#224](https://github.com/optimizely/php-sdk/pull/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. + ## 3.6.1 November 19th, 2020 diff --git a/src/Optimizely/Event/Builder/EventBuilder.php b/src/Optimizely/Event/Builder/EventBuilder.php index d0c1db04..3430ab1f 100644 --- a/src/Optimizely/Event/Builder/EventBuilder.php +++ b/src/Optimizely/Event/Builder/EventBuilder.php @@ -38,7 +38,7 @@ class EventBuilder /** * @const string Version of the Optimizely PHP SDK. */ - const SDK_VERSION = '3.6.1'; + const SDK_VERSION = '3.7.0'; /** * @var string URL to send event to. diff --git a/tests/EventTests/EventBuilderTest.php b/tests/EventTests/EventBuilderTest.php index 57cf2c92..4d14fa7c 100644 --- a/tests/EventTests/EventBuilderTest.php +++ b/tests/EventTests/EventBuilderTest.php @@ -68,7 +68,7 @@ public function setUp() ]], 'revision' => '15', 'client_name' => 'php-sdk', - 'client_version' => '3.6.1', + 'client_version' => '3.7.0', 'anonymize_ip'=> false, 'enrich_decisions' => true, ];