Skip to content

Commit 24d2d24

Browse files
Updating version to 1.1.1 (#42)
1 parent 56507ab commit 24d2d24

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.1.1
2+
- Updated datafile parsing to be able to handle additional fields.
3+
14
## 1.1.0
25
- Updated to send datafile revision information in log events.
36
- Gracefully handle empty entity IDs.

src/Optimizely/Event/Builder/EventBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class EventBuilder
3434
/**
3535
* @const string Version of the Optimizely PHP SDK.
3636
*/
37-
const SDK_VERSION = '1.1.0';
37+
const SDK_VERSION = '1.1.1';
3838

3939
/**
4040
* @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.0',
52+
'clientVersion' => '1.1.1',
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.0',
87+
'clientVersion' => '1.1.1',
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.0',
132+
'clientVersion' => '1.1.1',
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.0',
176+
'clientVersion' => '1.1.1',
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.0',
231+
'clientVersion' => '1.1.1',
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.0',
285+
'clientVersion' => '1.1.1',
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.0',
359+
'clientVersion' => '1.1.1',
360360
'userFeatures' => [],
361361
'isGlobalHoldback' => false,
362362
'timestamp' => time() * 1000,

0 commit comments

Comments
 (0)