diff --git a/CHANGELOG.md b/CHANGELOG.md index d7a66272..b1e9086e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.2.0 +- Add user profile service. + ## 1.1.1 - Updated datafile parsing to be able to handle additional fields. @@ -6,7 +9,7 @@ - Gracefully handle empty entity IDs. - Added event tags to track API to allow users to pass in event metadata. - Deprecated the `eventValue` parameter from the track method. Should use `eventTags` to pass in event value instead. -- Relaxed restriction on monolog package. +- Relaxed restriction on monolog package. ## 1.0.1 - Updated to support more versions of json-schema package. diff --git a/src/Optimizely/Event/Builder/EventBuilder.php b/src/Optimizely/Event/Builder/EventBuilder.php index 208abcbe..2db3404d 100644 --- a/src/Optimizely/Event/Builder/EventBuilder.php +++ b/src/Optimizely/Event/Builder/EventBuilder.php @@ -33,7 +33,7 @@ class EventBuilder /** * @const string Version of the Optimizely PHP SDK. */ - const SDK_VERSION = '1.1.1'; + const SDK_VERSION = '1.2.0'; /** * @var string URL to send impression event to. diff --git a/tests/EventTests/EventBuilderTest.php b/tests/EventTests/EventBuilderTest.php index 94a172ba..8012d96d 100644 --- a/tests/EventTests/EventBuilderTest.php +++ b/tests/EventTests/EventBuilderTest.php @@ -49,7 +49,7 @@ public function testCreateImpressionEventNoAttributes() 'layerId' => '7719770039', 'visitorId' => 'testUserId', 'clientEngine' => 'php-sdk', - 'clientVersion' => '1.1.1', + 'clientVersion' => '1.2.0', 'timestamp' => time() * 1000, 'isGlobalHoldback' => false, 'userFeatures' => [], @@ -84,7 +84,7 @@ public function testCreateImpressionEventWithAttributes() 'layerId' => '7719770039', 'visitorId' => 'testUserId', 'clientEngine' => 'php-sdk', - 'clientVersion' => '1.1.1', + 'clientVersion' => '1.2.0', 'timestamp' => time() * 1000, 'isGlobalHoldback' => false, 'userFeatures' => [[ @@ -129,7 +129,7 @@ public function testCreateConversionEventNoAttributesNoValue() 'visitorId' => 'testUserId', 'revision' => '15', 'clientEngine' => 'php-sdk', - 'clientVersion' => '1.1.1', + 'clientVersion' => '1.2.0', 'userFeatures' => [], 'isGlobalHoldback' => false, 'timestamp' => time() * 1000, @@ -173,7 +173,7 @@ public function testCreateConversionEventWithAttributesNoValue() 'visitorId' => 'testUserId', 'revision' => '15', 'clientEngine' => 'php-sdk', - 'clientVersion' => '1.1.1', + 'clientVersion' => '1.2.0', 'isGlobalHoldback' => false, 'timestamp' => time() * 1000, 'eventFeatures' => [], @@ -228,7 +228,7 @@ public function testCreateConversionEventNoAttributesWithValue() 'visitorId' => 'testUserId', 'revision' => '15', 'clientEngine' => 'php-sdk', - 'clientVersion' => '1.1.1', + 'clientVersion' => '1.2.0', 'userFeatures' => [], 'isGlobalHoldback' => false, 'timestamp' => time() * 1000, @@ -282,7 +282,7 @@ public function testCreateConversionEventWithAttributesWithValue() 'visitorId' => 'testUserId', 'revision' => '15', 'clientEngine' => 'php-sdk', - 'clientVersion' => '1.1.1', + 'clientVersion' => '1.2.0', 'isGlobalHoldback' => false, 'timestamp' => time() * 1000, 'eventFeatures' => [ @@ -356,7 +356,7 @@ public function testCreateConversionEventNoAttributesWithInvalidValue() 'visitorId' => 'testUserId', 'revision' => '15', 'clientEngine' => 'php-sdk', - 'clientVersion' => '1.1.1', + 'clientVersion' => '1.2.0', 'userFeatures' => [], 'isGlobalHoldback' => false, 'timestamp' => time() * 1000,