NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2981 most downloaded on pub.dev
Dart (Flutter) SDK for ConfigCat. ConfigCat is a hosted feature flag service that lets you manage feature toggles across frontend, backend, mobile, desktop apps.
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
Initial config JSON load when auto poll enabled with results from cache.
Rename SettingsValue to correct SettingValue
Changed
SettingsValue to correct SettingValuegetKeyAndValue missing exceptionOne column per quarter.
In the case of WEB platform, the SDK now sends the ETag and the SDK-related info in query parameters.
WEB platform support.WEB platform, the SDK now sends the ETag and the SDK-related info in query parameters.WEB platform support.WEB platform the SDK now sends the Etag and SDK info in query parameters.Add support for the new Config JSON v6 format: update the config model and implement new features in setting evaluation logic.
ConfigCatUser constructor custom parameter type to Map<String, Object> to allow other values than string.matchedEvaluationRule property to matchedTargetingRule and the matchedEvaluationPercentageRule property to matchedPercentageOption in EvaluationDetails.Config modelStandardized config cache key generation algorithm and cache payload format to allow shared caches to be used by SDKs of different platforms.
getVariationId() / getAllVariationIds() methods. Alternative: getValueDetails() / getAllValueDetails()logger package dependency. Switched to simple print() as default.
logger package dependency. Switched to simple print() as default.Bump to dio v5.2.0 in order to use DioException instead of the deprecated DioError .
dio v5.2.0 in order to use DioException instead of the deprecated DioError.Set min Dart SDK version to >=2.19.0 .
>=2.19.0.>=2.19.0.Deprecated getVariationId() and getAllVariationIds() methods in favor of getValueDetails() and getAllValueDetails() .
getAllValueDetails() method.getVariationId() and getAllVariationIds() methods in favor of getValueDetails() and getAllValueDetails().Renamed mode configuration option to pollingMode .
mode configuration option to pollingMode.Prevent auto-poll from starting when the SDK is initialized in offline mode.
Allow offline SDK initialization with an offline configuration option.
offline configuration option.RolloutPercentageItem -> PercentageRule
RolloutPercentageItem -> PercentageRuleuser field of EvaluationDetails in case of error.Hanging due to non-cancelled Future.delayed.
Future.delayed.### Fixed - Static analyzer warnings.
setDefaultUser(user) / clearDefaultUser() methods to set / remove a default user object used when there's no user passed to getValue() / getValueDetai
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.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.forceRefresh() method now returns with a result object that indicates whether the refresh succeeded or not.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.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.Replaced the refresh policies construction with a single config service that takes care of the different polling mechanisms, caching, and the synchron
Send the correct SDK version in HTTP header.
When the dataGovernance parameter wasn't in match with the remote setting, it could have happened that the fetcher downloaded the correct config.json
dataGovernance parameter wasn't in match with the remote setting, it could have happened that the fetcher downloaded the correct config.json multiple times.- First official release.
- WIP release.
- WIP release.
- WIP release.
Nothing published for this version
- WIP release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →