Releases: launchdarkly/ruby-server-sdk
Releases · launchdarkly/ruby-server-sdk
6.2.4
[6.2.4] - 2021-08-11
Changed:
- The dependency version constraint for the
http
gem is now looser: it allows 5.x versions as well as 4.x. The breaking changes inhttp
v5.0.0 do not affect the SDK. (#184) - The dependency version constraint for the
json
gem 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
bundler
due 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
variation
orvariation_detail
is 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
variation
with 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
alias
method. 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_factory
configuration option which can be used for socket creation by the HTTP client if provided. The value ofsocket_factory
must be an object providing anopen(uri, timeout)
method and returning a connected socket.
Changed:
- Switched to the
http
gem instead ofsocketry
(with a custom http client) for streaming, and instead ofNet::HTTP
for polling / events. - Dropped support for Ruby < version 2.5
- Dropped support for JRuby < version 9.2
- Changed the default polling domain from
app.launchdarkly.com
tosdk.launchdarkly.com
.