Releases: ocsigen/lwt
Releases · ocsigen/lwt
Lwt 2.4.0
- Reimplement
Lwt_stream
:- Much simpler and more efficient.
- Do not use
Weak
. - Add bounded push streams.
- Add
Lwt.async
. - Add
Lwt_preemptive.run_in_main
. - Implement
Lwt_unix.get_credentials
on MacOS X/OpenBSD. - Ensure that
on_cancel
functions are executed first. - Better implementation of
Lwt.cancel
with more tests. - Simplify the API for Unix jobs.
- Better handling of the master lock in libev stubs.
- Windows fixes/updates:
- Pass
-lws2_32
instead ofws2_32.lib
if building with MinGW. - Fix a bug causing
Lwt_unix.read
/write
to block when a socket is not readable/writable. - Port
Lwt_process
andLwt_unix.system
to Windows.
- Pass
- Compatibility with OCaml 4.00:
- Add
O_SHARE_DELETE
toLwt_unix.open_flag
. - Add
-package compiler-libs.toplevel
for files usingToploop
.
- Add
- Do not use module
Sys
for signal handling to avoid OCaml code to be called in a C thread. - Fix
Lwt_unix.wrap_syscall
:try
instead ofLwt.catch
. - Fix a dead-lock between
Lwt_unix_send_notification
andLwt_unix_recv_notifications
. - Fix #277: add a function to return the
Ssl.socket
of aLwt_ssl.socket
. - Fix problems with C libraries detection/linking.
Lwt 2.3.2
- Add location informations in logs:
- Allow loggers to get the current location through local storage.
- Pass current location to logging functions.
- Pass the current location with the syntax extension.
- Add
Lwt.on_termination
. - Add
Lwt_unix.reinstall_signal_handler
. - Add
Lwt_io.flush_all
. - Add
assert_lwt
keyword to the syntax extension. - Add
Lwt.wrap
. - Add
Lwt_glib.iter
andLwt_glib.wakeup
. - OCaml 3.13 ready.
- Allow to compile without libev support.
- Fix bugs in
Lwt_io
. - Better handling of forks.
- Fix many problems on Windows.