Skip to content

Releases: statsig-io/go-sdk

v1.18.0 - Persistent storage, ID lists for Data Adapter

28 Feb 01:38
2a61098
Compare
Choose a tag to compare

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

  • 6c7924e kenny-statsig
    • save list of ids to adapter (#156)
  • a892014 kenny-statsig
    • EE-205 support ID lists in data adapter (#154)
  • 5cd2c39 kenny-statsig
    • user persistent storage (#152)
  • 4f830e4 kenny-statsig
    • replace sleep with wait condition in tests (#153)

Full Changelog: 1.17.0...1.18.0

v1.17.0 - New options: DisableAllLogging, DisableCDN

30 Jan 21:45
5af41ee
Compare
Choose a tag to compare

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

  • d51e49a kenny-statsig
    • replace print errors with output logger (#146)
  • 83fee7c kenny-statsig
    • add NetworkNotModified eval reason (#148)
  • 5325d68 kenny-statsig
    • disable CDN option (#150)
  • 55ce0d8 kenny-statsig
    • disable error logging (#149)
  • 0dc81eb kenny-statsig
    • disable event logging (#147)

Full Changelog: 1.16.0...1.17.0

v1.16.0 - Fix potential memory leak, SDK Key verification

25 Jan 19:00
91547d1
Compare
Choose a tag to compare

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

  • bacf115 Xin Li
    • Fix diagnostics (#144)
  • 59283a6 sroyal-statsig
    • SDK Key Verification (#141)

Full Changelog: v1.15.0...1.16.0

1.16.0 - Fix potential memory leak, SDK Key verification

23 Jan 18:09
91547d1
Compare
Choose a tag to compare

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

  • bacf115 Xin Li
    • Fix diagnostics (#144)
  • 59283a6 sroyal-statsig
    • SDK Key Verification (#141)

Full Changelog: v1.15.0...1.16.0

v1.15.0 - `GetGate` API

01 Dec 01:18
Compare
Choose a tag to compare
  • New API GetGate returns a FeatureGate object with the following properties: Name, Value, RuleID, GroupName. Alternative to CheckGate which only returns the Value

  • Internal change to migrate download_config_specs API to our CDN url

Included In This Release

  • e1444dc Kenny Yi
    • GetGate API
  • 00bf8ed Kenny Yi
    • migrate dcs to cloudflare cdn

Full Changelog: v1.14.0...v1.15.0

v1.14.0 - Evaluation callbacks

17 Nov 20:30
Compare
Choose a tag to compare

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

v1.13.0 - Expose group name for DynamicConfigs & Layers

13 Nov 23:18
Compare
Choose a tag to compare

Expose the evaluated GroupName on DynamicConfigs and Layers

Included In This Release

  • c6024de sroyal-statsig
    • Hashed SDK Keys to App IDs (#133)
  • 88c3762 Kenny Yi
    • add group name for layers and configs
  • f1d79bb Kenny Yi
    • add statsig metadata to sdk_exception logs
  • 071d44d Kenny Yi
    • delete version test

Full Changelog: v1.12.2...v1.13.0

v1.12.2 - Fix DataAdapter interface

04 Oct 21:38
Compare
Choose a tag to compare

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

19 Sep 21:25
Compare
Choose a tag to compare

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

18 Sep 21:29
Compare
Choose a tag to compare
  • 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