Skip to content

Releases: configcat/android-sdk

v9.1.0

28 Sep 10:07
3e3976c
Compare
Choose a tag to compare

Added

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

v9.0.1

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

v9.0.0

21 Jun 15:59
fe03c52
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.

Removed:

  • Removed deprecated methods getVariationId(), getVariationIdAsync(), getAllVariationIds(), getAllVariationIdsAsync().

v8.2.2

09 Jun 12:01
Compare
Choose a tag to compare

Fixed

  • Proguard error in case of getAllValueDetails, getAllValueDetailsAsync, getAllValues, and getAllValuesAsync methods. #37

v8.2.1

24 Jan 14:19
Compare
Choose a tag to compare

Fixed

  • Version sent in X-ConfigCat-UserAgent HTTP header.

v8.2.0

10 Jan 12:45
d6425e9
Compare
Choose a tag to compare

Added

  • Android Java sample application

Changed

  • Rename ConfigCatPreferencesCache to SharedPreferencesCache

v8.1.0

04 Jan 13:00
5c0e688
Compare
Choose a tag to compare

Added

  • getAllValueDetails() / getAllValueDetailsAsync() methods to retrieve the detailed values of all feature flags or settings.
  • ConfigCatPreferencesCache cache implementation that uses SharedPreferences as persistent storage.

Changed

  • Fetch logic handles 403 response status and update cached fetchTime in case of 304 403 and 404 response status.
  • Deprecated getVariationId(), getVariationIdAsync(), getAllVariationIds(), getAllVariationIdsAsync().

v8.0.1

29 Nov 13:35
Compare
Choose a tag to compare

Fixed

  • Call onClientReady upon offline mode initialization.

v8.0.0

22 Nov 00:02
Compare
Choose a tag to compare

Added

  • 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]() / getAllVariationIds[Async]() methods.
  • 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.
  • onReady() / onConfigChanged(Map<String, Setting>) / onFlagEvaluated(EvaluationDetails) / onError(String) hooks. Subscription is possible on client initialization options and on the hooks property of ConfigCatClient.
  • getValueDetails[Async]() method to retrieve evaluation details along with the feature flag / setting value. It returns the same details that is passed to onFlagEvaluated(EvaluationDetails) on each evaluation.
  • ConfigCatClient.get() factory method that produces a single instance / SDK key.

Changed

  • forceRefresh() method now returns with a result object to indicate whether the refresh succeeded or not.
  • Client initialization options were moved to a ClientOptions object that can be passed to the new ConfigCatClient.get() factory method.
  • ConfigCatClient can be explicitly closed via client.close() and ConfigCatClient.closeAll() methods.
  • 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.

Removed

  • asyncRefresh parameter of PollingModes.lazyLoad()
  • configurationChangeListener parameter of PollingModes.autoPoll(). It was replaced by the onConfigChanged() hook.

v7.3.0

22 Sep 16:46
Compare
Choose a tag to compare
  • Updated pro-guard rules.
  • Disabled automatic okhttp retry.