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

[SEMVER-MAJOR] Switch from Bluebird to native Promise #1631

Merged
merged 1 commit into from Oct 8, 2018
Merged

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Oct 5, 2018

If we want to start writing async functions using await statements then we must remove Bluebird from our public API. This pull request is doing exactly that.

This is a breaking change. Juggler methods are no longer returning instances of Bluebird Promise, but return a native Promise instead.

As a result, API consumers can no longer use sugar APIs provided by Bluebird, e.g. spread, delay, etc.

Migration guide: rewrite your code from .then() style into async functions using await statements.

This is a breaking change. Juggler methods are no longer returning
instances of Bluebird Promise, but return a native Promise instead.

As a result, API consumers can no longer use sugar APIs provided by
Bluebird, e.g. `spread`, `delay`, etc.

Migration guide: rewrite your code from `.then()` style into `async`
functions using `await` statements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant