Skip to content

Releases: optimizely/php-sdk

v4.0.2

17 Mar 11:12
9b30186

Choose a tag to compare

What's Changed

  • [FSSDK-10665] fix: Github Actions YAML files vulnerable to script injections corrected in #287
  • [FSSDK-10015] Fix: Explicitly define class properties in #288

New Contributors

Full Changelog: 4.0.1...4.0.2

v4.0.1

04 Dec 22:06
e9250ed

Choose a tag to compare

What's Changed

Full Changelog: 4.0.0...4.0.1

Release 4.0.0

12 Jun 18:54
e197aa4

Choose a tag to compare

4.0.0

June 12, 2023

  • Provided support for PHP version 8.x.
  • Version 4.0.0 requires PHP8+.
  • Version 3 requires PHP5.5+ up to PHP7.

Release 3.9.4

29 Mar 17:53
825acfe

Choose a tag to compare

3.9.4

March 29 , 2023

  • We have made changes to avoid unnecessary deprecation notices and fixed some incorrect return hints. (#265).

Release 3.9.3

13 Mar 15:24

Choose a tag to compare

March 13, 2023

  • We updated our README.md and other non-functional code to reflect that this SDK supports both Optimizely Feature Experimentation and Optimizely Full Stack. (#261).

Release 3.9.2

05 Oct 21:43
fa9a3bf

Choose a tag to compare

3.9.2

October 5th, 2022

Bug Fixes

  • String type casting added to avoid deprecation notices when passing null to strlen. (#253)

Release 3.9.1

31 May 17:56
6692337

Choose a tag to compare

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)

  • In HTTPProjectConfigManager fetchDatafile function datafile should be a string. So it is fixed by using ->getContents() which returns string. (#243, #247)

  • Return type should be ProjectConfigInterface when calling createProjectConfigFromDatafile method. (#249)

Release 3.9.0

10 Jan 18:57
8b1367a

Choose a tag to compare

3.9.0

January 10th, 2022

New Features

  • Add a set of new APIs for overriding and managing user-level flag, experiment and delivery rule decisions. These methods can be used for QA and automated testing purposes. They are an extension of the OptimizelyUserContext interface (#233, #236, #237, #238)
    • setForcedDecision
    • getForcedDecision
    • removeForcedDecision
    • removeAllForcedDecisions

Enhancements

  • Updated SDK to support latest versions of PHP and Laravel by removing major version restrictions for monolog/monolog and guzzlehttp/guzzle (#235).

Release 3.8.0

16 Sep 20:48
e46fde5

Choose a tag to compare

3.8.0

September 16th, 2021

New Features:

Deprecated:

  • OptimizelyFeature.experimentsMap of OptimizelyConfig is deprecated as of this release. Please use OptimizelyFeature.experimentRules and OptimizelyFeature.deliveryRules. (#230)

Release 3.7.1

04 Aug 20:39
f15e5f7

Choose a tag to compare

3.7.1

August 4th, 2021

Bug Fixes

  • Fixed duplicate experiment key issue with multiple feature flags. While trying to get variation from the variationKeyMap, it was unable to find because the latest experiment key was overriding the previous one. #226