Skip to content

Commit 9ea35bd

Browse files
author
LaunchDarklyReleaseBot
committed
merge from public after release
2 parents f2e51c0 + 629c2d9 commit 9ea35bd

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

.sdk_metadata.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 1,
3+
"sdks": {
4+
"react-client-sdk": {
5+
"name": "React Web SDK",
6+
"type": "client-side",
7+
"languages": [
8+
"JavaScript", "TypeScript"
9+
]
10+
}
11+
}
12+
}

CHANGELOG.md

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

33
All notable changes to the LaunchDarkly Client-side SDK for React will be documented in this file. For the source code for versions 2.13.0 and earlier, see the corresponding tags in the [js-client-sdk](https://github.com/launchdarkly/js-client-sdk) repository; this code was previously in a monorepo package there. See also the [JavaScript SDK changelog](https://github.com/launchdarkly/js-client-sdk/blob/main/CHANGELOG.md), since the React SDK inherits all of the underlying functionality of the JavaScript SDK; this file covers only changes that are specific to the React interface. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [3.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+
- Updated the link-dev script to better support multiple platforms.
13+
14+
### Fixed:
15+
- Fixed the documentation for `evaluationReasons` for the `identify` method.
16+
517
## [3.1.0] - 2024-03-21
618
### Changed:
719
- 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-react-client-sdk",
3-
"version": "3.1.0",
3+
"version": "3.2.0",
44
"description": "LaunchDarkly SDK for React",
55
"author": "LaunchDarkly <team@launchdarkly.com>",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)