Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare 3.2.3 release #17

Merged
merged 98 commits into from
Mar 6, 2020
Merged

prepare 3.2.3 release #17

merged 98 commits into from
Mar 6, 2020

Conversation

LaunchDarklyCI
Copy link
Contributor

[3.2.3] - 2020-03-06

Fixed:

  • At client initialization time, if the initial flag polling request failed, it would cause an unhandled promise rejection unless the application had called waitForInitialization() and provided an error handler for the promise that was returned by that method. While that is correct behavior if the application did call waitForInitialization() (any promise that might be rejected should have an error handler attached), it is highly undesirable if the application did not call waitForInitialization() at all-- which is not mandatory, since the application could use events instead, or waitUntilReady(), or might simply not care about waiting for initialization. This has been fixed so that no such promise is created until the first time the application calls waitForInitialization(); subsequent calls to the same method will return the same promise (since initialization can only happen once).
  • A bug in the event emitter made its behavior unpredictable if an event handler called on or off while handling an event. This has been fixed so that all event handlers that were defined at the time the event was fired will be called; any changes made will not take effect until the next event.

eli-darkly and others added 30 commits October 29, 2019 17:51
Update babel config to work in `test` without `useBuiltIns`
initial move of code from js-client-sdk-private
use spread operator instead of Object.assign
re-add deprecation comment on samplingInterval
eli-darkly and others added 26 commits January 14, 2020 15:51
change exact dependencies to best-compatible
# Conflicts:
#	src/EventSender.js
#	src/__tests__/EventSender-test.js
#	src/__tests__/configuration-test.js
# Conflicts:
#	package-lock.json
#	package.json
fix updating secure mode hash with identify()
don't omit streamInits.failed when it's false
clean up init state logic, prevent unhandled rejections
@eli-darkly eli-darkly requested a review from bwoskow-ld March 6, 2020 20:14
@LaunchDarklyCI LaunchDarklyCI merged commit 6b6f186 into master Mar 6, 2020
@LaunchDarklyCI LaunchDarklyCI deleted the release-3.2.3 branch March 6, 2020 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants