Skip to content

Releases: mirage/ocaml-cohttp

6.0.0

21 Nov 21:11
716d6e6
Compare
Choose a tag to compare

CHANGES:

  • bump minimum dune version to 3.8 (@avsm)
  • cohttp-eio: Use system authenticator in example.
  • http, cohttp: remove the scheme field from requests. This means that
    [Request.uri] no longer returns the same URI as was to create the request
    with [Request.make] (@rgrinberg 1086)
  • cohttp-eio: Remove unused Client_intf module (talex5 #1081)
  • cohttp-eio: Make server response type abstract and allow streaming in cohttp-eio (talex5 #1024)
  • cohttp-{lwt,eio}: server: add connection header to response if not present (ushitora-anqou #1025)
  • cohttp-curl: Curl no longer prepends the first HTTP request header to the output. (jonahbeckford #1030, #987)
  • cohttp-eio: client: use permissive argument type for make_generic
  • cohttp-eio: Improve error handling in example server (talex5 #1023)
  • cohttp-eio: Don't blow up Server.callback on client disconnections. (mefyl #1015)
  • http: Fix assertion in Source.to_string_trim when pos <> 0 (mefyl #1017)
  • cohttp: Cohttp.Request.make_for_client no longer allows setting both
    ~chunked:true and ~body_length.
  • cohttp-lwt-unix: Don't blow up when certificates are not available and no-network requests are made. (akuhlens #1027)
    • Makes cohttp-lwt.S.default_ctx lazy.

6.0.0~beta2

05 Jan 12:51
Compare
Choose a tag to compare
6.0.0~beta2 Pre-release
Pre-release

CHANGES:

  • cohttp-eio: Don't blow up Server on client disconnections. (mefyl #1011)
  • cohttp-eio: Match body encoding with headers. (mefyl #1012)
  • cohttp-lwt: Preserve extended Server.S.IO signature. (mefyl #1013)

5.3.1

13 Dec 14:01
Compare
Choose a tag to compare

v5.3.1 (2023-12-13)

  • cohttp: case-insensitive check of set-cookies (chomosuke, #1008)

6.0.0~beta1 (2023-10-27)

27 Oct 12:46
e5a66f1
Compare
Choose a tag to compare

CHANGES:

  • cohttp-eio: Complete rewrite to follow common interfaces and behaviors. (mefyl #984)
  • cohttp-eio: Add Client.make_generic and HTTPS support. (talex5 #1002)

6.0.0~alpha2

08 Aug 16:25
Compare
Choose a tag to compare

CHANGES:

  • cohttp-lwt: Do not leak exceptions to Lwt.async_exception_hook. (mefyl #992, #995)
  • http.header, cohttp, cohttp-eio: remove "first" and "move_to_first" and the special treatment of the "host" header (mseri #988, #986)
  • http.header: introduce "iter_ord" to guarantee iteration following the order of the entries in the headers (mseri #986)
  • do not omit mandatory null Content-Length headers (mefyl #985)
  • cohttp-async, cohttp-curl-async: compatibility with core/async v0.16.0 (mseri, dkalinichenko-js #976)
  • cohttp-lwt server: call conn_closed before drainig the body of response on error (pirbo #982)
  • cohttp-eio: Relax socket interface requirement on Server.connection_handler. (mefyl #983)

5.3.0

21 Jul 15:08
Compare
Choose a tag to compare

CHANGES:

  • cohttp-async: support for base/async v0.16

4.1.2

21 Jul 11:34
Compare
Choose a tag to compare

CHANGES:

  • cohttp-lwt-unix: backport compatibility with cmdliner >= 1.1

5.2.0

07 Jul 14:35
Compare
Choose a tag to compare

CHANGES:

  • cohttp-lwt server: call conn_closed before drainig the body of response on error (pirbo)

v2.5.8: compatiblity with async v0.16

06 Jun 20:35
Compare
Choose a tag to compare

6.0.0~alpha1

28 Apr 20:23
Compare
Choose a tag to compare

CHANGES:

  • cohttp,cohttp-async server: correctly close broken streams (reported by Stéphane Glondu, fix by samhot and anuragsoni)
  • cohttp-eio: remove unused code from tests to work with Eio 0.8 (talex5 #967)
  • Upgrade dune to v3.0 (bikallem #947)
  • cohttp-eio: allow client to optionally configure request pipelining (bikallem #949)
  • cohttp-eio: update to Eio 0.7 (talex5 #952)
  • cohttp-eio: update examples to use eio 0.7 primitives (bikallem #957)
  • cohttp-eio: generate Date header in responses (bikallem #955)
  • cohttp-eio: further improve Cohttp_eio.Client ergonomics (bikallem #?)
  • cohttp-eio: server api improvements (bikallem #962)