Releases: launchdarkly/php-server-sdk
Releases · launchdarkly/php-server-sdk
2.0.2
[2.0.2] - 2017-01-04
Changed
- Better handling of null vs false when evaluating.
2.0.1
Support multivariate feature flags, and more!
Added
- Support for multivariate feature flags. New methods
boolVariation
,jsonVariation
andintVariation
anddoubleVariation
for multivariates. - Added
LDClientInterface
, an interface suitable for mockingLDClient
.
Changed
- The
Feature
data model has been replaced withFeatureFlag
.FeatureFlag
is not generic. - The
allFlags
method now returns aMap<String, JsonElement>
to support multivariate flags.
Deprecated
- The
toggle
call has been deprecated in favor ofboolVariation
.
Removed
- The
getFlag
call has been removed. - The
debugStreaming
configuration option has been removed.
Address Httpoxy vulnerability
Addresses #30 which includes a breaking API change. The caching interface is now https://github.com/Kevinrob/guzzle-cache-middleware. See http://docs.launchdarkly.com/v1.0/docs/php-sdk-reference for details.
Events URI, report default SDK value
This release adds a config option to change the URI that events are sent to (most people should not need to change this), and it also includes the default value that is given to toggle
in the feature request event.
Relax version dependency requirements for Guzzle
v0.6.3 Bump versions for consistency with tags
Relax version dependency requirements for Guzzle
0.6.3 Bump versions for consistency with tags
Ensure that empty custom attributes are not serialized to json
Merge pull request #20 from launchdarkly/jko/check-empty Ensure that empty custom attributes are not serialized to json
Clean up extraneous error logging
Merge pull request #19 from hipchat/master Don't err on missing feature