Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Releases: launchdarkly/java-server-sdk

2.0.3

10 Oct 23:22
Compare
Choose a tag to compare

See Changelog for details. Addresses #74

Add artifact

13 Sep 23:25
Compare
Choose a tag to compare

See Changelog.md

Remove slf4j from artifact

12 Aug 19:02
Compare
Choose a tag to compare

See Changelog for details

2.0.0

10 Aug 22:27
Compare
Choose a tag to compare

Added

  • Support for multivariate feature flags. New methods boolVariation, jsonVariation and intVariation and doubleVariation for multivariates.
  • Added LDClientInterface, an interface suitable for mocking LDClient.

Changed

  • The Feature data model has been replaced with FeatureFlag. FeatureFlag is not generic.
  • The allFlags method now returns a Map<String, JsonElement> to support multivariate flags.
  • apiKey constructor parameter is now named sdkKey

Deprecated

  • The toggle call has been deprecated in favor of boolVariation.

Removed

  • The getFlag call has been removed.
  • The debugStreaming configuration option has been removed.

1.0.2

15 Jun 23:49
Compare
Choose a tag to compare

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.

12 Apr 20:43
Compare
Choose a tag to compare

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

18 Feb 21:22
Compare
Choose a tag to compare
0.20.0

Bump version to 0.20.0 for release

Events URI, report SDK default value

09 Feb 00:39
Compare
Choose a tag to compare

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

28 Jan 18:14
Compare
Choose a tag to compare
0.18.0

Bump version for release

Better support for Number-valued custom attributes

15 Jan 23:09
Compare
Choose a tag to compare

Includes a bug fix for matching against lists of number-valued custom attributes