All notable changes to the LaunchDarkly Java SDK will be documented in this file. This project adheres to Semantic Versioning.
- The StreamProcessor now listens for heartbeats from the streaming API, and will automatically reconnect if heartbeats are not received.
- Updated GSON dependency version to 2.7
- StreamingProcessor now supports increasing retry delays with jitter. Addresses [https://github.com/launchdarkly/java-client/issues/74[(https://github.com/launchdarkly/java-client/issues/74)
- Now publishing artifact with 'all' classifier that includes SLF4J for ColdFusion or other systems that need it.
- Removed slf4j from default artifact: #71
- Support for multivariate feature flags. New methods
boolVariation
,jsonVariation
andintVariation
anddoubleVariation
for multivariates. - Added
LDClientInterface
, an interface suitable for mockingLDClient
.
- The
Feature
data model has been replaced withFeatureFlag
.FeatureFlag
is not generic. - The
allFlags
method now returns aMap<String, JsonElement>
to support multivariate flags.
- The
toggle
call has been deprecated in favor ofboolVariation
.
- The
getFlag
call has been removed. - The
debugStreaming
configuration option has been removed.