Skip to content

Releases: configcat/java-sdk

v8.4.0

09 Nov 09:47
da932c0
Compare
Choose a tag to compare

Fixed

  • Determining the in-memory TTL from the external cache's expiration in Lazy load polling mode.

v8.3.0

28 Sep 09:57
cf4ff05
Compare
Choose a tag to compare

Added

  • Missing User-less method overloads for getAllValues(), getAllValuesAsync(), getAllValueDetails(), and getAllValueDetailsAsync().

v8.2.2

28 Jul 08:37
Compare
Choose a tag to compare
  • Increased okio version to v3.4.0 due to security vulnerability.

v8.2.1

27 Jul 10:56
Compare
Choose a tag to compare
  • Increased okhttp version to 4.11.0

v8.2.0

21 Jun 15:53
964ac29
Compare
Choose a tag to compare

New features and improvements:

  • Logging changes
    • Include event IDs in log messages to make identification of log events easier.
    • Revise log messages and make them consistent across the ConfigCat SDKs.
  • Cache changes
    • Use a standardized config cache key generation algorithm and cache payload format to allow shared caches to be used by SDKs of different platforms.

v8.1.0

07 Mar 15:51
9bbf8b3
Compare
Choose a tag to compare

Fixed

  • Move Setting, RolloutRule, PercentageRule, and SettingType types to public scope.

v8.0.2

24 Jan 14:49
Compare
Choose a tag to compare
  • No code has been changed; just republishing due to a new signing key.

v8.0.1

17 Jan 14:32
8229b8b
Compare
Choose a tag to compare

Changed

  • Remove unnecessary log from ConfigFetcher

Related issues

v8.0.0

30 Dec 16:15
Compare
Choose a tag to compare

Added

  • ConfigCatClient.get() factory method that produces a single instance / SDK key.
  • setOffline() / setOnline() methods to indicate whether the SDK is allowed to make HTTP calls or not. In 'offline' mode the SDK works from the cache only.
  • getValueDetails() / getValueDetailsAsync() methods to retrieve evaluation details along with the feature flag / setting value.
  • getAllValueDetails() / getAllValueDetailsAsync() methods to retrieve the detailed values of all feature flags or settings.
  • onCleintReady() / onBeforeClientClose() / onConfigChanged(Map<String, Setting>) / onFlagEvaluated(EvaluationDetails) / onError(String) hooks. Subscription is possible on client initialization options and on the hooks property of ConfigCatClient.
  • setDefaultUser(user) / clearDefaultUser() methods to set / remove a default user object used when there's no user passed to getValue[Async]() / getValueDetails[Async]() / getAllValues[Async]() / getAllValueDetails[Async]() methods.

Changed

  • Client initialization options were moved to a Options object that can be passed with a Consumer to the new ConfigCatClient.get() factory method.
  • ConfigCatClient can be explicitly closed via client.close() and ConfigCatClient.closeAll() methods.
  • forceRefresh() method now returns with a result object to indicate whether the refresh succeeded or not.
  • autoPollRateInSeconds lower limit changed to 1 second.
  • The TTL of lazyLoad and interval of autoPoll is compared against a cached fetchTime, which allows the SDK not necessarily download a new config.json at each application restart.
  • Fetch logic handles 403 response status and update cached fetchTime in case of 304 403 and 404 response status.

Removed

  • ConfigCatClient(String sdkKey) public constructor.
  • asyncRefresh parameter of PollingModes.lazyLoad().
  • getVariationId(), getVariationIdAsync(), getAllVariationIds(), getAllVariationIdsAsync() removed in favour of getValueDetails(), getAllValueDetails()
  • configurationChangeListener parameter of PollingModes.autoPoll(). It was replaced by the onConfigChanged() hook.

v7.2.0

22 Sep 17:12
Compare
Choose a tag to compare
  • Disabled automatic okhttp retry.