Skip to content

Commit 08572c9

Browse files
committed
Merge branch 'master' of github.com:launchdarkly/php-client
# Conflicts: # src/LaunchDarkly/LDClient.php
2 parents dd7f268 + b475838 commit 08572c9

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to the LaunchDarkly PHP SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [3.4.0] - 2018-09-04
6+
### Added:
7+
- The new `LDClient` method `variationDetail` allows you to evaluate a feature flag (using the same parameters as you would for `variation`) and receive more information about how the value was calculated. This information is returned in an object that contains both the result value and a "reason" object which will tell you, for instance, if the user was individually targeted for the flag or was matched by one of the flag's rules, or if the flag returned the default value due to an error.
8+
9+
### Fixed:
10+
- When evaluating a prerequisite feature flag, the analytics event for the evaluation did not include the result value if the prerequisite flag was off.
11+
512
## [3.3.0] - 2018-08-27
613
### Added:
714
- The new `LDClient` method `allFlagsState()` should be used instead of `allFlags()` if you are passing flag data to the front end for use with the JavaScript SDK. It preserves some flag metadata that the front end requires in order to send analytics events correctly. Versions 2.5.0 and above of the JavaScript SDK are able to use this metadata, but the output of `allFlagsState()` will still work with older versions.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.0
1+
3.4.0

src/LaunchDarkly/LDClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class LDClient
1212
{
1313
const DEFAULT_BASE_URI = 'https://app.launchdarkly.com';
1414
const DEFAULT_EVENTS_URI = 'https://events.launchdarkly.com';
15-
const VERSION = '3.3.0';
15+
const VERSION = '3.4.0';
1616

1717
/** @var string */
1818
protected $_sdkKey;

0 commit comments

Comments
 (0)