PackageTrack
Sign in Get early access

configcat_client

Dart (Flutter) SDK for ConfigCat. ConfigCat is a hosted feature flag service that lets you manage feature toggles across frontend, backend, mobile, desktop apps.

4.1.1 15K downloads/mo #2453 most downloaded on pub.dev configcat/dart-sdk

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 7 months

Nearly every release is documented

notes for 24 of 25 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

25 releases · first in 2022

0 releases in the last 12 months

see the full history below

Release timeline

25 releases · Jan 2022 to May 2024
2023 2024 2025 2026
Release Pre-release

Releases

latest 25
  1. 4.1.1 07 May 2024
    Release notes

    Fixed

    • Initial config JSON load when auto poll enabled with results from cache.
    Open source →
    Release notes

    Fixed

    • Fix initial config JSON load when auto poll enabled with results from cache.
    Open source →
  2. 4.1.0 03 Apr 2024
    Release notes

    Changed

    • Rename SettingsValue to correct SettingValue
    • Add getKeyAndValue missing exception
    • Improve prerequisite flag evaluation type checks
    • Typo fixes
    Open source →
    Release notes

    Changed

    • Rename SettingsValue to correct SettingValue
    • Add getKeyAndValue missing exception
    • Improve prerequisite flag evaluation type checks
    • Typo fixes
    Open source →
  3. 4.0.1 13 Feb 2024
    Release notes

    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.
    Open source →
    Release notes

    Fixed

    • WEB platform support.

    Changed

    • In case of WEB platform the SDK now sends the Etag and SDK info in query parameters.
    Open source →
  4. 4.0.0 13 Feb 2024
    Release notes

    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
    Open source →
    Release notes

    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
    Open source →
  5. 3.0.0 18 Aug 2023
    Release notes

    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()
    Open source →
    Release notes

    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()
    Open source →
  6. 2.5.2 21 Jun 2023
    Release notes

    Removed

    • logger package dependency. Switched to simple print() as default.
    Open source →
    Release notes

    Removed

    • logger package dependency. Switched to simple print() as default.
    Open source →
  7. 2.5.1 21 Jun 2023
    Release notes

    Changed

    • Bump to dio v5.2.0 in order to use DioException instead of the deprecated DioError.
    Open source →
    Release notes

    Changed

    • Bump to dio v5.2.0 in order to use DioException instead of the deprecated DioError.
    Open source →
  8. 2.5.0 22 May 2023
    Release notes

    Changed

    • Bumped dependency versions.
    • Set min Dart SDK version to >=2.19.0.
    Open source →
    Release notes

    Changed

    • Bumped dependency versions.
    • Set min Dart SDK version to >=2.19.0.
    Open source →
  9. 2.4.0 20 Dec 2022
    Release notes

    Added

    • New getAllValueDetails() method.

    Changed

    • Deprecated getVariationId() and getAllVariationIds() methods in favor of getValueDetails() and getAllValueDetails().
    Open source →
    Release notes

    Added

    • New getAllValueDetails() method.

    Changed

    • Deprecated getVariationId() and getAllVariationIds() methods in favor of getValueDetails() and getAllValueDetails().
    Open source →
  10. 2.3.0 18 Oct 2022
    Release notes

    Changed

    • Renamed mode configuration option to pollingMode.
    Open source →
    Release notes

    Changed

    • Renamed mode configuration option to pollingMode.
    Open source →
  11. 2.2.1 17 Oct 2022
    Release notes

    Fixed

    • Prevent auto-poll from starting when the SDK is initialized in offline mode.
    Open source →
  12. 2.2.0 13 Oct 2022
    Release notes

    Added

    • Allow offline SDK initialization with an offline configuration option.
    Open source →
  13. 2.1.0 29 Sep 2022
    Release notes

    Changed

    • RolloutPercentageItem -> PercentageRule

    Fixed

    • Set the user field of EvaluationDetails in case of error.
    Open source →
  14. 2.0.2 28 Sep 2022
    Release notes

    Fixed

    • Hanging due to non-cancelled Future.delayed.
    Open source →
  15. 2.0.1 27 Sep 2022
    Release notes

    Fixed

    • Static analyzer warnings.
    Open source →
  16. 2.0.0 27 Sep 2022
    Release notes

    Added

    • setDefaultUser(user) / clearDefaultUser() methods to set / remove a default user object used when there's no user passed to getValue() / getValueDetails() / getAllValues() / getAllVariationIds() 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.
    • onClientReady() / onConfigChanged(Map<string, Setting>) / onFlagEvaluated(EvaluationDetails) / onError(String) hooks. Subscription is possible on client initialization options and on the hooks property of ConfigCatClient.
    • getValueDetails() 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.

    Changed

    • The static close() method was split to an instance level close() method which closes the given ConfigCatClient and to a static closeAll() method which closes all instantiated client instances.
    • The forceRefresh() method now returns with a result object that indicates whether the refresh succeeded or not.
    • 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

    • The onConfigChanged() hook parameter of PollingModes.autoPoll. It was replaced by the newly introduced onConfigChanged(Map<string, Setting>) hook function which is invoked with each polling mode.
    Open source →
  17. 1.1.0 16 Aug 2022
    Release notes

    Changed

    • Replaced the refresh policies construction with a single config service that takes care of the different polling mechanisms, caching, and the synchronization of HTTP requests.
    Open source →
  18. 1.0.2 09 Aug 2022
    Release notes

    Fixed

    • Send the correct SDK version in HTTP header.
    Open source →
  19. 1.0.1 04 Aug 2022
    Release notes

    Fixed

    • When the dataGovernance parameter wasn't in match with the remote setting, it could have happened that the fetcher downloaded the correct config.json multiple times.
    Open source →
  20. 1.0.0 24 Jan 2022
    Release notes
    • First official release.
    Open source →
  21. 0.1.4 24 Jan 2022
    Release notes
    • WIP release.
    Open source →
  22. 0.1.3 20 Jan 2022
    Release notes
    • WIP release.
    Open source →
  23. 0.1.2 19 Jan 2022
    Release notes
    • WIP release.
    Open source →
  24. 0.1.1 19 Jan 2022

    Nothing published for this version

  25. 0.1.0 19 Jan 2022
    Release notes
    • WIP release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive