You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to the LaunchDarkly Java SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
4
+
5
+
## [2.0.0] - 2016-08-08
6
+
### Added
7
+
- Support for multivariate feature flags. In addition to booleans, feature flags can now return numbers, strings, dictionaries, or arrays via the `variation` method.
8
+
- New `allFlags` method returns all flag values for a specified user.
9
+
- New `secureModeHash` function computes a hash suitable for the new LaunchDarkly JavaScript client's secure mode feature.
10
+
11
+
### Changed
12
+
- The `FeatureRep` data model has been replaced with `FeatureFlag`. `FeatureFlag` is not generic.
13
+
14
+
### Deprecated
15
+
- The `toggle` call has been deprecated in favor of `variation`.
We encourage pull-requests and other contributions from the community. We've also published an [SDK contributor's guide](http://docs.launchdarkly.com/v1.0/docs/sdk-contributors-guide) that provides a detailed explanation of how our SDKs work.
It will then be used as the default way of fetching flags.
56
+
57
+
Using Redis
58
+
===========
59
+
60
+
1. Require Predis as a dependency:
61
+
62
+
php composer.phar require "predis/predis:1.0.*"
63
+
64
+
2. Create the LDClient with the Redis feature requester as an option:
65
+
66
+
$client = new LaunchDarkly\LDClient("your_sdk_key", ['feature_requester_class' => 'LaunchDarkly\LDDFeatureRequester']);
67
+
37
68
Learn more
38
69
-----------
39
70
40
-
Check out our [documentation](http://docs.launchdarkly.com) for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the [complete reference guide for this SDK](http://docs.launchdarkly.com/v1.0/docs/php-sdk-reference).
71
+
Check out our [documentation](http://docs.launchdarkly.com) for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the [complete reference guide for this SDK](http://docs.launchdarkly.com/docs/php-sdk-reference).
72
+
73
+
Testing
74
+
-------
75
+
76
+
We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs, as well as test networking behavior in a long-running application. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.
41
77
42
78
Contributing
43
79
------------
44
80
45
-
We encourage pull-requests and other contributions from the community. We've also published an [SDK contributor's guide](http://docs.launchdarkly.com/v1.0/docs/sdk-contributors-guide) that provides a detailed explanation of how our SDKs work.
81
+
We encourage pull-requests and other contributions from the community. We've also published an [SDK contributor's guide](http://docs.launchdarkly.com/docs/sdk-contributors-guide) that provides a detailed explanation of how our SDKs work.
0 commit comments