Thicket thicket
ocaml
REPOS 1

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

W19.2026 · 4–10 Mayocaml/dune

Features

%{bin:...} resolution: Open PR changes %{bin:NAME} to resolve to the build artifact path rather than the install staging area. Not gated by lang version, making it a breaking change for actions using the pform as a string value. #14432

Per-module dependency filtering: Open PR narrows compile-rule deps to only libraries a module actually references, eliminating over-rebuilds when unreferenced sibling libraries change. Addresses long-standing issue #4572 on incremental build times. #14472

Relocatable compiler: Merged; makes the relocatable OCaml compiler the default for dune pkg, enabling build-cache reuse of the compiler across projects and builds. #14357

Single solve for portable lockdirs: Open PR replaces per-platform solves with a single SAT solve, enabling consistent package versions across platforms in dune pkg lock. #14458

Fixes

Menhir opam injection: Merged; restricts the >= "20180523" lower-bound to packages that already declare (depends menhir), fixing spurious deps added to all packages in 3.23.0. Backported to 3.23.1. #14434

Opam version gate: Merged; gates dune-bound deduplication in generated opam files on (lang dune 3.23), reverting the unversioned change that altered output for projects at earlier lang versions. #14466

Compatibility and Releases

Dune 3.23.0: Released with user rules sandboxed by default, compile_commands.json generation for C/C++ stubs (editor integration), no auto-promotion of opam files, and support for multiple (dirs ..) stanzas under (lang dune 3.23). Release

Dune 3.23.1: In progress; backports the menhir and opam-generation regressions from 3.23.0. Release branch open with fixes merged. #14441