Thicket thicket
ocaml
REPOS 1

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

W45.2026 · 2–8 Novocaml/dune

Features

  • foreign_stubs and foreign_library accept (language asm), recognising .s/.S/.asm sources and passing them to the platform assembler. Closes #3342. (#16849, merged)

  • dune clean PATH now accepts source directories and the project root, removing the corresponding _build/<context>/<path> artifacts. Previously only build-directory paths were valid. Closes #2288. (#15305, merged)

  • New DUNE_CONFIG__ACTIONS_NICE setting (0–19, default none) controls niceness of spawned Unix build actions. A follow-up PR sets the default to +5, favouring Dune's coordinator over child processes for CPU. (#16957, #16963, merged)

Compatibility and Releases

  • 3.25.0~alpha1 released 2026-11-03. Notable breaking changes: actions no longer see _build/install/<context>/{bin,lib,lib/stublibs} on PATH/OCAMLPATH unless they declare (deps (package …)); generated files are read-only regardless of language version; : is rejected in context names. (release)

Fixes

  • Merlin configurations now include the hidden CMI directory (BH) for libraries with private_modules, restoring typing, completion, and navigation for public aliases of private modules. Closes #16531. (#16629, merged)

  • dune cache clear and dune cache trim now recognise and remove pre-3.22 legacy cache files under $DUNE_CACHE_ROOT. Closes #15060. (#16899, merged)

  • RPC build clients now receive the actual memo error message and stack trace instead of crashing with a generic exception. (#16878, #16879, merged)

  • Dune's own GC now sets small_heap_limit to 16 777 216 work units on OCaml 5.5+, delaying major marking. Measured ~9% reduction in no-op build wall time on AArch64. (#16913, merged)