Skip to content

Conversation

eli-darkly
Copy link
Contributor

[5.1.0] - 2018-08-27

Added:

  • The new LDClient method all_flags_state() should be used instead of all_flags() if you are passing flag data to the front end for use with the JavaScript SDK. It preserves some flag metadata that the front end requires in order to send analytics events correctly. Versions 2.5.0 and above of the JavaScript SDK are able to use this metadata, but the output of all_flags_state() will still work with older versions.
  • The all_flags_state() method also allows you to select only client-side-enabled flags to pass to the front end, by using the option client_side_only: true.

Changed:

  • Unexpected exceptions are now logged at ERROR level, and exception stacktraces at DEBUG level. Previously, both were being logged at WARN level.

Deprecated:

  • LDClient.all_flags()

@eli-darkly eli-darkly requested a review from ashanbrown August 25, 2018 01:14
@eli-darkly eli-darkly merged commit a0f0a43 into master Aug 27, 2018
eli-darkly added a commit that referenced this pull request Mar 21, 2019
warn & don't send event if identify or track has no valid user
@eli-darkly eli-darkly deleted the 5.1.0 branch November 6, 2019 05:32
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.

2 participants