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

10.0.0 Release notes #209

Closed
hueniverse opened this issue Mar 15, 2019 · 2 comments
Closed

10.0.0 Release notes #209

hueniverse opened this issue Mar 15, 2019 · 2 comments
Assignees
Labels
breaking changes Change that can breaking existing code release notes Major release documentation
Milestone

Comments

@hueniverse
Copy link
Contributor

hueniverse commented Mar 15, 2019

  • Requires hapi v18
  • Removes ignoreIfDecorated option
  • Moves cookie options:
    • cookie - to cookie.name
    • strictHeader, isSecure, isHttpOnly, isSameSite, path, domain, ttl, password, clearInvalid - into cookie
  • Uses server state defaults instead of module defaults
  • path default changed from / to null (no path) which defaults to current request path. This will cause cookies to only be accessible on the specific page they are set on. Manually set the path to / to apply the cookie to the entire site.
@hueniverse hueniverse added breaking changes Change that can breaking existing code release notes Major release documentation labels Mar 15, 2019
@hueniverse hueniverse added this to the 10.0.0 milestone Mar 15, 2019
@hueniverse hueniverse self-assigned this Mar 15, 2019
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
@kanongil
Copy link

clearInvalid is missing from the list of moved cookie options.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking changes Change that can breaking existing code release notes Major release documentation
Projects
None yet
Development

No branches or pull requests

2 participants