- Values of types
'a Lwt.tare now referred to as promises rather than threads (#300). The manual has not yet been updated.
- After this release, Lwt will switch to semantic versioning. Future breaking changes will first require deprecation, then a major version number increase (#293).
- Lwt no longer supports OCaml 4.01 (#272).
Lwt_unix.fdatasyncis no longer available on macOS. It was calling an undocumented system call on that system (#285, Jeremy Yallop).
Planned to break in 3.0.0
- APIs in this category have deprecation messages attached. The messages will be displayed if you recompile your code, and can also be seen in #308.
Lwt_engine.libevwill have an argument for selecting the libev back end (#269, #294, Jeremy Yallop).
Lwt_io.establish_serverwill be replaced by a version that makes it difficult to leak file descriptors (#258, #260).
Lwt_io.shutdown_serverwill evaluate to a promise, which indicates when the close operation completes (#259).
Lwt_unix.bindwill evaluate to a promise, since
bindcan block for Unix domain sockets (#296, requested David Sheets).
lwt.glibwill be replaced by the new
lwt_glib. These are now distributed in new OPAM packages with the same names, separately from OPAM package
Lwt_unix.writev– zero-copy scatter/gather I/O (#291, #299).
Lwt_log.load_rules(#306, Daniil Baturin).
Lwt_log.level_of_string(#306, Daniil Baturin).
Lwt_stream.of_stringnow immediately push all elements into the created streams (#239, Spiros Eliopoulos).
- Ungraceful failure if directory handle used after
- Buffer overflow in
- Unnecessary allocations in
Lwt_unix.readdir_n(#292, found Jeremly Yallop).
- Annotate existing deprecations with
- Improvements to the examples (#288, Rich Neswold).
- Documentation fixes, including by Rich Neswold.
- New tests and various minor internal improvements.
- Run tests in CI with all OCaml warnings enabled (dadb926).
- Much cleaner build output.
scratch/directory for local use by developers.