Releases: mirage/ocaml-cohttp
Releases · mirage/ocaml-cohttp
v2.5.2
CHANGES:
- cohttp, cohttp-async: correctly set host header for unix domain sockets,
implement Unix domain socket support for cohttp-async (#698 @Leonidas-from-XIV) - cohttp: better body encoding management when creating request and
response, and correction of Header.replace function (#694 @lyrm)
v2.5.1
v2.5.0
v2.4.0
v2.3.0
CHANGES:
- use conduit-mirage instead of mirage-conduit, which was renamed
upstream in conduit. The minimum OCaml version supported for
conduit-mirage is now OCaml 4.07 and higher. (#672 @avsm) - remove deprecation warnings in OCaml 4.08.0 using stdlib-shims (#672 @avsm)
- async: do not read body if none is present (#671 @emillon)
v2.2.0
CHANGES:
- Previously if the client closed the connection while cohttp was
handling a request, the server would crash (by default, unless the
user overrode that usingon_exn
or changing Lwt's async exception
handler). Now, cohttp will just log this atinfo
level and
continue. Exceptions produced by user code are logged as errors,
while other exceptions generated by cohttp call back to the conduit
exception handler, as before. (#669 @talex5)
v2.1.3
v2.1.2
v2.1.1
v2.0.0
CHANGES:
Compatibility breaking interface changes:
Async: Expert response action no longer writes empty HTTP body (#647 by @andreas)
In cohttp.0.99, a number of subpackages were turned into explicit
opam packages to simplify dependency management.
To aid migration, some compatability shims were left in place so that
the old findlib names would continue to work. They have now been removed
as of this release. If you were still using them, then please rename
them as follows in your dune or ocamlbuild files:
cohttp.lwt-core
->cohttp-lwt
cohttp.lwt
->cohttp-lwt-unix
cohttp.js
->cohttp-lwt-jsoo
cohttp.async
->cohttp-async
cohttp.top
->cohttp-top
Other changes and bugfixes:
- Lwt, Mirage: Add log warnings for uncaught exceptions (#592 by @ansiwen)
- Log invalid client input and do not catch out of memory exceptions (#652 @hannesm)
- Port opam files to opam2 and add local synopsis and descriptions.
- Lwt: Add Expert response action for servers (#647 by @andreas)
- Use the namespaced
js_of_ocaml
interfaces from 3.3.0 onwards (#654 @avsm) - Use Base64 3.1.0 interfaces (#655 @avsm)
- Clean up redundant conflicts in the
opam
files (@avsm)