From e9250ed240260ed23281596bbde700f1a6e59678 Mon Sep 17 00:00:00 2001 From: Mike Chu <104384559+mikechu-optimizely@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:04:52 -0500 Subject: [PATCH] chore: prepare release 4.0.1 (#282) --- CHANGELOG.md | 9 +++++++++ src/Optimizely/Event/Builder/EventBuilder.php | 2 +- tests/EventTests/EventBuilderTest.php | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cebf6dcd..34678e01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Optimizely PHP SDK Changelog +## 4.0.1 +December 4, 2023 + +* Add Dev Containers and bug bash #269 +* Add GitHub Issues templates #278 +* Fix: Deprecation warning #279 +* Return Latest Experiment When Duplicate Keys in Config #280 +* Fix: Code examples by @localheinz #281 + ## 4.0.0 June 12, 2023 diff --git a/src/Optimizely/Event/Builder/EventBuilder.php b/src/Optimizely/Event/Builder/EventBuilder.php index 21a0524a..cc1e2e4c 100644 --- a/src/Optimizely/Event/Builder/EventBuilder.php +++ b/src/Optimizely/Event/Builder/EventBuilder.php @@ -39,7 +39,7 @@ class EventBuilder /** * @const string Version of the Optimizely PHP SDK. */ - const SDK_VERSION = '4.0.0'; + const SDK_VERSION = '4.0.1'; /** * @var string URL to send event to. diff --git a/tests/EventTests/EventBuilderTest.php b/tests/EventTests/EventBuilderTest.php index ae1df007..967c5893 100644 --- a/tests/EventTests/EventBuilderTest.php +++ b/tests/EventTests/EventBuilderTest.php @@ -69,7 +69,7 @@ protected function setUp() : void ]], 'revision' => '15', 'client_name' => 'php-sdk', - 'client_version' => '4.0.0', + 'client_version' => '4.0.1', 'anonymize_ip'=> false, 'enrich_decisions' => true, ];