Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Optimizely PHP SDK Changelog

## 3.7.0
February 17th, 2021

### New Features:
- Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users ([#220](https://github.com/optimizely/php-sdk/pull/220), [#224](https://github.com/optimizely/php-sdk/pull/224)). The new `OptimizelyUserContext` class is instantiated with `createUserContext` and exposes the following APIs to get `OptimizelyDecision`:

- setAttribute
- decide
- decideAll
- decideForKeys
- trackEvent

- For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/v4.0/docs/php-sdk.

## 3.6.1
November 19th, 2020

Expand Down
2 changes: 1 addition & 1 deletion src/Optimizely/Event/Builder/EventBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class EventBuilder
/**
* @const string Version of the Optimizely PHP SDK.
*/
const SDK_VERSION = '3.6.1';
const SDK_VERSION = '3.7.0';

/**
* @var string URL to send event to.
Expand Down
2 changes: 1 addition & 1 deletion tests/EventTests/EventBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function setUp()
]],
'revision' => '15',
'client_name' => 'php-sdk',
'client_version' => '3.6.1',
'client_version' => '3.7.0',
'anonymize_ip'=> false,
'enrich_decisions' => true,
];
Expand Down