PHP-SDK - 3.9.0

  • Updated

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](https://github.com/optimizely/php-sdk/pull/233), [#236](https://github.com/optimizely/php-sdk/pull/236), [#237](https://github.com/optimizely/php-sdk/pull/237), [#238](https://github.com/optimizely/php-sdk/pull/238))

  • setForcedDecision
  • getForcedDecision
  • removeForcedDecision
  • removeAllForcedDecisions

For details, refer to our documentation pages: [OptimizelyUserContext](https://docs.developers.optimizely.com/full-stack/v4.0/docs/optimizelyusercontext-php) and [Forced Decision methods](https://docs.developers.optimizely.com/full-stack/v4.0/docs/forced-decision-methods-php).

Enhancements

- Updated SDK to support latest versions of PHP and Laravel by removing major version restrictions for `monolog/monolog` and `guzzlehttp/guzzle` ([#235](https://github.com/optimizely/php-sdk/pull/235)).

https://github.com/optimizely/php-sdk/releases/tag/3.9.0