Skip to content

Releases: statsig-io/ruby-sdk

v1.16.1 - Backwards compat to ruby 2.5.0

14 Oct 22:46
e0c9b62

Choose a tag to compare

v1.16.0 - Add support for DataStore

25 Jul 22:03

Choose a tag to compare

Add support for ruby 2.5.9

v1.14.0 - Async event flushing

27 Sep 00:31

Choose a tag to compare

  • Fix bug where batched event logging was blocking the calling thread for flushes trigger by logging_max_buffer_size being hit.
  • Add "evaluated_keys" to the client_initialize_response

v1.13.0 - new initialization options to bootstrap client SDKs and the server SDK

20 Sep 20:42
466067c

Choose a tag to compare

  • added options related to bootstrapping the SDK:

    • bootstrap_values: pass a JSON string that represents the rulesets to bootstrap the SDK so that it can work even if Statsig backend is unreachable
    • rules_updated_callback: this callback is invoked whenever there are updated rulesets fetched by the SDK. It has 2 parameters, rules (string), and time (number) that represent the JSON rulesets and the freshness of it.
  • added get_client_initialize_response API which returns a response for a user to be used to bootstrap a client SDK. To use it, simply pass in your user object, and pass the response as the initializeValues option when initializing your client SDKs.

  • now the SDK logs evaluation details so that you can check in exposure stream whether a user got a certain value due to what reason, e.g. bootstrapped, uninitialized, etc.

  • other internal improvements.

v1.12.0 - Adds localMode, overrides

24 Aug 22:07
bfec835

Choose a tag to compare

Introduces a new StatsigOption: local_mode defaults to false. When set to true, it will shortcircuit all network requests to statsig servers. Therefore, initializing statsig with local_mode: true will lead to default values for gates (false) and configs/experiments ({} empty value on a DynamicConfig

If you need to force a certain experience or codepath, you can use the override apis:

Statsig.override_gate(<gate_name>, <gate_value>);
Statsig.override_config(<config_name>, <config_value_hash>);

Also fixes an issue where the initialize error_callback fired on all requests, and makes the error_callback fire on any subsequent failures as the SDK polls for changes.

v1.10.0 - concurrency improvements

07 Jul 22:53
bb534b0

Choose a tag to compare

  • added some improvements for concurrency usage and tests
  • relaxed the user ID hard requirement to allow null user ID when there is a custom ID

v1.9.2 - allow http gem to be v5.0+

29 May 02:45
9a47888

Choose a tag to compare

Per customer request, allowed the http gem to be on major version 5.0+

v1.9.1 - Bug fixes for get_layer API

26 Apr 17:05

Choose a tag to compare

  • The Statsig::Layer class was not being loaded for some users. The fix was to add an explicit 'require' for this class.
  • Fixes consistency test when comparing value == fetch_from_server

v1.9.0 - Adding Support for Layers

22 Mar 23:16

Choose a tag to compare

Introduces get_layer API to Statsig, adding the ability to get values via a Layer configuration set on the Statsig Console. See docs.statsig.com/layers

v1.8.4 - fix version compare operator with invalid values

11 Feb 23:13
305acfe

Choose a tag to compare

Previously if a version value is null or empty, it's parsed into a version of 0 effectively, which is inconsistent with how other languages/SDKs do it. This patch makes it so that a valid version value must be passed, or else the condition will fail.