Skip to content

Releases: lemaetech/http-cookie

4.3.0

06 Apr 08:59
Compare
Choose a tag to compare

CHANGES:

  • add expire functionality (#8 @craff)
  • make http-cookie more lean by removing fmt dependency.

4.2.0

21 Aug 08:28
Compare
Choose a tag to compare

CHANGES:

  • [Change] makes http_only true by default in create function. This makes the cookie more secure by default.
  • Use mdx in README.md
  • Update tests

4.1.0

18 Aug 15:03
Compare
Choose a tag to compare

CHANGES:

  • [Change] of_cookie now validates duplicate cookie keys.
  • [Change] slightly improve error message for of_cookie and of_set_cookie
  • [Fix] Fix IPv6 parsing for H16 values.

4.0.0

16 Aug 12:18
d69e4c4
Compare
Choose a tag to compare

CHANGES:

  • [BREAKING-CHANGE] remove module Same_site. Use same_site type instead.
  • [New] introduce type same_site to replace Same_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 and pp_same_site pretty prints type t, date_time and same_site respectively. Useful for debugging pruposes.
  • [New] add date_time function to create valid date_time value.
  • [BREAKING-CHANGE] make date_time type abstract
  • [BREAKING-CHANGE] to_set_cookie_header_value has been removed. Use to_set_cookie instead.
  • [BREAKING-CHANGE] to_cookie_header_value has been removed. Use to_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. uses result type to denote error scenarios.
  • [New] add of_set_cookie to parse HTTP Set-Cookie header
  • Add expect tests

3.1.0

11 Aug 12:22
Compare
Choose a tag to compare

CHANGES:

  • Add update_* functions.

v3.0.0

07 Apr 11:48
Compare
Choose a tag to compare

CHANGES:

  • Backwards incompatible change: remove base-unix dependency. Uses own date_time instead of Unix.tm.

v2.0.0

28 Nov 00:10
Compare
Choose a tag to compare

CHANGES:

  • Rewrite library by removing almost all ppx and external libraries
  • Rename package to http-cookie from cookies.
  • Make the Http_cookie the topmost module.
  • Change code formatting to janestreet
  • Document API, generate docs and host it.

v1.0.0

01 Aug 15:40
0bc96d4
Compare
Choose a tag to compare

CHANGES:

  • First release.