- add
expire
functionality (#8 @craff) - make http-cookie more lean by removing
fmt
dependency.
- [Change] makes
http_only
true by default increate
function. This makes the cookie more secure by default. - Use mdx in README.md
- Update tests
- [Change]
of_cookie
now validates duplicate cookie keys. - [Change] slightly improve error message for
of_cookie
andof_set_cookie
- [Fix] Fix IPv6 parsing for H16 values.
- [BREAKING-CHANGE] remove module
Same_site
. Usesame_site
type instead. - [New] introduce type
same_site
to replaceSame_site
module and to better conform to RFC 6265. - [New] add
of_cookie
features an angstrom parser to parse 'Cookie' header value as specified by RFC 6265. - [New] add
pp
,pp_date_time
andpp_same_site
pretty prints typet
,date_time
andsame_site
respectively. Useful for debugging pruposes. - [New] add
date_time
function to create validdate_time
value. - [BREAKING-CHANGE] make
date_time
type abstract - [BREAKING-CHANGE]
to_set_cookie_header_value
has been removed. Useto_set_cookie
instead. - [BREAKING-CHANGE]
to_cookie_header_value
has been removed. Useto_cookie
instead. - [BREAKING-CHANGE]
of_cookie_header
has been removed, Useof_cookie
instead. - [BREAKING-CHANGE] remove
Cookie
exception. The library is now exception less, i.e. usesresult
type to denote error scenarios. - [New] add
of_set_cookie
to parse HTTPSet-Cookie
header - Add expect tests
- Add
update_*
functions.
- Backwards incompatible change: remove
base-unix
dependency. Uses owndate_time
instead ofUnix.tm
.
- Rewrite library by removing almost all ppx and external libraries
- Rename package to
http-cookie
fromcookies
. - Make the
Http_cookie
the topmost module. - Change code formatting to
janestreet
- Document API, generate docs and host it.
- Add compare function
- First release.