Skip to content

Commit

Permalink
chore: prepare for release 3.9.1 (#248)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
mnoman09 and msohailhussain authored May 31, 2022
1 parent 0cfe620 commit 6692337
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Optimizely PHP SDK Changelog

## 3.9.1
May 31st, 2022

### Bug Fixes
* 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))

* 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))
* Return type should be `ProjectConfigInterface` when calling `createProjectConfigFromDatafile` method. ([#249](https://github.com/optimizely/php-sdk/pull/247))

## 3.9.0
January 10th, 2022

Expand Down
2 changes: 1 addition & 1 deletion src/Optimizely/Event/Builder/EventBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class EventBuilder
/**
* @const string Version of the Optimizely PHP SDK.
*/
const SDK_VERSION = '3.9.0';
const SDK_VERSION = '3.9.1';

/**
* @var string URL to send event to.
Expand Down
2 changes: 1 addition & 1 deletion tests/EventTests/EventBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function setUp()
]],
'revision' => '15',
'client_name' => 'php-sdk',
'client_version' => '3.9.0',
'client_version' => '3.9.1',
'anonymize_ip'=> false,
'enrich_decisions' => true,
];
Expand Down

0 comments on commit 6692337

Please sign in to comment.