Features
-
v1.4 released (release). Adds
Eio_unix.Pty,Eio.Net.Sockopt,Path.with_dir_entries,Flow.null,Path.chmod/chown,spawn_unix ?uid ?gid ?pgid,Stdenv.override, andEio_unix.Err. -
Eio_unix.Ptyprovides pseudoterminal creation and configuration;spawn_unix ?login_ttyconnects a pty to a child process. (#531) -
Path.with_dir_entriesreads a directory incrementally and reports each entry's type, avoiding onestatper entry. (#821, #897)
Compatibility and Releases
-
eio_linux now requires Linux 5.18 or later;
Eio_main.runfalls back to eio_posix on older kernels. (v1.4) -
Breaking:
Net.getaddrinforaises an exception on lookup failure instead of returning[]; error messages now include the queried name. (#900, #866) -
Function applications eta-expanded to support OxCaml compilation, where local inference requires explicit arity. No effect on standard OCaml. (#898)
Fixes
-
eio_posix on macOS: FDs where
poll()returnsPOLLNVAL(e.g./dev/null,/dev/tty) now fall back toselect()in a systhread. Fixes a crash inEio.Flow.copy_stringto/dev/null. (#893, #757) -
eio_linux
getdentsno longer returns an empty batch when only./..entries are present, preventing premature end-of-directory on FUSE filesystems. (#897)