Skip to content

Commit 33a89e2

Browse files
authored
Prepping to release 1.2.0. (#50)
1 parent e2697f3 commit 33a89e2

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.2.0
2+
- Add user profile service.
3+
14
## 1.1.1
25
- Updated datafile parsing to be able to handle additional fields.
36

@@ -6,7 +9,7 @@
69
- Gracefully handle empty entity IDs.
710
- Added event tags to track API to allow users to pass in event metadata.
811
- Deprecated the `eventValue` parameter from the track method. Should use `eventTags` to pass in event value instead.
9-
- Relaxed restriction on monolog package.
12+
- Relaxed restriction on monolog package.
1013

1114
## 1.0.1
1215
- Updated to support more versions of json-schema package.

src/Optimizely/Event/Builder/EventBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class EventBuilder
3333
/**
3434
* @const string Version of the Optimizely PHP SDK.
3535
*/
36-
const SDK_VERSION = '1.1.1';
36+
const SDK_VERSION = '1.2.0';
3737

3838
/**
3939
* @var string URL to send impression event to.

tests/EventTests/EventBuilderTest.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function testCreateImpressionEventNoAttributes()
4949
'layerId' => '7719770039',
5050
'visitorId' => 'testUserId',
5151
'clientEngine' => 'php-sdk',
52-
'clientVersion' => '1.1.1',
52+
'clientVersion' => '1.2.0',
5353
'timestamp' => time() * 1000,
5454
'isGlobalHoldback' => false,
5555
'userFeatures' => [],
@@ -84,7 +84,7 @@ public function testCreateImpressionEventWithAttributes()
8484
'layerId' => '7719770039',
8585
'visitorId' => 'testUserId',
8686
'clientEngine' => 'php-sdk',
87-
'clientVersion' => '1.1.1',
87+
'clientVersion' => '1.2.0',
8888
'timestamp' => time() * 1000,
8989
'isGlobalHoldback' => false,
9090
'userFeatures' => [[
@@ -129,7 +129,7 @@ public function testCreateConversionEventNoAttributesNoValue()
129129
'visitorId' => 'testUserId',
130130
'revision' => '15',
131131
'clientEngine' => 'php-sdk',
132-
'clientVersion' => '1.1.1',
132+
'clientVersion' => '1.2.0',
133133
'userFeatures' => [],
134134
'isGlobalHoldback' => false,
135135
'timestamp' => time() * 1000,
@@ -173,7 +173,7 @@ public function testCreateConversionEventWithAttributesNoValue()
173173
'visitorId' => 'testUserId',
174174
'revision' => '15',
175175
'clientEngine' => 'php-sdk',
176-
'clientVersion' => '1.1.1',
176+
'clientVersion' => '1.2.0',
177177
'isGlobalHoldback' => false,
178178
'timestamp' => time() * 1000,
179179
'eventFeatures' => [],
@@ -228,7 +228,7 @@ public function testCreateConversionEventNoAttributesWithValue()
228228
'visitorId' => 'testUserId',
229229
'revision' => '15',
230230
'clientEngine' => 'php-sdk',
231-
'clientVersion' => '1.1.1',
231+
'clientVersion' => '1.2.0',
232232
'userFeatures' => [],
233233
'isGlobalHoldback' => false,
234234
'timestamp' => time() * 1000,
@@ -282,7 +282,7 @@ public function testCreateConversionEventWithAttributesWithValue()
282282
'visitorId' => 'testUserId',
283283
'revision' => '15',
284284
'clientEngine' => 'php-sdk',
285-
'clientVersion' => '1.1.1',
285+
'clientVersion' => '1.2.0',
286286
'isGlobalHoldback' => false,
287287
'timestamp' => time() * 1000,
288288
'eventFeatures' => [
@@ -356,7 +356,7 @@ public function testCreateConversionEventNoAttributesWithInvalidValue()
356356
'visitorId' => 'testUserId',
357357
'revision' => '15',
358358
'clientEngine' => 'php-sdk',
359-
'clientVersion' => '1.1.1',
359+
'clientVersion' => '1.2.0',
360360
'userFeatures' => [],
361361
'isGlobalHoldback' => false,
362362
'timestamp' => time() * 1000,

0 commit comments

Comments
 (0)