-
Notifications
You must be signed in to change notification settings - Fork 632
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
BREAKING(async): deprecate deferred()
in favor of Promise.withResolvers()
#3758
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll confirm this removal version before merging. But it's also good to link to docs like this going forward. This should fail on stable but pass on canary.
deferred()
in favor of Promise.withResolvers()
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yoshiya and I agreed that a deprecation period of 2 minor versions (12 weeks) is reasonable. Let's go with that.
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks, Lino!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I spoke with Yoshiya again, and we'll reduce the deprecation period for this to 1 minor version (6 weeks). We'll likely merge this PR right before the next minor release. LGTM again and thanks again!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry again for the change. I previously misunderstood specifics around the deprecation period. Either way, I've now changed this to be removed in 0.209.0 and can now merge. Thanks again for this, Lino!
closes #3757