[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 methodvariationDetail
. 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.