Dune 3.24.0 is released to opam, introducing a breaking change to (root_module) generation and the %{bin:NAME} substitution syntax. OCaml's deep_occur_rec no longer allocates closures, cutting type-checking time by 20–45 % on large types, and js_of_ocaml 6.4.1 fixes dune 3.24 path-form regressions in the Wasm runtime.
Features
- Dune 3.24.0: root module generation excludes PPX runtime libraries. Breaking change for
(root_module). (#15419) - Dune watch-mode status line now shows build elapsed time and average process parallelism. (#15384, #15390)
- Eio adds
Eio_unix.Ptyfor pty creation and a?login_ttyargument toEio_unix.Process.spawn_unix. (#531) - js_of_ocaml adds bindings for Service Worker, MessageChannel/MessagePort, and Cache API. (#2381)
- OxCaml introduces an experimental SSA IR between Cmm and CFG with automatic dead-code elimination (
-use-ssa). (#5810)
Fixes
- OCaml:
deep_occur_recno longer allocates closures, reducing type-checking time by 20–45 % on large types. (#14900) - Eio:
Eio.Net.getaddrinfonow raisesAddress_lookup_failedon failure instead of returning an empty list. (#866) - Dune: Melange default sandboxing and original source dependency restored, fixing two 3.24.0 regressions in JS builds. (#15418, #15395)
- opam:
opam config substresolves absolute paths correctly instead of prepending$PWD. (#6936)
Compatibility and Releases
- Dune 3.24.0 released to opam.
%{bin:NAME}resolves to build artifact path; deprecated(lang coq)stanza removed. (#30092, #14621) - js_of_ocaml 6.4.1 released, fixing dune 3.24 path-form regressions in the Wasm runtime and test harness. (release notes)
- ocaml-uring v2.15.0 released; adds shutdown, socket, renameat, symlinkat, fallocate, ftruncate, and vectored readv/writev ops. Requires OCaml ≥ 5.2. (v2.15.0)