5.4.0
版本发布时间: 2020-12-18 22:48:39
ocsigen/lwt最新发布版本:5.7.0(2023-08-23 15:03:39)
Installability
-
Support for OCaml 4.12 (#804, #826, Kate Deplaix).
-
lwt_ppx
now usesppxlib
. This introduce a transitive dependency to OCaml.4.04 (#807, Philippe Veber).
Bugfixes
-
Catch exceptions in
Lwt_react.of_stream
(#809, Petter A. Urkedal). -
Avoid segfaults in
Lwt_unix.tcsetattr
(#798, Frédéric Fortier).
Additions
-
fork
method inLwt_engine
. This method is a noop in the released engines but it paves the way to a libuv-based engine (#811, Ulrik Strid, Anton Bachin). -
Lwt_main.abandon_yielded_and_paused
for use in conjunction withLwt.fork
(#789, Julien Tesson). -
Lwt.wrap_in_cancelable
to completeprotect
andno_cancel
(#785). -
Support for
IOV_MAX
inLwt_unix.IO_vectors.system_limit
(#801, Pino Toscano). -
Lwt_unix.send_msgto
(#805, Antonio Nuno Monteiro). -
Lwt.dont_wait
, a more explicit alternative toLwt.async
(#820, François Thiré).
Miscellaneous
-
Avoid double-reversing when traversing lists. This may change the order in which some promises are collected, which may change which of several rejection is arbitrarily selected during concurrent traversal (#784).
-
Numerous documentation improvements (including external contributions from Bikal Lem, Sudha Parimala, and Hannes Mehnert).