Skip to content

v1.14.0 - Evaluation callbacks

Compare
Choose a tag to compare
@statsig-kong statsig-kong released this 17 Nov 20:30
· 104 commits to main since this release

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

  • 6559260 Kenny Yi
    • evaluation callbacks
  • e767267 Kenny Yi
    • fix parsing versions

Full Changelog: v1.13.0...v1.14.0