Skip to content

Releases: configcat/dart-sdk

4.1.1

07 May 10:03
95bb58a
Compare
Choose a tag to compare

Fixed

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

4.1.0

03 Apr 14:53
f48b14b
Compare
Choose a tag to compare

Changed

  • Rename SettingsValue to correct SettingValue
  • Add getKeyAndValue missing exception
  • Improve prerequisite flag evaluation type checks
  • Typo fixes

4.0.1

13 Feb 19:24
9c60eb0
Compare
Choose a tag to compare

Fixed

  • WEB platform support.

Changed

  • In the case of WEB platform, the SDK now sends the ETag and the SDK-related info in query parameters.

4.0.0

13 Feb 16:57
1bdf1d7
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.
  • SDK key format validation (when client is not set up to use local-only flag overrides).
  • Go to the cache in all polling modes instead of using the in memory variable.

Breaking changes

  • Change the ConfigCatUser constructor custom parameter type to Map<String, Object> to allow other values than string.
  • Rename the matchedEvaluationRule property to matchedTargetingRule and the matchedEvaluationPercentageRule property to matchedPercentageOption in EvaluationDetails.
  • Change Config model

3.0.0

18 Aug 16:56
03c4d57
Compare
Choose a tag to compare

Changed

  • Standardized config cache key generation algorithm and cache payload format to allow shared caches to be used by SDKs of different platforms.

Removed

  • getVariationId() / getAllVariationIds() methods. Alternative: getValueDetails() / getAllValueDetails()

2.5.2

21 Jun 14:56
Compare
Choose a tag to compare

Removed

  • logger package dependency. Switched to simple print() as default.

2.5.1

21 Jun 13:09
Compare
Choose a tag to compare

Changed

  • Bump to dio v5.2.0 in order to use DioException instead of the deprecated DioError.

2.5.0

22 May 10:11
Compare
Choose a tag to compare

Changed

  • Bumped dependency versions.
  • Set min Dart SDK version to >=2.19.0.

2.4.0

20 Dec 00:49
Compare
Choose a tag to compare

Added

  • New getAllValueDetails() method.

Changed

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

2.3.0

18 Oct 15:01
Compare
Choose a tag to compare

Changed

  • Renamed mode configuration option to pollingMode.