Skip to content

Commit e197aa4

Browse files
authored
[FSSDK-9415] Prep for 4.0.0 release (#272)
* Update EventBuilder.php w version 4.0.0 * Update EventBuilderTest.php * Update CHANGELOG.md * Update CHANGELOG.md * Update README.md
1 parent 3b68628 commit e197aa4

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Optimizely PHP SDK Changelog
22

3+
## 4.0.0
4+
June 12, 2023
5+
6+
* Provided support for PHP version 8.x.
7+
* Version 4.0.0 requires PHP8+.
8+
* Version 3 requires PHP5.5+ up to PHP7.
9+
310
## 3.9.4
411
March 29 , 2023
512

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Refer to the [PHP SDK's developer documentation](https://docs.developers.optimiz
1919

2020
To access the Feature Management configuration in the Optimizely dashboard, please contact your Optimizely account executive.
2121

22+
SDK version 4.0.0 requires PHP8+.
23+
SDK version 3 requires PHP5.5+ up to PHP7.
24+
2225
### Install the SDK
2326

2427
The Optimizely PHP SDK can be installed through [Composer](https://getcomposer.org/). Please use the following command:

src/Optimizely/Event/Builder/EventBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class EventBuilder
3939
/**
4040
* @const string Version of the Optimizely PHP SDK.
4141
*/
42-
const SDK_VERSION = '3.9.4';
42+
const SDK_VERSION = '4.0.0';
4343

4444
/**
4545
* @var string URL to send event to.

tests/EventTests/EventBuilderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected function setUp() : void
6969
]],
7070
'revision' => '15',
7171
'client_name' => 'php-sdk',
72-
'client_version' => '3.9.4',
72+
'client_version' => '4.0.0',
7373
'anonymize_ip'=> false,
7474
'enrich_decisions' => true,
7575
];

0 commit comments

Comments
 (0)