All notable changes to the LaunchDarkly Node.js SDK will be documented in this file. This project adheres to Semantic Versioning.
- More consistent User-Agent header usage
- Release script
- Fixed implicit any in typescript definition
- Improved error logging when polling
- Update typescript definitions
- Improve compatibility with ts-node parser
- Fix incorrect typescript definition for init()
- Add typescript definitions
- Log shorter messages, with a stack trace, for known errors with messages
- Fixed a bug where all_flags would not display correct flag result for user
- Fixed a bug in initialization that caused high CPU usage
- Bug fix for receiving updates to large feature flags
- Numerous bug fixes for the Redis feature store
- The event queue is no longer a global property, so multiple clients initialized in one node process now send events to the correct environment
- The
RedisFeatureStorenow takes an optional prefix parameter
- Mark the client initialized immediately in LDD mode
- Fixed a bug in the secure_mode_hash function
- The
readyevent now gets properly emitted in offline mode.
- Support for multivariate feature flags. In addition to booleans, feature flags can now return numbers, strings, dictionaries, or arrays via the
variationmethod. - New
all_flagsmethod returns all flag values for a specified user. - New
secure_mode_hashfunction computes a hash suitable for the new LaunchDarkly JavaScript client's secure mode feature. - New
initializedfunction returns whether or not the client has finished initialization.
- The
togglecall has been deprecated in favor ofvariation.