Releases: launchdarkly/java-server-sdk
2.0.3
Add artifact
See Changelog.md
Remove slf4j from artifact
See Changelog for details
2.0.0
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. apiKey
constructor parameter is now namedsdkKey
Deprecated
- The
toggle
call has been deprecated in favor ofboolVariation
.
Removed
- The
getFlag
call has been removed. - The
debugStreaming
configuration option has been removed.
1.0.2
Includes these commits:
-Add link to built-in attributes in comments.
-Add check when adding custom attribute with same key as built-in attribute. Fix formatting. Fix null check in user builder.
-Update Javadoc when setting custom attributes for users.
-Added: - Configuration options to set the Jedis pool connection and socket timeouts in the RedisFeatureStore. - Support for 3 modes of RedisFeatureStore local cache behaviour; default evict, refresh and async refresh. - A RedisFeatureStoreBuilder with it's own builder. Deprecated the old constructors for the RedisFeatureStore. - Tests for the RedisFeatureStoreBuilder.
-Added a TestFeatureStore which helps programatically flip flag values on or off with a public API.
-Add a new method allFlags that returns the set of all feature flags for a given user.
Change EventSource Implementation.
Changes:
*Client constructor will now optionally wait to connect before returning: JavaDoc
*When streaming is disabled we now efficiently poll for updates (with caching)
*Removed Jersey dependency. Now using our own okhttp-eventsource client
Bug fixes for RedisFeatureStore
0.20.0 Bump version to 0.20.0 for release
Events URI, report SDK default value
Adds a config option to specify the URI to post event to (most people will not need to modify this option), and includes the default value given to toggle
calls in feature request events.
Optional support for Redis stores
0.18.0 Bump version for release
Better support for Number-valued custom attributes
Includes a bug fix for matching against lists of number-valued custom attributes