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

prepare 5.12.0 release #181

Merged
merged 390 commits into from
Apr 3, 2020
Merged

prepare 5.12.0 release #181

merged 390 commits into from
Apr 3, 2020

Conversation

LaunchDarklyCI
Copy link
Contributor

[5.12.0] - 2020-04-03

Added:

  • New configuration option streamInitialReconnectDelayMillis allows setting the initial delay (not including jitter) for stream reconnections.

Changed:

The stream reconnection behavior has been changed to be consistent with other LaunchDarkly SDKs, as follows:

  • Previously, there was a fixed delay of 125 milliseconds for the first attempt to reconnect after a stream failure, which would then increase with an exponential backoff for subsbequent retries up to a maximum of 15 seconds (but the backoff was used only after HTTP error responses, not connection failures).
  • Now, the delay starts at 1000 milliseconds, unless changed with streamInitialReconnectDelayMillis.
  • The new maximum is 30 seconds.
  • The backoff now applies to all types of stream failures.
  • There is now a jitter that randomly reduces each delay by up to 50%.
  • The delay now resets to the initial level if the stream has been active for at least 60 seconds.

LaunchDarklyCI and others added 30 commits January 12, 2019 00:55
add feature store test for prefix option
# Conflicts:
#	package-lock.json
bump jest version to stop vulnerability warning
fix track() and identify() to reject missing/keyless user
eli-darkly and others added 24 commits February 12, 2020 10:40
update diagnostic event info for OS name, data store type, Node version
inlineUsersInEvents is not an unknown option
# Conflicts:
#	caching_store_wrapper.js
#	configuration.js
#	event_processor.js
#	index.js
#	redis_feature_store.js
#	requestor.js
#	streaming.js
…cit-false

don't omit streamInits.failed when it's false
bump request dependency to get security patch; loosen some exact dependencies
…kage

remove request package; improve polling cache logic + add test
use launchdarkly-eventsource, make stream retry behavior consistent
@eli-darkly eli-darkly requested a review from bwoskow-ld April 3, 2020 21:29
# Conflicts:
#	package-lock.json
@LaunchDarklyCI LaunchDarklyCI merged commit 1ab58a1 into master Apr 3, 2020
@LaunchDarklyCI LaunchDarklyCI deleted the release-5.12.0 branch April 3, 2020 23:09
LaunchDarklyCI pushed a commit that referenced this pull request Apr 24, 2020
fix proxy tunnel configuration and make sure it's used in streaming
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.

5 participants