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 1.1.1 release #7

Merged
merged 21 commits into from
May 10, 2019
Merged

prepare 1.1.1 release #7

merged 21 commits into from
May 10, 2019

Conversation

eli-darkly
Copy link
Contributor

[1.1.1] - 2019-05-08

Note: this is a replacement for the 1.1.0 release, which was broken and has been removed.

Added:

  • Generated TypeDoc documentation for all types, properties, and methods is now available online at https://launchdarkly.github.io/electron-client-sdk/. 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 so that anonymous users will always get the same key when running under the same user account in the operating system.
  • It is now possible to specify any of the TLS configuration parameters supported by Node's https.request() in the client configuration, so that they will apply to all HTTPS requests made by the SDK. In your client options, add a property called tlsParams whose value is an object containing those parameters, e.g. tlsParams: { ca: 'my trusted CA certificate data' }.

Fixed:

  • The version constant was incorrectly reporting the version string of the core JavaScript SDK package that is used internally. It is now the version string of the Electron SDK.
  • 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.

Note on future releases

The LaunchDarkly SDK repositories are being renamed for consistency. This repository is now electron-client-sdk rather than electron-client.

The package name will also change. In the 1.1.1 release, it is still ldclient-electron; in all future releases, it will be launchdarkly-electron-client-sdk. No further updates to the ldclient-electron package will be published after this release.

@eli-darkly eli-darkly requested a review from bwoskow-ld May 9, 2019 03:01
@eli-darkly eli-darkly merged commit 7498543 into master May 10, 2019
@eli-darkly eli-darkly deleted the 1.1.1 branch May 10, 2019 17:59
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.

3 participants