You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ocamlfind packages lwt.react, lwt.ssl, and lwt.glib will be replaced by the new lwt_react, lwt_ssl, and lwt_glib. These are are distributed in new OPAM packages with the same names, separately from OPAM package lwt (Begin factoring out Lwt_ssl, Lwt_glib, Lwt_react #301).
Draft changelog
General
'a Lwt.t
are now referred to as promises rather than threads (Refer to 'a Lwt.t as promises rather than threads (proposal) #300). The manual has not yet been updated.Breaking
Lwt_unix.fdatasync
is no longer available on macOS. It was calling an undocumented system call on that system (no fdatasync prototype on OS X #285, Jeremy Yallop).Planned to break in 3.0.0
Lwt_engine.libev
will have an argument for selecting the libev back end (Add support for selecting the libev backend #269, Add support for selecting the libev backend (more gently) #294, Jeremy Yallop).Lwt_io.establish_server
will be replaced by a version that makes it difficult to leak file descriptors (Safer alternative to Lwt_io.establish_server #258, Replace establish_server by establish_server_safe #260).Lwt_io.shutdown_server
will evaluate to a promise, which indicates when the close operation completes (Lwt_io.shutdown_server should evaluate to a thread #259).Lwt_unix.bind
will evaluate to a promise, sincebind
can block for Unix domain sockets (Cooperative Lwt_unix.bind (sockets) #296, requested David Sheets).ocamlfind
packageslwt.react
,lwt.ssl
, andlwt.glib
will be replaced by the newlwt_react
,lwt_ssl
, andlwt_glib
. These are are distributed in new OPAM packages with the same names, separately from OPAM packagelwt
(Begin factoring out Lwt_ssl, Lwt_glib, Lwt_react #301).Additions
Lwt_unix.readv
andLwt_unix.writev
– zero-copy scatter/gather I/O (writev – zero-copy gather output #291, readv – zero-copy scatter input #299).?fail_on_error
argument forLwt_log.load_rules
(Add ?fail_on_error argument to Lwt_log_core.load_rules, also expose new level_of_string function in the interface #306, Daniil Baturin).Lwt_log.level_of_string
(Add ?fail_on_error argument to Lwt_log_core.load_rules, also expose new level_of_string function in the interface #306, Daniil Baturin).Changes
Lwt_stream.of_list
,Lwt_stream.of_array
,Lwt_stream.of_string
now immediately push all elements into the created streams (change close semantics for fixed-length sources #239, Spiros Eliopoulos).Deprecations
Lwt_stream.map_exn
in favor ofLwt_stream.wrap_exn
, which uses OCaml's standardresult
type (Deprecate Lwt_stream.result #295).Bugs fixed
Lwt_unix.closedir
(Some improvements to readdir, readdir_n #292).Lwt_unix.readdir
andLwt_unix.readdir_n
(Some improvements to readdir, readdir_n #292).Lwt_unix.readdir_n
(Some improvements to readdir, readdir_n #292, found Jeremly Yallop).Miscellaneous
[@@ocaml.deprecated ...]
(5737f5b).scratch/
directory for local use by developers.The text was updated successfully, but these errors were encountered: