diff --git a/CHANGELOG.md b/CHANGELOG.md index db6a98cc..e0ca5d5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Optimizely PHP SDK Changelog +## 3.8.0 +September 16th, 2021 + +### New Features: +- Add new public properties to `OptimizelyConfig`. ([#230](https://github.com/optimizely/php-sdk/pull/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](https://docs.developers.optimizely.com/full-stack/v4.0/docs/optimizelyconfig-php). + +### Deprecated: +- `OptimizelyFeature.experimentsMap` of `OptimizelyConfig` is deprecated as of this release. Please use `OptimizelyFeature.experimentRules` and `OptimizelyFeature.deliveryRules`. ([#230](https://github.com/optimizely/php-sdk/pull/230)) + + ## 3.7.1 August 4th, 2021 diff --git a/src/Optimizely/Event/Builder/EventBuilder.php b/src/Optimizely/Event/Builder/EventBuilder.php index 4f7bd926..8f2144cb 100644 --- a/src/Optimizely/Event/Builder/EventBuilder.php +++ b/src/Optimizely/Event/Builder/EventBuilder.php @@ -38,7 +38,7 @@ class EventBuilder /** * @const string Version of the Optimizely PHP SDK. */ - const SDK_VERSION = '3.7.1'; + const SDK_VERSION = '3.8.0'; /** * @var string URL to send event to. diff --git a/tests/EventTests/EventBuilderTest.php b/tests/EventTests/EventBuilderTest.php index 4c6d6126..9dd4e79c 100644 --- a/tests/EventTests/EventBuilderTest.php +++ b/tests/EventTests/EventBuilderTest.php @@ -68,7 +68,7 @@ public function setUp() ]], 'revision' => '15', 'client_name' => 'php-sdk', - 'client_version' => '3.7.1', + 'client_version' => '3.8.0', 'anonymize_ip'=> false, 'enrich_decisions' => true, ];