Thicket thicket
ocaml
REPOS 1

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

W48.2025 · 24–30 Novocaml/dune

Features

Dune Rocq build language: New (lang rocq) build mode for the Rocq Prover, merged 2025-11-25. (lang coq) is deprecated and targeted for removal in Dune 3.24. #12035, #12793

Dune promotion show: New dune promotion show subcommand prints corrected file contents for failed diff rules without modifying sources. Merged 2025-11-26. #12669

Dune runtest for tests: Open PR extends dune runtest to accept sources from (tests) stanzas, addressing long-standing request #870. #12785

Fixes

Dune version parsing: Fixes an internal crash when dune-project contains a non-ASCII version string such as (lang dune è). Now emits a proper error with a hint showing the latest supported version. Merged 2025-11-28. #12794

Dune substitute action: Open PR stops the substitute action from observing the full environment, preventing spurious rebuilds of packages like ocaml-config after unrelated variable changes. #12825

Compatibility and Releases

Dune 3.21 warning set: Breaking change: with (lang dune 3.21), Dune no longer overrides the compiler warning set. Add %{dune-warnings} to (flags) to restore the previous defaults. Merged 2025-11-26. #12766

Dune promoted files: Reverts the change making promoted files read-only by default, which broke packaging and deployment workflows. The behaviour will return behind a feature gate after the 3.21 release. Merged 2025-11-28. #12808

Dune dev-tool lock dirs: Dev-tool lock directories move from dev-tools.locks/ to _build/.dev-tools.locks/, keeping them out of the worktree by default. Merged 2025-11-25. #12671