Skip to content

Releases: configcat/kotlin-sdk

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.

1.1.0

20 Dec 19:04
Compare
Choose a tag to compare

Added

  • Platform specific default cache implementations:
    • Android: based on SharedPreferences. It has a dependency on android.content.Context, so it won't be enabled by default, but it can be explicitly set by providing an appropriate Context. (example)
    • iOS/macOS/tvOS/watchOS: based on NSUserDefaults.
    • JS (browser only): based on localStorage.
  • getAllValueDetails() method that evaluates and returns EvaluationDetails for each setting or feature flag.

Changed

  • Deprecated getVariationId() and getAllVariationIds() methods in favor of getValueDetails() and getAllValueDetails().

1.0.2

30 Oct 02:36
Compare
Choose a tag to compare

Fixed

  • Publishing to macosX64 and macosArm64 targets.