Skip to content

Releases: statsig-io/go-sdk

v1.11.0 - Diagnostics & bug fixes

29 Aug 17:32
Compare
Choose a tag to compare
  • Added internal diagnostics logging
  • Handle stack overflows
  • Fix evaluations on iso timestamps

v1.10.0 - Custom logger option & fix network timeout

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

02 May 23:44
33b7121
Compare
Choose a tag to compare

Added new API to override a layer: OverrideLayer

v1.8.1 - Fix - dont round down fractional pass percentages

04 Feb 00:55
b4d457c
Compare
Choose a tag to compare

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

06 Dec 19:21
Compare
Choose a tag to compare
  • 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

v1.7.0 - Adds ErrorBoundary and Logging configuration

30 Nov 00:24
Compare
Choose a tag to compare
  • Added LoggingInterval and LoggingMaxBufferSize to Options
    • LoggingInterval assigns the number of seconds to wait between each batch log
    • LoggingMaxBufferSize is the maximum number of events to queue before batch logging
  • Update logic to support Users without UserID. Now Users must have a UserID or 1 valid CustomID
  • [Internal] Added evaluation details, error boundary, SDK version testing

v1.6.1 - Layer exposure bug fix

19 Oct 23:05
Compare
Choose a tag to compare

A bug was identified where holdouts were not being applied to Layer exposures. This is fixed in v1.6.1

v1.6.0 - added bootstrap options

20 Sep 20:46
992682e
Compare
Choose a tag to compare
  • added options related to bootstrapping the SDK:
    • BootstrapValues: pass a JSON string that represents the rulesets to bootstrap the SDK so that it can work even if Statsig backend is unreachable
    • RulesUpdatedCallback: this callback is invoked whenever there are updated rulesets fetched by the SDK. It has 2 parameters, rules (string), and time (int64) that represent the JSON rulesets and the freshness of it.

v1.5.1 - make shutdown thread safe and linter fixes

17 May 23:28
Compare
Choose a tag to compare
  • made shutdown() not clear the shared instance so that it's thread safe;
  • fixed a few linter issues in the SDK

v1.5.0 - concurrency support

12 May 16:41
Compare
Choose a tag to compare
  • in this release we added a few tests where the SDK is being used concurrently from multiple goroutines, enabled race detector on all tests, and fixed code and tests that were broken before.
  • added a getMap() API on DynamicConfig and Layer