Skip to content

Conversation

@eli-darkly
Copy link
Contributor

[2.12.1] - 2019-06-28

Added:

  • The SDK now logs a message at info level when the stream connection is started or stopped. It also logs a message at warn level if it detects that the stream had to be restarted due to a connection failure; however, in browsers that have native support for EventSource, connection restarts may be handled internally by the browser in which case there will be no log message.

Fixed:

  • Under some circumstances, the SDK would fail to restart a streaming connection if it had already been dropped and restarted before. This normally would not happen when using a built-in browser implementation of EventSource, but could happen with some EventSource polyfills.
  • Fixed a broken link in the project README.

eli-darkly and others added 30 commits November 27, 2018 11:32
…vent-streaming

allow streaming mode to be decoupled from event subscription
…er-bootstrap

fire change event when updating flags after bootstrap from localstorage
# Conflicts:
#	packages/ldclient-js-common/src/__tests__/LDClient-streaming-test.js
#	packages/ldclient-js-common/src/__tests__/LDClient-test.js
#	packages/ldclient-js-common/src/index.js
use forked eventsource package, and add end-to-end tests for it
# Conflicts:
#	packages/ldclient-js-common/src/index.js
# Conflicts:
#	packages/ldclient-electron/src/index.js
use deep compare to decide whether a flag value has changed
disallow identify() when client is synced with another client
eli-darkly and others added 24 commits May 8, 2019 11:53
# Conflicts:
#	package-lock.json
#	packages/launchdarkly-js-client-sdk/package.json
#	packages/launchdarkly-js-sdk-common/package.json
#	packages/launchdarkly-react-client-sdk/package.json
launchdarkly-js-client-sdk and launchdarkly-js-sdk-common.
Specify unpkg default target file in package.json
[ch39114] Correct requestor call to fetch flags on a received ping event.
* Initial commit reusing withLDProvider

* Added sitenav. Cleaned up filenames.

* Updated readme with hooks api docs. Fixed linting errors.

* Fixed linting errors.

* Update README.md
fix goals query logic for Electron, also fix handling of invalid content type
fix stream reconnect logic and add stream connection logging
fix and simplify how the logger object is passed around
@eli-darkly eli-darkly merged commit be63c6f into master Jun 28, 2019
@eli-darkly eli-darkly deleted the 2.12.1 branch June 28, 2019 16:36
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.

9 participants