Thicket thicket
ocaml
REPOS 9

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

W22.2026 · 25–31 Mayocaml/dune

Features

Dune 3.24.0~alpha0: Released 2026-05-28. Adds the %{pkg:<package>:<section>:<path>} pform, enables the relocatable compiler by default for package management, and promotes directory targets from experimental to GA. Release notes

Dune shell completion: Open PR adds bash, zsh, and PowerShell subcommand and flag completion via the updated cmdliner 2.1.1. Target completion is not yet included. #14779

Dune single-context Melange: Merged PRs add melange.ppx_runtime_libraries for ppx rewriters needing different native and Melange runtime libraries, and implement installation for single-context universal libraries. #14796, #14800

Dune anonymous actions: Merged PRs replace file-based intermediates for pkg-config queries, mdx dependency queries, and inline-test partition listing with anonymous stdout actions, reducing build artifacts. #14782, #14787, #14788

Fixes

Dune module artifact targets: Fixes a crash when building %{cmi:...}, %{cmo:...}, or similar pform targets under (include_subdirs qualified) with duplicate leaf module names. #14498, fixes #14496

Dune cross-compilation: Fixes a regression where the target context inherited the host environment instead of the target environment, causing dune-configurator to select the wrong C compiler. #14817

Compatibility and Releases

Dune 3.24.0 %{bin:NAME}: Now resolves to the build artifact path rather than the install staging path. Rules with %{bin:NAME} deps get a per-rule .binaries directory prepended to PATH. Release notes

Dune 3.24.0 (lang coq) removal: The deprecated Coq Build Language is removed; projects must use (using rocq <version>). Profile names are now validated (non-empty, letters, digits, _, - only). Release notes