Releases: statsig-io/go-sdk
v1.18.0 - Persistent storage, ID lists for Data Adapter
Added an option to provide a custom storage adapter for user-persisted values IUserPersistentStorage
. This allows the SDK the persist values for users in active experiments, in other words, run experiments with sticky bucketing.
Added support for syncing ID lists from the data adapter.
Included In This Release
Full Changelog: 1.17.0...1.18.0
v1.17.0 - New options: DisableAllLogging, DisableCDN
New options:
DisableAllLogging
- Disables all logging requests (exposures, custom events, diagnostics, errors)DisableCDN
- Disable use of CDN for downloading config specs
Introduce new evaluation reason NetworkNotModified
Minor fix for piping error print logs to custom output logger
Included In This Release
Full Changelog: 1.16.0...1.17.0
v1.16.0 - Fix potential memory leak, SDK Key verification
Bug fix
- Fix memory leak bugs that our Diagnostic(Internal logging system) do not always clear out related logging on time, when those events are not being sampled or diagnostics are being disabled
Internal
- SDK Key verification: Check if download_config_spec response match with given instance
Included In This Release
Full Changelog: v1.15.0...1.16.0
1.16.0 - Fix potential memory leak, SDK Key verification
Bug fix
- Fix memory leak bugs that our Diagnostic(Internal logging system) do not always clear out related logging on time, when those events are not being sampled or diagnostics are being disabled
Internal
- SDK Key verification: Check if download_config_spec response match with given instance
Included In This Release
Full Changelog: v1.15.0...1.16.0
v1.15.0 - `GetGate` API
-
New API
GetGate
returns a FeatureGate object with the following properties:Name
,Value
,RuleID
,GroupName
. Alternative toCheckGate
which only returns theValue
-
Internal change to migrate download_config_specs API to our CDN url
Included In This Release
Full Changelog: v1.14.0...v1.15.0
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