Skip to content

fastifyCookieClearCookie sets maxAge to zero#304

Merged
gurgunday merged 3 commits intofastify:masterfrom
aristofun:improve-clear-cookie
Oct 9, 2024
Merged

fastifyCookieClearCookie sets maxAge to zero#304
gurgunday merged 3 commits intofastify:masterfrom
aristofun:improve-clear-cookie

Conversation

@aristofun
Copy link
Copy Markdown

@aristofun aristofun commented Oct 9, 2024

Improves devX/compatibility for some users of the library and some cookie jar implementations.

Closes #303

Checklist

Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporarily blocking to check something

Comment thread package.json Outdated
{
"name": "@fastify/cookie",
"version": "10.0.1",
"version": "10.0.2",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert this. we'll bump this ourselves.

@gurgunday gurgunday mentioned this pull request Oct 9, 2024
4 tasks
Comment thread plugin.js Outdated
Comment thread package.json Outdated
Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@gurgunday gurgunday merged commit 321932f into fastify:master Oct 9, 2024
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.

clearCookie does not include maxAge, neither allows to pass it as options

3 participants