Skip to content

Commit 6692337

Browse files
chore: prepare for release 3.9.1 (#248)
* chore: prepare for release 3.9.1 * Update CHANGELOG.md * added 249 pr as part of this changelog. Co-authored-by: Mirza Sohail Hussain <[email protected]>
1 parent 0cfe620 commit 6692337

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

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

3+
## 3.9.1
4+
May 31st, 2022
5+
6+
### Bug Fixes
7+
* Since php 8.1 internal functions are using proper return types. This results in deprecation notices for some of the methods. To suppress the notice for php8.1+ the new ReturnTypeWillChange attribute is added to the method in question. ([#242](https://github.com/optimizely/php-sdk/pull/242))
8+
9+
* In HTTPProjectConfigManager fetchDatafile function datafile should be a string. So it is fixed by using ->getContents() which returns string. ([#243](https://github.com/optimizely/php-sdk/pull/243), [#247](https://github.com/optimizely/php-sdk/pull/247))
10+
* Return type should be `ProjectConfigInterface` when calling `createProjectConfigFromDatafile` method. ([#249](https://github.com/optimizely/php-sdk/pull/247))
11+
312
## 3.9.0
413
January 10th, 2022
514

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.0';
42+
const SDK_VERSION = '3.9.1';
4343

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

tests/EventTests/EventBuilderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function setUp()
6868
]],
6969
'revision' => '15',
7070
'client_name' => 'php-sdk',
71-
'client_version' => '3.9.0',
71+
'client_version' => '3.9.1',
7272
'anonymize_ip'=> false,
7373
'enrich_decisions' => true,
7474
];

0 commit comments

Comments
 (0)