Thicket thicket
ocaml
REPOS 1

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

W26.2026 · 22–28 Junocaml/dune

Features

  • dune completion bash|zsh|powershell now generates shell completion scripts for subcommands and flags. Merged in #14779. Follow-up issues track target, promote, runtest, exec, and fish completions (#126, #15335, #15336, #15334).

  • Timed-out cram tests now display partial output up to the point of failure instead of only an error message. Merged in #15269, closing #12343.

  • Per-module library dependency filtering is under review in #14492. A consumer module's compile rule will see only the artefacts of libraries it references, reducing unnecessary recompilation on incremental builds.

Compatibility and Releases

  • Melange upgraded to v7-54 in the test suite; the earlier cap at < 7.0 (#15322) was lifted once cram expectations were updated. Merged in #15367.

  • dune install --prefix directory-layout behaviour (opam-style man → <prefix>/man, --prefix overriding ./configure) is now documented with an FHS recipe using explicit --mandir/--docdir flags. Merged in #15306, closing #5733.

Fixes

  • dune build --auto-promote (and dune fmt) now exits 0 when all diffs are successfully promoted, removing the need for || true wrappers. Merged in #15284, fixing #785. Non-promotable diffs still exit non-zero.

  • Watch mode now debounces file-watcher events with a short quiet period before starting a rebuild, preventing editor save sequences (delete/create) from triggering spurious "Source files changed" restarts. Merged in #15344, closing #11134.

  • and and or in enabled_if boolean expressions now short-circuit instead of eagerly evaluating both sides. Merged in #15291.

  • Odoc and sherlodoc actions now run under sandboxing with declared hidden dependencies for include directories. Merged in #15190. HTML and JSON doc rules now always run together as a side effect.

  • dune clean will accept source directories (e.g. dune clean foo) in addition to build-directory paths. Open in #15305, fixing #2288.