Skip to content

Conversation

@eli-darkly
Copy link
Contributor

[2.6.0] - 2018-09-07

Added:

  • The new configuration option evaluationReasons causes LaunchDarkly to report information about how each feature flag value was determined; you can access this information with the new client method variationDetail. The new method returns an object that contains both the flag value and a "reason" object which will tell you, for instance, if the user was individually targeted for the flag or was matched by one of the flag's rules, or if the flag returned the default value due to an error.

Changed:

  • In streaming mode, the client will attempt to reconnect if it receives an HTTP error status from LaunchDarkly. Previously, it would only retry if the connection was lost.

brooswit and others added 30 commits May 18, 2018 15:22
override jsdom version to avoid test problems
change identify() result back to a key-value map like it used to be
[ch22054] Document the Promise polyfill and make all polyfill sections consistent
eli-darkly and others added 25 commits August 23, 2018 19:50
…hed NPM package (#94)

TIL that `npm pack` will build the tarball that actually gets uploaded to the NPM servers.

If you want to verify this works,

```sh
  npm run clean
  npm run prepublishOnly # simulate build that occurs before publishing
  npm pack # generate the tarball that will end up on NPM servers
```

Since we don't include anything from `src/`, I moved the TypeScript typings to the package root to avoid having to copy things around.
add reconnect logic to stream
implement evaluation with explanations
@eli-darkly eli-darkly requested a review from apucacao September 7, 2018 19:16
@eli-darkly eli-darkly merged commit 3160bd4 into master Sep 7, 2018
@eli-darkly eli-darkly deleted the 2.6.0 branch September 7, 2018 19:56
eli-darkly added a commit that referenced this pull request Dec 7, 2018
6. move all goals logic into ldclient-js
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.

4 participants