Releases: jshttp/cookie
Releases · jshttp/cookie
0.4.0
- Add
SameSite=Nonesupport
0.3.1
- Fix
sameSite: trueto work with draft-7 clientstruenow sendsSameSite=Strictinstead ofSameSite
0.3.0
- Add
sameSiteoption- Replaces
firstPartyOnlyoption, never implemented by browsers
- Replaces
- Improve error message when
encodeis not a function - Improve error message when
expiresis not aDate
0.2.4
- perf: enable strict mode
- perf: use for loop in parse
- perf: use string concatination for serialization
0.2.3
- Fix cookie
Max-Ageto never be a floating point number
0.2.2
- Fix regression when setting empty cookie value
- Ease the new restriction, which is just basic header-level validation
- Fix typo in invalid value errors
0.2.1
- Throw on invalid values provided to
serialize- Ensures the resulting string is a valid HTTP header value
0.1.5
- Fix regression when setting empty cookie value
- Ease the new restriction, which is just basic header-level validation
- Fix typo in invalid value errors
0.1.4
- Throw better error for invalid argument to parse
- Throw on invalid values provided to
serialize- Ensures the resulting string is a valid HTTP header value
0.2.0
- Add
firstPartyOnlyoption - Throw better error for invalid argument to parse
- perf: hoist regular expression