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

2.0.0

Compare
Choose a tag to compare
@drichelson drichelson released this 10 Aug 22:27

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.