Thicket thicket
ocaml
REPOS 9

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

W03.2026 · 12–18 Janocaml/dune

Features

Dune 3.21.0: released 2026-01-12. Adds coq.theory mode, dune promotion show, unused-libs alias, cram (conflict_markers error), %{cmt:...} variables, and dune describe tests. Release notes

Dune --target-exec: merged 2026-01-13, post-3.21.0. Enables running target binaries through a host wrapper during cross-compilation, e.g. dune build -x windows --target-exec windows=wine. #13112

Dune action tracing: merged 2026-01-12 and 2026-01-18. External actions can emit structured events via the dune_action_trace library; inspect with dune trace cat. #13267, #13348

Dune scope stanza: proposed 2026-01-16, under review. Controls which libraries from a vendored subdirectory are visible, enabling selective package exposure without renaming. #13337

Dune git lock reproducibility: proposed 2026-01-12, under review. dune pkg lock will record the resolved commit hash in the lock file for git-sourced packages. #13297

Fixes

Dune virtual module crash: fixed 2026-01-17. Resolves the internal error when a public library uses virtual_modules together with public_names. #13345

Dune melange cmi collision: fixed 2026-01-18. Melange now uses a separate private cmi directory, preventing install failures for dual-mode libraries with private modules. #13350

Compatibility and Releases

Dune OxCaml compatibility: fixed 2026-01-17. Adds eta-expansions to work around OxCaml's value-restriction change for partial applications with local parameters. #13342