You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
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.
onReady() / onConfigChanged() / onFlagEvaluated() / onError() 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() on each evaluation.
getAllValueDetails() method
Changed
forceRefresh() method now returns with a result object to indicate whether the refresh succeeded or not.
Fetch logic handles 403 response status and updates cached fetch_time in case of 304403 and 404 response status.
ConfigCatClient::get() expects a const ConfigCatOptions* pointer instead of const ConfigCatOptions&
In the ConfigCatOptions the following members changed:
mode to pollingMode: the polling mode for the client.
cache to configCache: the custom cache implementation for the client.
override to flagOverrides: Feature flag and setting overrides.
Removed
Removed getVariationId() and getAllVariationIds() methods in favor of getValueDetails() and getAllValueDetails().