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

Commit

Permalink
Releasing version 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LaunchDarklyCI committed May 19, 2021
1 parent 51c58c7 commit 4e94289
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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

## [4.2.0] - 2021-05-19
### Added:
- `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).
- Support for multiple LaunchDarkly projects or environments. Each set of feature flags associated with a mobile key is called an environment. ([#10](https://github.com/launchdarkly/react-native-client-sdk/issues/10))
- `secondaryMobileKeys` is now a config option which allows a mapping of names to the SDK keys for each additional environment. `mobileKey` is still required, and represents the primary environment.
- Many methods including variations, track, and listeners now support an optional `environment` parameter to evaluate the method against the given `environment`.


## [4.1.2] - 2021-04-28
### Fixed:
- The `LDEvaluationReasonErrorKind`, `LDEvaluationReasonKind`, `LDConnectionMode`, and `LDFailureReason` enum TypeScript types were undefined when evaluated at runtime due to being defined in an ambient context. This was also fixed in SDK version 4.0.3 with React Native 0.63 compatibility.
Expand Down
2 changes: 1 addition & 1 deletion ios/LaunchdarklyReactNativeClient.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = "LaunchdarklyReactNativeClient"
s.version = "4.1.2"
s.version = "4.2.0"
s.summary = "LaunchdarklyReactNativeClient"
s.description = <<-DESC
LaunchdarklyReactNativeClient
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "launchdarkly-react-native-client-sdk",
"version": "4.1.2",
"version": "4.2.0",
"description": "",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 4e94289

Please sign in to comment.