-
Notifications
You must be signed in to change notification settings - Fork 16.2k
feat: promisify cookies api #16464
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: promisify cookies api #16464
Conversation
36e8bc6
to
da6c405
Compare
Needs electron/typescript-definitions#122 to land |
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.
⭐️
Release Notes Persisted
|
* feat: promisify the Cookie API * chore: update specs to test promisified cookies * chore: add deprecate wrapper for cookie callback API * docs: update docs to cookie promise changes * chore: remove redundant namespace use * docs: improve cookie example * docs: restore docs for cookie callback API * chore: restore cookie callback tests * fix: syntax of cookie promise return types
* feat: promisify cookies api (#16464) * feat: promisify the Cookie API * chore: update specs to test promisified cookies * chore: add deprecate wrapper for cookie callback API * docs: update docs to cookie promise changes * chore: remove redundant namespace use * docs: improve cookie example * docs: restore docs for cookie callback API * chore: restore cookie callback tests * fix: syntax of cookie promise return types * fix: use new promisify helper
This version introduced a break into my app. In particular, some cookies are not being retrieved when using cookies.get (with filter object using url) even if the new promisified version used. The cookies that are not retrieved have the following attributes different from those retrieved: Secure; HttpOnly; SameSite=Strict |
Description of Change
Promisifies the cookie API.
CC @codebytere
Checklist
npm test
passesRelease Notes
Notes: Added Promise support for the Cookies API.