Skip to content

Releases: ocsigen/lwt

Lwt 2.4.0

20 May 14:26
Compare
Choose a tag to compare
  • 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 of ws2_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 and Lwt_unix.system to Windows.
  • Compatibility with OCaml 4.00:
    • Add O_SHARE_DELETE to Lwt_unix.open_flag.
    • Add -package compiler-libs.toplevel for files using Toploop.
  • 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 of Lwt.catch.
  • Fix a dead-lock between Lwt_unix_send_notification and Lwt_unix_recv_notifications.
  • Fix #277: add a function to return the Ssl.socket of a Lwt_ssl.socket.
  • Fix problems with C libraries detection/linking.

Lwt 2.3.2

20 May 14:28
Compare
Choose a tag to compare
  • 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 and Lwt_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.