Fixed
- Perf optimize cookie value validation by @blakeembrey in #285
- Small convention cleanups by @blakeembrey in #284
- Reject
Expiresdates outside cookie year bounds by @offyotto in #290- If your cookie expires is outside year 1601–9999 you will need to clamp the date yourself to the maximum value
- Reject unsafe-integer
maxAgeby @spokodev in #286- If your
maxAgeis larger thanNumber.MAX_SAFE_INTEGERyou will need to clamp it for safety when serializing
- If your
Full Changelog: v2.0.1...v2.0.2