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 2.15.0 release #183

Merged
merged 459 commits into from
Nov 5, 2019
Merged

prepare 2.15.0 release #183

merged 459 commits into from
Nov 5, 2019

Conversation

LaunchDarklyCI
Copy link
Contributor

[2.15.0] - 2019-11-05

Changed:

  • Changed the behavior of the warning message that is logged on failing to establish a streaming connection. Rather than the current behavior where the warning message appears upon each failed attempt, it will now only appear on the first failure in each series of attempts. Also, the message has been changed to mention that retries will occur. (#182)
  • The source code for the launchdarkly-js-sdk-common package has been moved out of this repository into js-sdk-common, and will now be versioned separately. Applications should never refer to the common package directly; it is brought in automatically by launchdarkly-js-client-sdk. Changes made in the common code that affect JS SDK functionality will be noted in the main changelog here.
  • There is a new, much fuller-featured demo application in the example directory, which may be useful for testing not only of the JS SDK but of feature flag evaluation in general.

Fixed:

  • The beforeunload event handler no longer calls close on the client, which was causing the SDK to become unusable if the page did not actually close after this event fired (for instance if the browser navigated to a URL that launched an external application, or if another beforeunload handler cancelled leaving the page). Instead, it now only flushes events. There is also an unload handler that flushes any additional events that might have been created by any code that ran during the beforeunload stage. (#181)
  • Removed uses of Object.assign that caused errors in Internet Explorer unless a polyfill for that function was present. These were removed earlier in the 2.1.1 release, but had been mistakenly added again.

Deprecated:

  • The samplingInterval configuration property is deprecated and will be removed in a future version. The intended use case for the samplingInterval feature was to reduce analytics event network usage in high-traffic applications. This feature is being deprecated in favor of summary counters, which are meant to track all events.

eli-darkly and others added 30 commits December 6, 2018 15:18
add debug logging for various things
don't send extra feature events when getting flags from Electron main client
remove Electron from the electron branch
* Initial commit.

* Upgraded jest types

* Update config.yml

* Exported ts definitions.

* Added ts docs and updated readme.

* Updated readme. Replaced default imports to ensure maximum compatibility with ts.

* Update packages/ldclient-react/README.md

Co-Authored-By: yusinto <yusinto@gmail.com>

* Removed unused import.

* PR feedback re documentation.

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Changed api to functions based on pr comments.

* Update home.js

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Updated consumer doco and tsdocs.

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* React SDK - Implement alternative to allFlags (#150)

* Added target flags param when initialising ldClient to give users a chance to not use allFlags.

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Replace localstorage with empty object.
reorganize readme content into 3 files
# Conflicts:
#	CHANGELOG.md
#	lerna.json
#	packages/ldclient-js-common/package.json
#	packages/ldclient-js/package.json
#	packages/ldclient-react/package.json
ensure that build happens before publish for ldclient-react
eli-darkly and others added 26 commits October 16, 2019 18:48
* improve log message for stream connection failures

* update the reconnection warning so that it only displays for the first set of each reconnection attempts

* also test that the original put is getting called

* updating tests

* updating tests

* Revert "updating tests"

This reverts commit 84163cdf8b5af6a6e969d777b946a8a2973919ed.

* better abstraction

* minor change
use spread operator instead of Object.assign
don't close client on beforeunload, but do flush events
# Conflicts:
#	index.html
#	package-lock.json
#	package.json
@LaunchDarklyCI LaunchDarklyCI merged commit f2e3d8a into master Nov 5, 2019
@LaunchDarklyCI LaunchDarklyCI deleted the release-2.15.0 branch November 5, 2019 23: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.

7 participants