Thicket thicket
ocaml
REPOS 27

W19.2026 · 4–10 MayAll

Dune 3.23.0 releases with user rules sandboxed by default and compile_commands.json generation for C/C++ stubs. The merged relocatable compiler is now the default for dune pkg, enabling cross-project build-cache reuse, and on OCaml trunk Unix.opendir on Windows raises ENOTDIR for non-directory paths, a breaking change.

Features

  • Dune (relocatable compiler): Merged; the relocatable OCaml compiler is now the default for dune pkg, enabling build-cache reuse across projects. #14357
  • Dune (dependency filtering): Open PR narrows compile-rule dependencies to only referenced libraries, eliminating over-rebuilds when unreferenced sibling libraries change. #14472
  • OxCaml (SSA IR): Open PR introduces an SSA intermediate representation between Cmm and CFG, enabled via -use-ssa, with a reducer framework for SSA-to-SSA transforms. #5810
  • OxCaml (ikinds): Open PR enables ikinds by default, replacing the -ikinds flag with -no-ikinds. #5999
  • opam update: Now applies repository diffs containing file-to-directory or directory-to-file renames, resolving the patch failure in #3830. #6915

Compatibility and Releases

  • Dune 3.23.0: Released with user rules sandboxed by default, compile_commands.json generation for C/C++ stubs, and no auto-promotion of .opam files. Release
  • opam-repository: Packages requiring OCaml < 4.11 are archived; the supported compiler list is now 4.11+ and 5.3+. #29848
  • Mirage 4.11.0: Breaking: --dhcp becomes --no-dhcp; DNS and happy-eyeballs boot arguments switch from underscores to hyphens; Mirage_runtime.register removed. #29870

Fixes

  • OCaml trunk: Unix.opendir on Windows now raises ENOTDIR instead of EUNKNOWNERR -267 for non-directory paths. Breaking change. #14788
  • OCaml 5.5: Fixes null-pointer dereference in getgrnam_r and related POSIX thread-safe functions in libunix. Cherry-picked from trunk. #14715
  • Odoc 3.2.0: Fixes an assertion failure when building docs for merlin-lib and a Not_found crash with OCaml 5.5 caused by untracked identifiers in Arrow_functor expressions. #1430, #1427
  • js_of_ocaml: Merged fixes correct variable coalescing for break instructions, ensure wasm:js-string imports resolve without the JS String Builtins proposal, and remove Node.js 26-rejected experimental flags. #2233, #2230, #2234