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

prepare 2.1.0 release #29

Merged
merged 1 commit into from
Dec 24, 2019
Merged

prepare 2.1.0 release #29

merged 1 commit into from
Dec 24, 2019

Conversation

LaunchDarklyCI
Copy link
Contributor

[2.1.0] - 2019-12-23

Added:

  • Implemented variationDetail which returns an Evaluation Reason giving developers greater insight into why a value was returned.
  • Added allFlagsListener method, this returns flag keys whenever any flag key is updated.
  • Added metricValue parameter to track method.
  • 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 getConnectionInformation that 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 registerCurrentConnectionModeListener allows your application to listen to changes in the SDK's connection to LaunchDarkly.
  • 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 user object to the identify method.

* Bump iOS client version for use_frameworks fix

* Added RCTConvert.h to bridging header

* Bumped version, added CHANGELOG entry, added experimentation, evaluation reasons, all flags listener, connection status, iOS identify, and iOS and Android SDK version bumps

* Fix minor errors

* Added Android imports and fixed types, fixed iOS Evaluation Detail types

* Fixed android listeners and connectionInfo JSON

* Added resolveJsonElementDetail

* Minor type fixes

* Minor type fixes

* Fixed iOS type coercion

* Changed allFlagListener to allFlagsListener, fixed utility method reference

* Bumped package.json to 2.1.0

* Updated iOS client SDK to 4.3.2

* Pass callback to _unregisterListener

* Moved callback to correctly pass to _unregisterListener

* Added new event prefixes, extra handlers for listeners

* Fixed listener methods reversed, event emitter listeners

* Removed all flags and connection mode listeners from being stored in an Array

* Fixed all flags typo, incorrect json key in connection mode

* Fixed function typos, change is nil to does not equal nil in iOS layer

* Remove changelog so releaser can handle it, revert iOS listener change because we don't want overwrites
@LaunchDarklyCI LaunchDarklyCI merged commit d643d0a into master Dec 24, 2019
@LaunchDarklyCI LaunchDarklyCI deleted the release-2.1.0 branch December 24, 2019 03:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants