Skip to content

Releases: configcat/cpp-sdk

v2.0.0

13 Mar 12:30
76c7ad7
Compare
Choose a tag to compare

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 304 403 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().

v1.0.0

27 Sep 21:46
Compare
Choose a tag to compare
  • Timeout options have been renamed to show milliseconds unit in ConfigCatOptions:
    connectTimeout -> connectTimeoutMs
    readTimeout -> readTimeoutMs

v0.1.0

25 Sep 23:33
f9a3b1c
Compare
Choose a tag to compare

First release.