v1.14.0 - Evaluation callbacks
New option EvaluationCallbacks
is a struct of callbacks that get triggered on evaluations. Callbacks receive the evaluated result and exposure event.
type EvaluationCallbacks struct {
GateEvaluationCallback func(name string, result bool, exposure *ExposureEvent)
ConfigEvaluationCallback func(name string, result DynamicConfig, exposure *ExposureEvent)
ExperimentEvaluationCallback func(name string, result DynamicConfig, exposure *ExposureEvent)
LayerEvaluationCallback func(name string, param string, result DynamicConfig, exposure *ExposureEvent)
}
Minor bug fix on version comparison for non-numeric target values
Included In This Release
Full Changelog: v1.13.0...v1.14.0