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

feat: preserve long stack traces in environments that support them #56

Merged
merged 8 commits into from Jan 20, 2021

Conversation

ForbesLindesay
Copy link
Owner

No description provided.

@coveralls
Copy link

coveralls commented Jan 20, 2021

Coverage Status

Coverage increased (+1.4%) to 100.0% when pulling f6c9bde on feat/long-stack-traces into 6b75d94 on master.

@rollingversions
Copy link

rollingversions bot commented Jan 20, 2021

Change Log for throat (5.0.0 → 6.0.0)

Breaking Changes

  • Throat no longer supports overriding the Promise implementation

    If you need to support older browsers, you should use a global polyfill. If you want throat to return a different type of Promise, you should manually wrap the result using CustomPromise.resolve(...)

  • Older browsers are no longer tested, although most will continue to work if you include a polyfill for Promise

    We are still testing on:

    • Microsoft Edge version 15
    • Google Chrome version 55
    • Firefox version 52
    • Safari version 12
    • iOS Safari version 11
  • Node.js version 8 is no longer tested, although it will probably continue to work

New Features

  • Environments that support async stack traces will now show the full stack trace when using throat. Previously throat calls effectively cut the stack trace off at that call.

Edit changelog

New badges and not referring to the removed API for providing a custom Promise implementation.
@ForbesLindesay ForbesLindesay merged commit f8ced5e into master Jan 20, 2021
@ForbesLindesay ForbesLindesay deleted the feat/long-stack-traces branch January 20, 2021 14:26
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.

None yet

2 participants