This repository was archived by the owner on Oct 29, 2024. It is now read-only.
Releases: launchdarkly/react-native-client-sdk
Releases · launchdarkly/react-native-client-sdk
3.2.0
[3.2.0] - 2020-07-10
Changed:
- The SDK is now compatible with React Native version 0.63.x and React version 16.13.x.
Removed:
- The SDK no longer supports iOS 9. This change was made to correspond to React Native 0.63's dropped support for iOS 9.
3.1.2
3.1.1
[3.1.1] - 2020-04-24
Changed:
- Updated the Android target and compile versions to 28
3.1.0
[3.1.0] - 2020-04-01
Changed:
- The SDK is now compatible with React Native version 0.62.x and React version 16.11.x
3.0.2
[3.0.2] - 2020-03-31
Changed:
- Updated SDK code to build, run, and test on Xcode 11.4.
3.0.1
[3.0.1] - 2020-02-26
Added:
- Generated TypeDoc documentation for all types, properties, and methods is now available online at https://launchdarkly.github.io/react-native-client-sdk/. Currently this will only be for the latest released version.
Fixed:
- Fixed some incorrect and incomplete typedoc comments.
3.0.0
[3.0.0] - 2020-02-20
Added:
- Added TypeScript type definitions (thanks, eeynard!)
- Added TypeDoc comments
- The SDK now specifies a uniquely identifiable request header when sending events to LaunchDarkly to ensure that events are only processed once, even if the SDK sends them two times due to a failed initial attempt.
Changed:
- Changed the default value for the
anonymoususer property has been changed tofalse. Previously this default was inconsistent; the default value wastruewhen running in iOS andfalsewhen running in Android. - Changed the default value for the
backgroundPollingIntervalMillisSDK configuration property has been changed to3600000(one hour). Previously this default was inconsistent; the default value was900000(15 minutes) when running in iOS and3600000(one hour) when running in Android. - Changed the default value for the
disableBackgroundUpdatingSDK configuration property has been changed tofalse. Previously this default was inconsistent; the default value wastruewhen running in iOS andfalsewhen running in Android.
Fixed:
- Fixed the
*VariationDetailmethods so that they now always return a promise containing the variation detail information. Previously, when running in Android, this promise would have instead contained just the variation value if the underlying process threw an exception. - Fixed an issue where React Native apps could crash after reloading when running in iOS (thanks, shercoder!)
2.2.0
[2.2.0] - 2020-01-24
Added:
- Adds
evaluationReasonsconfiguration option. - Adds
user.countryuser option.
Fixed:
- Fixes iOS start completion by adding new method
startCompleteWhenFlagsReceived. This change creates feature parity between the start completion on iOS and Android. They now both complete when flag values are received. - Fixes
EvaluationDetailparsing from native to JS.
2.1.0
[2.1.0] - 2019-12-23
Added:
- Implemented
variationDetailwhich returns an Evaluation Reason giving developers greater insight into why a value was returned. - Added
allFlagsListenermethod, this returns flag keys whenever any flag key is updated. - Added
metricValueparameter totrackmethod. - The Connection Status API allows greater introspection into the current LaunchDarkly connection and the health of local flags.
- This feature adds a new method called
getConnectionInformationthat returns an object that contains the current connection mode e.g. streaming or polling, when and how a connection failed, and the last time flags were updated. - Additionally, a new observer function called
registerCurrentConnectionModeListenerallows your application to listen to changes in the SDK's connection to LaunchDarkly.
- This feature adds a new method called
- A
close()method which flushes the event queue and closes all open connections to LaunchDarkly. This method should be invoked as part of your application's termination lifecycle event.
Changed:
- Updated the iOS SDK to version 4.3.2. This enables the removal of
use_frameworks!from the Podfile in a project using the LaunchDarkly React Native SDK. - Updated the Android SDK to version 2.9.0.
- Switched iOS user switching from the deprecated
userobject to theidentifymethod.
2.0.3
[2.0.3] - 2019-11-25
Changed:
- The SDK's dependency on React Native has been expanded to include subsequent patch releases after
0.61.2.
Fixed:
- The Android package is properly namespaced now as
com.launchdarkly.reactnative. Previously the Android module's package wascom.reactlibrarywhich was prone to clash with other third-party modules' packages. (#25)