Releases: optimizely/php-sdk
Releases · optimizely/php-sdk
Release 4.0.3
What's Changed
- [FSSDK-12316] [Security] Fix curl|bash vulnerability in SourceClear scan by @Tamara-Barum in #294
- [FSSDK-12610] Fix: PHP 8.4 implicit nullable parameter deprecation warnings by @Tamara-Barum in #296
- [FSSDK-12610] chore: Prepare release 4.0.3 by @Tamara-Barum in #297
New Contributors
- @Tamara-Barum made their first contribution in #294
Full Changelog: 4.0.2...4.0.3
v4.0.2
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
- @FarhanAnjum-opti made their first contribution in #287
Full Changelog: 4.0.1...4.0.2
v4.0.1
What's Changed
- [FSSDK-9022] Dev Containers and bug bash by @Mat001 in #269
- [FSSDK-9553] Add GitHub Issues templates by @mikechu-optimizely in #278
- [FSSDK-9573] Fix: Deprecation warning by @mikechu-optimizely in #279
- [FSSDK-9784] Return Latest Experiment When Duplicate Keys in Config by @mikechu-optimizely in #280
- [FSSDK-9630] Fix: Code examples by @localheinz in #281
Full Changelog: 4.0.0...4.0.1
Release 4.0.0
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
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
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
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
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
ProjectConfigInterfacewhen callingcreateProjectConfigFromDatafilemethod. (#249)
Release 3.9.0
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
- For details, refer to our documentation pages: OptimizelyUserContext and Forced Decision methods.
Enhancements
- Updated SDK to support latest versions of PHP and Laravel by removing major version restrictions for
monolog/monologandguzzlehttp/guzzle(#235).
Release 3.8.0
3.8.0
September 16th, 2021
New Features:
- Add new public properties to
OptimizelyConfig. (#230)- sdkKey
- environmentKey
- attributes
- audiences
- events
- experimentRules and deliveryRules to
OptimizelyFeature - audiences to
OptimizelyExperiment
- For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/v4.0/docs/optimizelyconfig-php.
Deprecated:
OptimizelyFeature.experimentsMapofOptimizelyConfigis deprecated as of this release. Please useOptimizelyFeature.experimentRulesandOptimizelyFeature.deliveryRules. (#230)