Skip to content

Releases: statsig-io/ruby-sdk

2.2.2 - Fix Issue with Local Overrides for Referenced Gates

03 Feb 18:18
bb717df
Compare
Choose a tag to compare

Improvements

  • Adds passed to dynamic config gcir response
  • Adds better logging around bad condition lookups

Fixes

  • Fix an issue where if a gate is overridden with a local override the override wouldn't apply if it is referenced by something else

Included In This Release

  • 7926707 sroyal-statsig
    • GCIR DC Rule Passed (#361)
  • 93b24e0 sroyal-statsig
    • Respect Override Option for Referenced Gates (#360)
  • c320173 Daniel
    • chore: add better logging around bad condition lookups (#359)

Full Changelog: 2.2.1...2.2.2

2.2.1 - Adds rulePassed and configVersion metadata to config exposures

18 Nov 17:07
25f09cc
Compare
Choose a tag to compare

Improvements

  • Adds rulePassed and configVersion metadata to config exposures, which are useful for debugging

Included In This Release

  • 5744f12 sroyal-statsig
    • Add Config Version and Rule Passed to Exposure Metadata (#357)

Full Changelog: 2.2.0...2.2.1

2.2.0 - Add Support for Initialize Details

11 Oct 22:24
179a171
Compare
Choose a tag to compare

New Features

  • Adds a new function get_initialization_details that can be called after initialize to get information about the initialize call such as time taken and failure information.

Fixes

  • Issue with outdated docblock

Included In This Release

  • 0423e3e tore-statsig
    • fix: deprecated method docblock (#354)
  • 393cf41 sroyal-statsig
    • Add Support for Initialize Details (#353)

Full Changelog: 2.1.0...2.2.0

2.1.0 - Support array operators, Loosen typed numeric check, Hash 2nd exposures in GCIR, Other Improvements

26 Sep 18:26
c12e632
Compare
Choose a tag to compare

New Features

  • Loosen typed numeric check, The get_typed method on Layer and DynamicConfig classes now convert between Integer and Float when appropriate, allowing for more flexibility in handling numeric values.
  • Support array operators in evaluator

Improvements

  • Improved evaluation process and enhanced
    performance.
  • Hashed Secondary Exposures for getClientIntializeResponse method

Included In This Release

  • bc9d221 Weihao Ding
    • optimize: eval pass percent process (#351)
  • 9be1848 sroyal-statsig
    • Hash Secondary Exposures for GCIR (#350)
  • 9981fca tore-statsig
    • feat: loosen typed numeric check (#349)
  • bc3a92a sroyal-statsig
    • Support Array Operators (#348)

Full Changelog: 2.0.1...2.1.0

2.0.1 - Remove Private Attributes in GCIR

06 Aug 22:20
e899410
Compare
Choose a tag to compare

Fixes

  • Removes private attributes from the user object being passed as part of the get_client_initialize_response

Included In This Release

  • 491331c sroyal-statsig
    • GCIR Remove Private Attributes (#346)

Full Changelog: 2.0.0...2.0.1

2.0.0 - Support new configuration schema

01 Aug 22:44
b8ace80
Compare
Choose a tag to compare

Warning

As this is a major version release, there may be some breaking changes with your implementation that need to be addressed.

The original structure of the specs JSON required a lot of duplicate object and required extra processing once it was received by the SDK. The size and processing time was leading to slow startup times.

This major release uses a new endpoint (/v2/download_config_specs) and specs schema. The new schema reduces the previously mentioned duplication and removes the need to do extra processing.

~30% reduction in JSON payload size
~40% reduction in initialization time

New Features

  • adds support for /v2/download_config_specs

Improvements

  • Reduced specs payload size
  • Increased initialization performance

Known Breaking Changes

  • DataAdapter specs are now stored under "statsig.dcs_v2" (previously was "statsig.cache")
  • DynamicConfig.values is now keyed using symbols (previously was strings)

Included In This Release

  • 38d8b57 Daniel
    • chore: remove APIConfig classes (#341)

Full Changelog: 1.34.2...2.0.0

1.34.2 - get_client_initialize_response + target app improvement

24 Jun 23:39
17fe8ad
Compare
Choose a tag to compare

Improvements

  • Slight perf improvement to get_client_initialize_response api by moving a target app check out of the config loop

Included In This Release

  • cf32501 tore-statsig
    • fix: move target app logic out of gcir loop (#339)

Full Changelog: 1.34.1...1.34.2

1.34.1 - filter segments from secondary exposures, log_event diagnostic data

12 Jun 22:18
baf41b8
Compare
Choose a tag to compare

patches a regression in getClientInitializeResponse that included segments in the secondary exposures

patches a bug where error boundary was still issuing requests in local mode

adds additional logging around log events failures

Included In This Release

  • 3698cd2 tore-statsig
    • fix: dont hit error boundary in local mode (#335)
  • b22b869 kenny-statsig
    • fix 2.5.0 tests (#334)
  • 0da34e8 sroyal-statsig
    • Try to Fix Test (#333)
  • 3c409ff kenny-statsig
    • filter & dedupe exposures during evaluation (#331)
  • 885cc5c sroyal-statsig
    • Log Event Failure Logging (#330)

Full Changelog: 1.34.0...1.34.1

1.34.0 - Log Event Gzip Compression

15 May 17:38
870c262
Compare
Choose a tag to compare

Gzips the body of log event requests before sending to the server

Also updates getClientInitializeResponse to include additional information about the time, sdk, and user

Included In This Release

  • a2f9bc2 sroyal-statsig
    • Gzip Log Event (#326)
  • 3bac442 sroyal-statsig
    • GetClientInitializeResponseV2 (#325)

Full Changelog: 1.33.4...1.34.0

1.33.4 - Additional performance optimizations for evaluations

27 Mar 22:45
c7f969b
Compare
Choose a tag to compare

Contains optimizations for some overhead that existed when calling core API functions

Included In This Release

  • 612142b marcos-statsig
    • Optimize error boundary (#322)
  • eb87fd0 marcos-statsig
    • Optimize run_with_diagnostics (#321)

Full Changelog: 1.33.3.pre.beta.1...1.33.4