Skip to content

Commit f028b5d

Browse files
Updating version to 1.1.0 (#37)
1 parent 15768c9 commit f028b5d

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 1.1.0
2+
- Updated to send datafile revision information in log events.
3+
- Gracefully handle empty entity IDs.
4+
- Added event tags to track API to allow users to pass in event metadata.
5+
- Deprecated the `eventValue` parameter from the track method. Should use `eventTags` to pass in event value instead.
6+
- Relaxed restriction on monolog package.
7+
18
## 1.0.1
29
- Updated to support more versions of json-schema package.
310

src/Optimizely/Event/Builder/EventBuilder.php

Lines changed: 1 addition & 1 deletion
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.0.1';
37+
const SDK_VERSION = '1.1.0';
3838

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

tests/EventTests/EventBuilderTest.php

Lines changed: 7 additions & 7 deletions
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.0.1',
52+
'clientVersion' => '1.1.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.0.1',
87+
'clientVersion' => '1.1.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.0.1',
132+
'clientVersion' => '1.1.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.0.1',
176+
'clientVersion' => '1.1.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.0.1',
231+
'clientVersion' => '1.1.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.0.1',
285+
'clientVersion' => '1.1.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.0.1',
359+
'clientVersion' => '1.1.0',
360360
'userFeatures' => [],
361361
'isGlobalHoldback' => false,
362362
'timestamp' => time() * 1000,

0 commit comments

Comments
 (0)