Skip to content

Releases: configcat/kotlin-sdk

4.1.0

21 Nov 16:29
c1ecdc5
Compare
Choose a tag to compare

Improvements / Changes

  • Deprecated addOnClientReady(handler: () -> Unit) hook and added a new version addOnClientReady(handler: (ClientCacheState) -> Unit)
  • Added waitForReady method to client

4.0.0

04 Nov 12:23
fb85212
Compare
Choose a tag to compare

Changed

  • Updated Kotlin to 2.0.21
  • Updated Ktor to 3.0.0
  • Updated related dependencies

3.1.1

07 May 10:31
4dad14b
Compare
Choose a tag to compare

Fixed

  • Initial config JSON load when auto poll enabled with results from cache.

3.1.0

23 Apr 09:40
3d4bd02
Compare
Choose a tag to compare

Changed

  • Updated Kotlin to 1.9.23
  • Updated related dependencies

3.0.1

09 Apr 20:41
2d42f3f
Compare
Choose a tag to compare

Fixed

  • #29: Custom baseUrl does not work when using ConfigCat Proxy

3.0.0

02 Apr 11:16
136f7ae
Compare
Choose a tag to compare

New features and improvements:

  • Add support for the new Config JSON v6 format: update the config model and implement new features in setting evaluation logic.
  • Overhaul setting evaluation-related logging and make it consistent across SDKs.
  • Performance improvements to setting evaluation when info level logging is turned off.

Breaking changes:

  • Change the type of the ConfigCatUser custom attribute map from Map<String, String> to Map<String, Any> to allow other values than String.
  • Setting OverrideDataSource replaced with Config OverrideDataSoruce
  • Rename the matchedEvaluationRule property to matchedTargetingRule and the matchedEvaluationPercentageRule property to matchedPercentageOption in EvaluationDetails.
  • Change config model (Config and related interfaces/enums).
  • Throw IllegalArgumentException when the SDK key passed to ConfigCatClient.get is in an invalid format (unless the client is set up to use local-only flag override behaviour).

2.1.0

20 Dec 10:42
cf8e9fb
Compare
Choose a tag to compare

New features and improvements:

  • Added new Setting object based OverrideDataSource

2.0.0

21 Jun 17:07
b94a8b2
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, getAllVariationIds.

1.2.1

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

1.2.0

08 Jan 23:11
Compare
Choose a tag to compare

Changed

  • Changed the visibility of platform specific UserDefaultsCache and LocalStorageCache implementations to public.
  • Renamed ConfigCatPreferencesCache to SharedPreferencesCache on Android platform.