Releases: jshttp/cookie
Releases · jshttp/cookie
0.4.0
- Add
SameSite=None
support
0.3.1
- Fix
sameSite: true
to work with draft-7 clientstrue
now sendsSameSite=Strict
instead ofSameSite
0.3.0
- Add
sameSite
option- Replaces
firstPartyOnly
option, never implemented by browsers
- Replaces
- Improve error message when
encode
is not a function - Improve error message when
expires
is 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-Age
to 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
firstPartyOnly
option - Throw better error for invalid argument to parse
- perf: hoist regular expression