Skip to content

Commit 5177f0b

Browse files
author
LaunchDarklyReleaseBot
committed
Releasing version 5.2.0
1 parent 2fd329f commit 5177f0b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to the `launchdarkly-js-sdk-common` package will be documented in this file. Changes that affect the dependent SDKs such as `launchdarkly-js-client-sdk` should also be logged in those projects, in the next release that uses the updated version of this package. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [5.2.0] - 2024-05-01
6+
### Added:
7+
- 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.
8+
9+
### Changed:
10+
- 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.
11+
12+
### Fixed:
13+
- Fixed the documentation for `evaluationReasons` for the `identify` method.
14+
515
## [5.1.0] - 2024-03-19
616
### Changed:
717
- Redact anonymous attributes within feature events

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "launchdarkly-js-sdk-common",
3-
"version": "5.1.0",
3+
"version": "5.2.0",
44
"description": "LaunchDarkly SDK for JavaScript - common code",
55
"author": "LaunchDarkly <team@launchdarkly.com>",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)