Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W34.2026 · 17–23 AugTools

Releases

Fixes

  • Watch mode on macOS no longer stops rebuilding after fsevents queue overflow or crashes on EPERM from cancelled builds. Merged in #16068, #16059.
  • Merlin receives CMT annotation paths for private library modules, restoring locate for (private_modules ...). Merged in #15977.
  • opam init --reinit regenerates the switch list and repairs corrupted switch config/cache files. In 2.6.0~beta1 via #7068.
  • Git gc.autoDetach and maintenance jobs disabled on opam-managed repos, preventing lstat failures on maintenance.lock. In 2.6.0~beta1 via #7073.
  • Merlin destruct now works on patterns inside let-bindings. Merged in #2117.
  • opam install --deps-only . no longer recursively scans the entire project tree for extra-files. Open in #7101.

Features

  • dune ocaml inferred-mli MODULE generates an interface using the module's actual build configuration. Stale interfaces apply via dune promote. Merged in #16111.
  • Sandboxed actions on Linux are confined with Landlock directory-FD policies (Dune 3.25). Disable with DUNE_CONFIG__LANDLOCK=disabled. Merged in #15858.
  • dune describe workspace reports each module's origin: source, rule-generated, ocamllex, ocamlyacc, menhir, or wrapper. Merged in #15478.
  • opam env emits JSON for Nushell load-env; shell-config integration added. Open in #6873.
  • ocaml-lsp: textDocument/onTypeFormatting for OCaml and ocamllex via optional ocp-indent-rpc helper. Missing helper degrades to no edits. Open in #1986.