Lwt 5.4.0, Lwt_ppx 2.0.2, Lwt_react 1.1.4
Installability
-
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).