Releases: launchdarkly/ruby-server-sdk
Releases · launchdarkly/ruby-server-sdk
6.2.5
[6.2.5] - 2021-10-12
Fixed:
- Fixed a bug that caused unnecessarily heavy CPU usage when receiving very large sets of flag data from LaunchDarkly.
- Improved the speed of making the initial streaming connection to LaunchDarkly. The delay that happens before reconnecting after a connection failure was mistakenly being applied before the first connection.
6.2.4
[6.2.4] - 2021-08-11
Changed:
- The dependency version constraint for the
httpgem is now looser: it allows 5.x versions as well as 4.x. The breaking changes inhttpv5.0.0 do not affect the SDK. (#184) - The dependency version constraint for the
jsongem is also looser: it allows any 2.x version that is higher than the SDK's minimum dependency version, not just 2.3. (#184) - The project's build now uses v2.2.10 of
bundlerdue to known vulnerabilities in other versions.
6.2.3
6.2.2
[6.2.2] - 2021-07-23
Fixed:
- Enabling debug logging in polling mode could cause polling to fail with a
NameError. (Thanks, mmurphy-notarize!)
6.2.1
[6.2.1] - 2021-07-15
Changed:
- If
variationorvariation_detailis called with a user object that has nokey(an invalid condition that will always result in the default value being returned), the SDK now logs awarn-level message to alert you to this incorrect usage. This makes the Ruby SDK's logging behavior consistent with the other server-side LaunchDarkly SDKs. (#177)
6.2.0
[6.2.0] - 2021-06-17
Added:
- The SDK now supports the ability to control the proportion of traffic allocation to an experiment. This works in conjunction with a new platform feature now available to early access customers.
6.1.1
[6.1.1] - 2021-05-27
Fixed:
- Calling
variationwith a nil user parameter is invalid, causing the SDK to log an error and return a fallback value, but the SDK was still sending an analytics event for this. An event without a user is meaningless and can't be processed by LaunchDarkly. This is now fixed so the SDK will not send one.
6.1.0
[6.1.0] - 2021-02-04
Added:
- Added the
aliasmethod. This can be used to associate two user objects for analytics purposes by generating an alias event.
6.0.0
[6.0.0] - 2021-01-26
Added:
- Added a
socket_factoryconfiguration option which can be used for socket creation by the HTTP client if provided. The value ofsocket_factorymust be an object providing anopen(uri, timeout)method and returning a connected socket.
Changed:
- Switched to the
httpgem instead ofsocketry(with a custom http client) for streaming, and instead ofNet::HTTPfor polling / events. - Dropped support for Ruby < version 2.5
- Dropped support for JRuby < version 9.2
- Changed the default polling domain from
app.launchdarkly.comtosdk.launchdarkly.com.