Releases: configcat/go-sdk
Releases · configcat/go-sdk
v7.10.1
v7.10.0
v7.9.0
v7.8.3
v7.8.2
v7.8.1
v7.8.0
v7.7.0
Added
Offline
configuration option to indicate whether the SDK is allowed to make HTTP calls or not. In 'offline' mode, the SDK works from the cache only.Hooks
configuration option that allows subscribing toOnConfigChanged
/OnFlagEvaluated(EvaluationDetails)
/OnError(String)
events.GetValueDetails()
/GetAllValueDetails()
methods to retrieve evaluation details of feature flags/settings. The details include:Value
: The evaluated feature flag's value.Key
: The evaluated feature flag's key.User
: The user used for evaluation.VariationId
: The diagnostic ID of the targeting, percentage, or default rule the evaluation was based on.IsDefaultValue
: True when the default value passed toGetValue()
orGetValueDetails()
is returned.Error
: The error when the evaluation fails otherwise, nil.FetchTime
: The time when the last config was fetched.MatchedEvaluationRule
: If the evaluation was based on a targeting rule, this field contains that specific rule.MatchedEvaluationPercentageRule
: If the evaluation was based on a percentage rule, this field contains that specific rule.
Changed
GetVariationID()
/GetAllVariationIDs()
methods became deprecated in favor ofGetValueDetails()
/GetAllValueDetails()
.