- Fix incorrectly disallowing equals sign in cookie value
- Add
partitionedoption for CHIPS support - Add
priorityoption for Priority cookie support - Fix accidental cookie name/value truncation when given invalid chars
- Fix
maxAgeoption to reject invalid values - Remove quotes from returned quoted cookie value
- Use
req.socketover deprecatedreq.connection - pref: small lookup regexp optimization
- Fix check for default
secureoption behavior - Fix
maxAgeoption preventing cookie deletion - Support
"none"insameSiteoption - deps: depd@~2.0.0
- Replace internal
evalusage withFunctionconstructor - Use instance methods on
processto check for listeners
- Replace internal
- deps: keygrip@~1.1.0
- Use
tsscmpmodule for timing-safe signature verification
- Use
- deps: keygrip@~1.0.3
- perf: enable strict mode
- deps: depd@~1.1.2
- perf: remove argument reassignment
- deps: depd@~1.1.1
- Remove unnecessary
Bufferloading
- Remove unnecessary
- deps: keygrip@~1.0.2
- perf: improve comparison speed
- Add
sameSiteoption for SameSite cookie support - pref: enable strict mode
- Fix
keysdeprecation message - deps: keygrip@~1.0.1
- Fix regression in 0.6.0 for array of strings in
keysoption
- Add
secureconstructor option for secure connection checking - Change constructor to signature
new Cookies(req, res, [options])- Replace
new Cookies(req, res, key)withnew Cookies(req, res, {'keys': keys})
- Replace
- Change prototype construction for proper "constructor" property
- Deprecate
secureProxyoption in.set; usesecureoption instead- If
secure: truethrows even over SSL, use thesecureconstructor option
- If
- Throw on invalid values provided to
Cookieconstructor- This is not strict validation, but basic RFC 7230 validation
- Integrate with
req.protocolfor secure cookies - Support
maxAgeas well asmaxage
- Update package for repo move
- Allow passing an array of strings as keys
- TODO: write down history for these releases
- SSL cookies secure by default
- Use httpOnly by default unless explicitly false
- Delete sig cookie if signed cookie is deleted
- Always set path
- Add sensible defaults for path
- Inherit cookie properties to signature cookie
- Readme updates
- Initial release