Skip to content

Conversation

@eli-darkly
Copy link
Contributor

[2.10.0] - 2019-04-19

Added:

  • Generated TypeDoc documentation for all types, properties, and methods is now available online at https://launchdarkly.github.io/js-client/. Currently this will only be for the latest released version.
  • The SDK now allows you to specify an anonymous user without a key (i.e. the anonymous property is true, and there is no key property). In that case, the SDK will generate a UUID and send that as the user key. It will also cache this generated key in local storage (if local storage is available) so that anonymous users in the same browser will always get the same key.

Fixed:

  • Setting user attributes to non-string values when a string was expected would prevent evaluations and analytics events from working. The SDK will now convert attribute values to strings as needed.

override short default timeout in one EventSource polyfill
# Conflicts:
#	package.json
#	src/Stream.js
# Conflicts:
#	packages/ldclient-electron/package-lock.json
eli-darkly and others added 25 commits April 17, 2019 13:40
refactor to isolate the sync XHR logic; expose close() method
add script to publish docs to Github Pages
fix uuid dependency, add unit tests for user key
change HTTP response handling to avoid CORS header errors
@eli-darkly eli-darkly merged commit a00682c into master Apr 20, 2019
@eli-darkly eli-darkly deleted the 2.10.0 branch April 20, 2019 00:11
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.

7 participants