Releases: statsig-io/ruby-sdk
2.2.2 - Fix Issue with Local Overrides for Referenced Gates
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
Full Changelog: 2.2.1...2.2.2
2.2.1 - Adds rulePassed and configVersion metadata to config exposures
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
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
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
New Features
- Loosen typed numeric check, The
get_typed
method onLayer
andDynamicConfig
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
Full Changelog: 2.0.1...2.1.0
2.0.1 - Remove Private Attributes in GCIR
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
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
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
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
Full Changelog: 1.34.0...1.34.1
1.34.0 - Log Event Gzip Compression
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
Full Changelog: 1.33.4...1.34.0
1.33.4 - Additional performance optimizations for evaluations
Contains optimizations for some overhead that existed when calling core API functions
Included In This Release
Full Changelog: 1.33.3.pre.beta.1...1.33.4