Thicket thicket
ocaml
REPOS 27

May 2026

Monthly story not yet available.

W22.2026 · 25–31 MayAll

Dune 3.24.0~alpha0 removes the deprecated (lang coq) stanza in favour of (using rocq <version>) and adds the %{pkg:<package>:<section>:<path>} pform. js_of_ocaml 6.4 breaks callers by retyping nullable DOM properties to opt, requiring Js.Opt unwrapping.

Features

OCaml language (proposal): Eta-expands argument-less constructor expressions in function-type contexts, enabling List.map Some [1;2;3] without new syntax. Restricted to unary constructors in the current draft. #14803

js_of_ocaml 6.4: Merged Promise and Fetch API bindings including AbortController, Lwt interop, and Promise-typed mediaElement.play. Closes #596 and #2031. #2239

Eio eio_linux: Merged IORING_SETUP_DEFER_TASKRUN and IORING_SETUP_SINGLE_ISSUER flags, deferring task completion to io_uring_enter calls. Reports ~30% HTTP throughput gain. #842, #841

Compatibility and Releases

Dune 3.24.0~alpha0: Released 2026-05-28. %{bin:NAME} now resolves to the build artifact path; the deprecated (lang coq) is removed in favour of (using rocq <version>). Adds the %{pkg:<package>:<section>:<path>} pform and promotes directory targets to GA. Release notes

js_of_ocaml 6.4: Merged breaking retyping of nullable DOM properties (dataTransfer, files, anchorNode, contentWindow, labels) to opt; callers must unwrap with Js.Opt. #2248

ocaml-uring v2.14.0: Released 2026-05-26. Adds Uring.Res module for file-descriptor results (breaking), send_zc/sendmsg_zc zero-copy operations, and updates to liburing 2.14. Release

OCaml 5.5.0~beta1: Beta compiler release page added to ocaml.org, copied from the discuss.ocaml.org announcement. #3641

Fixes

OCaml runtime, major GC: Merged fix for ephemeron orphaning during Phase_sweep_ephe, preventing dangling pointers when a domain terminates mid-cycle. Also clarifies num_domains_{todo,done} counter semantics. #14734, #14733

OCaml Unix library, Win32: Merged fix for socket_poll_add so Unix.select no longer raises "original file handle not found" or returns wrong descriptors when a socket appears in multiple fd lists. #14764

Dune cross-compilation: Merged fix for a regression where the target context inherited the host environment, causing dune-configurator to select the wrong C compiler. #14817

js_of_ocaml compiler: Merged a flat dispatch loop for match expressions exceeding 10 shared continuations, eliminating stack overflows in Firefox/SpiderMonkey. Tunable via --set merge_node_max=N. #2254

Eio eio_posix: Merged fix passing MSG_CMSG_CLOEXEC when receiving file descriptors over sockets, preventing fd leaks. Conditional on platform support; absent on macOS. #843