Skip to content

10.0.0 Release notes #209

@hueniverse

Description

@hueniverse
  • 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.

Metadata

Metadata

Assignees

Labels

breaking changesChange that can breaking existing coderelease notesMajor release documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions