Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 8fb257b

Browse files
Releasing version 4.2.1
1 parent 474aa34 commit 8fb257b

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

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

33
All notable changes to the LaunchDarkly React Native SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [4.2.1] - 2021-06-01
6+
### Fixed:
7+
- iOS: Fixed an issue where an exception was thrown when calling `LDClient.configure` with an optional `timeout` ([#80](https://github.com/launchdarkly/react-native-client-sdk/issues/80)).
8+
- iOS: Improved consistency with Android for `LDClient.isInitialized`. Both implementations will now reject the promise if the client has not been configured.
9+
- iOS: Avoid exceptions on iOS when certain methods are called after `LDClient.close`. (Thanks, [andvalsol](https://github.com/launchdarkly/react-native-client-sdk/pull/78))! ([#75](https://github.com/launchdarkly/react-native-client-sdk/issues/75))
10+
- Android: Fixed an issue where the promise for `LDClient.configure` could be resolved before the client had finished initializing when not providing the optional `timeout` parameter.
11+
- Android: Fixed an issue where `LDClient.allFlags` would reject the promise when the client was configured but not yet initialized, rather than resolving with any cached flags.
12+
13+
514
## [4.2.0] - 2021-05-19
615
### Added:
716
- `LDUser` now has an optional `secondary` attribute to match other LaunchDarkly SDKs. For more on the behavior of this attribute see [the documentation on targeting users](https://docs.launchdarkly.com/home/managing-flags/targeting-users).

ios/LaunchdarklyReactNativeClient.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Pod::Spec.new do |s|
33
s.name = "LaunchdarklyReactNativeClient"
4-
s.version = "4.2.0"
4+
s.version = "4.2.1"
55
s.summary = "LaunchdarklyReactNativeClient"
66
s.description = <<-DESC
77
LaunchdarklyReactNativeClient

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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-native-client-sdk",
3-
"version": "4.2.0",
3+
"version": "4.2.1",
44
"description": "",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)