[new release] cohttp-lwt-jsoo, cohttp, cohttp-lwt, cohttp-lwt-unix, cohttp-top, cohttp-async and cohttp-mirage (4.0.0)#18385
Conversation
|
Commit: 25295eb A pull request by opam-seasoned @mseri. ☀️ All lint checks passed 25295eb
☀️ Installability check (+7)
|
|
|
|
I have a separate PR to partly revert #17577 since cohttp 4.0.0 breaks fewer things, but I will submit that separately once this is good and merged |
|
I have reported the archive change of KaSim to the upstream repository |
|
Te failure for comby is the same as doi2bib and related to mirage/ocaml-cohttp#730: It is not really a failure, the warning informs that there are bodies that are not drained. Ping @rvantonder |
…ohttp-top, cohttp-async and cohttp-mirage (4.0.0) CHANGES: - cohttp.response: fix malformed status header for custom status codes (@mseri @aalekseyev mirage/ocaml-cohttp#752) - Remove dependency to base (@samoht mirage/ocaml-cohttp#745) - fix opam files and dependencies - add GitHub Actions workflow (@smorimoto mirage/ocaml-cohttp#739) - lwt_jsoo: Forward exceptions to caller when response is null (@mefyl mirage/ocaml-cohttp#738) - Remove wrapped false (@rgrinberg mirage/ocaml-cohttp#734) - Use implicit executable dependency for generate.exe (@TheLortex mirage/ocaml-cohttp#735) - cohttp: update HTTP codes (@emillon mirage/ocaml-cohttp#711) - cohttp: add Uti.t to uri scheme (@brendanlong mirage/ocaml-cohttp#707) - cohttp: fix chunked encoding of empty body (@mefyl mirage/ocaml-cohttp#715) - cohttp-async: fix body not being uploaded with unchunked Async.Pipe (@mefyl mirage/ocaml-cohttp#706) - cohttp-{async, lwt}: fix suprising behaviours of Body.is_empty (@anuragsoni mirage/ocaml-cohttp#714 mirage/ocaml-cohttp#712 mirage/ocaml-cohttp#713) - cohttp-lwt-jsoo: rename Cohttp_lwt_xhr to Cohttp_lwt_jsoo for consistency (@mseri mirage/ocaml-cohttp#717) - refactoring of tests (@mseri mirage/ocaml-cohttp#709, @dinosaure mirage/ocaml-cohttp#692) - update documentation (@dinosaure mirage/ocaml-cohttp#716, @mseri mirage/ocaml-cohttp#720) - cohttp: fix transfer-encoding ordering in headers (@mseri mirage/ocaml-cohttp#721) - lower-level support for long-running cohttp-async connections (@brendanlong mirage/ocaml-cohttp#704) - fix deadlock in logging (@dinosaure mirage/ocaml-cohttp#722) - add of_form and to_form functions to body (@seliopou mirage/ocaml-cohttp#440, @mseri mirage/ocaml-cohttp#723) - cohttp-lwt: partly inline read_response, fix body stream leak (@madroach @dinosaure mirage/ocaml-cohttp#696) - improve media type parsing (@seliopou mirage/ocaml-cohttp#542, @dinosaure mirage/ocaml-cohttp#725) - add comparison functions for Request.t and Response.t via ppx_compare (@msaffer-js @dinosaure mirage/ocaml-cohttp#686) - [reverted] breaking changes to client and server API to use conduit 3.0.0 (@dinosaure mirage/ocaml-cohttp#692). However, as the design discussion did not reach consensus, these changes were reverted to preserve better compatibility with existing cohttp users. (mirage/ocaml-cohttp#741, @samoht)
Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
530f075 to
5e3e7e6
Compare
|
Rebased to do the tests with the new relaxed constraints |
|
For #18385 (comment), I see it's running the tests there for comby |
Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
The new requests contain a scheme record field Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
5e3e7e6 to
25295eb
Compare
|
It looks good now. Only |
|
PS: I tested this on macos, but I don't have a BSD system to run the tests on |
|
Tested on FreeBSD. Thanks! |
ocaml-cohttp -- an OCaml library for HTTP clients and servers
Cohttp is an OCaml library for creating HTTP daemons. It has a portable HTTP parser, and implementations using various asynchronous programming libraries:
You can implement other targets using the parser very easily. Look at the IO signature in lib/s.mli and implement that in the desired backend.
CHANGES:
3.0.0 (@dinosaure Conduit 3.0.0 mirage/ocaml-cohttp#692). However, as the design discussion did not reach
consensus, these changes were reverted to preserve better compatibility with
existing cohttp users. (Revert conduit 3 changes mirage/ocaml-cohttp#741, @samoht)