Releases: statsig-io/go-sdk
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
v1.13.0 - Expose group name for DynamicConfigs & Layers
Expose the evaluated GroupName
on DynamicConfigs
and Layers
Included In This Release
Full Changelog: v1.12.2...v1.13.0
v1.12.2 - Fix DataAdapter interface
Make data adapter API external
Included In This Release
- e6e9a07 Kenny Yi
- make data adapter API external
Full Changelog: v1.12.1...v1.12.2
v1.12.1 - Disable debug logging by default
Make debug logs disabled by default. To enable, set the option EnableDebug
to true in OutputLoggerOptions
Full Changelog: v1.12.0...v1.12.1
v1.12.0 - Client bootstrapping with target apps
- New API
GetClientInitializeResponseForTargetApp
supports bootstrapping client SDKs with a client key tied to a target app - Added internal diagnostics on API calls
Full Changelog: v1.11.0...v1.12.0
v1.11.0 - Diagnostics & bug fixes
- Added internal diagnostics logging
- Handle stack overflows
- Fix evaluations on iso timestamps
v1.10.0 - Custom logger option & fix network timeout
- Add option to plug in a custom output logger over the default log to console
- Apply a 3s network timeout (previously no timeout)
v1.9.0 - Layer overrides
Added new API to override a layer: OverrideLayer
v1.8.1 - Fix - dont round down fractional pass percentages
Any rule on a gate/config/holdout with a fractional pass percentage - e.g. 10.5% pass - was always rounded down when evaluated on the go-sdk. Client sdks, and all other server SDKs would evaluate this as the fraction. this release aligns the go evaluation for these rollouts with all other evaluators
v1.8.0 - Add Manual Exposure Logging Support
- Fix go version compatibility issue.
- Introduce new API for manually logging exposure and also without exposure logging:
CheckGateWithExposureLoggingDisabled
GetConfigWithExposureLoggingDisabled
GetExperimentWithExposureLoggingDisabled
GetLayerWithExposureLoggingDisabled
ManuallyLogGateExposure
ManuallyLogConfigExposure
ManuallyLogExperimentExposure
ManuallyLogLayerParameterExposure
- New option for setting timeout on initialize
InitTimeout
- Support for data adapter