Skip to content

Conversation

LaunchDarklyReleaseBot
Copy link
Contributor

[7.2.0] - 2023-05-03

Added:

  • You can monitor the status of the SDK's data source (which normally means the streaming connection to the LaunchDarkly service) with LaunchDarkly::LDClient.data_source_status_provider. This allows you to check the current connection status, and to be notified if this status changes.
  • You can monitor the status of a data store with LaunchDarkly::LDClient.data_store_status_provider. This allows you to check whether updates are succeeding and to be notified if this status changes.
  • You can tell the SDK to notify you whenever a feature flag's configuration has changed (either in general, or in terms of its result for a specific context), using LaunchDarkly::LDClient.flag_tracker.

eli-darkly and others added 30 commits January 6, 2020 17:43
don't let user fall outside of last bucket in rollout
# Conflicts:
#	lib/ldclient-rb/evaluation.rb
#	spec/evaluation_spec.rb
(6.0 - #1) refactor evaluation logic and move it out of the main namespace
(6.0 - #2) make EvaluationReason an immutable class
(6.0 - #3) precompute evaluation reasons when we receive a flag
(6.0 - #4) rename FeatureStore to DataStore
(6.0) drop support for old Ruby versions
update ruby-eventsource to 1.0.3 for backoff bug
fix incorrect initialization of EventProcessor
…heck

remove install-time openssl check that breaks if you don't have rake
keelerm84 and others added 25 commits December 21, 2022 07:44
There are multiple places throughout the code where we are still
referencing users. I have tried to update all the places where a rename
seems reasonable or appropriate. There is still some work to do in the
test flag builders, but that will be done in a subsequent commit.
The new relic integration was removed many versions ago but a small
trace remained behind.
Co-authored-by: Eli Bishop <eli@launchdarkly.com>
Merge u2c work into main branch
When we introduced models for the flag and segment data, we added
to_json methods which proxy to the underlying to_json method provided by
the `json` gem.

We defined the method with a variadic parameter, but we failed to unpack
it when passing it on to the underlying implementation. This resulted in
a serialization failure which prevented the redis data store from
initializing.
The underlying event source library had an issue where, in certain
environments, content-type header detection was failing.

This was resolved in v2.2.2 of the event source gem.
The client instance will now provide access to a
`data_source_status_provider`. This provider allows developers to
retrieve the status of the SDK on demand, or asynchronously by
registering listeners.
The full unit test suite includes tests relying on externally instances
of Redis, Consult, and DynamoDB.

By default, we do not want to run these tests. Rather, they should be
opt-in by setting the environment variable `LD_SKIP_DATABASE_TESTS=0`.
The client instance will now provide access to a `flag_tracker`. This
tracker allows developers to be notified when a flag configuration
changes (or optionally when the /value/ of a flag changes for a
particular context).
The client instance will now provide access to a
`data_store_status_provider`. This provider allows developers to
retrieve the data store status of the SDK on demand, or asynchronously
by registering listeners.
@keelerm84 keelerm84 requested a review from a team May 3, 2023 16:25
Copy link
Contributor

@louis-launchdarkly louis-launchdarkly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure what happens with the windows build, but all other CircleCI test is green.

@LaunchDarklyReleaseBot LaunchDarklyReleaseBot merged commit 01dc51d into main May 4, 2023
@LaunchDarklyReleaseBot LaunchDarklyReleaseBot deleted the release-7.2.0 branch May 4, 2023 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.