From 7aa4bd7bba9e073465c20805eea65d1befeccbca Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Wed, 1 May 2024 20:27:19 +0000 Subject: [PATCH] Releasing version 3.2.0 --- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 521d03e..80b076e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to the LaunchDarkly Client-Side SDK for Node.js will be documented in this file. +## [3.2.0] - 2024-05-01 +### Added: +- Added an optional timeout to the `waitForInitialization` method. When a timeout is specified the returned promise will be rejected after the timeout elapses if the client has not finished initializing within that time. When no timeout is specified the returned promise will not be resolved or rejected until the initialization either completes or fails. + +### Changed: +- The track method now validates that the provided metricValue is a number. If a metric value is provided, and it is not a number, then a warning will be logged. + +### Fixed: +- Fixed the documentation for `evaluationReasons` for the `identify` method. +- Upgraded to launchdarkly-eventsource version 2.0.2. This version contains performance improvements and logging improvements compared the the version that was in use. + ## [3.1.0] - 2024-03-19 ### Changed: - Redact anonymous attributes within feature events diff --git a/package.json b/package.json index 719a98b..9ccb6a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "launchdarkly-node-client-sdk", - "version": "3.1.0", + "version": "3.2.0", "description": "LaunchDarkly Client-Side SDK for Node.js", "author": "LaunchDarkly ", "license": "Apache-2.0",