This repository was archived by the owner on May 30, 2024. It is now read-only.
Releases: launchdarkly/node-server-sdk
Releases · launchdarkly/node-server-sdk
2.0.0
Breaking changes
The client now emits a ready event once initialization is complete. Calling toggle() before the client is initialized will return the default value.
Other changes
- Added
loggerconfig option to support custom loggers - Added
feature_storeconfig option to support Redis stores - Bug fixes
Add all_flags method
Adds a new method allowing clients to fetch a map of all flags for a given user.
coerce user keys to strings
Fixes a bug where non-string user keys were not coerced, causing events to be discarded when they could not be deserialized.
Set socket keep alive
Fixes a bug where clients may disconnect from the stream when an intermediate proxy times out.
Ignore json-pointer errors
Ignore errors thrown by json-pointer, on invalid update and delete events.
Add support for reverse proxies
Adds support for reverse proxies
Add close method
Adds a close method to shut down the client
Enable streaming by default
Streaming of feature changes is now enabled by default