Thicket thicket
ocaml
REPOS 9

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

W47.2025 · 17–23 Novocaml/dune

Features

Dune parameterized libraries: Merged support for instantiating parameterized libraries in (libraries ...) dependencies, requiring the OxCaml compiler. The syntax (mylib arg1 arg2 :as newname) binds a parameterized library to concrete implementations. #12561

Dune promotion show: Open PR adding dune promotion show, which prints corrected file contents for failed diff rules without modifying sources. Addresses a long-standing request for inspecting promotions before accepting them. #12669

Dune warning defaults: Open PR that stops Dune from overriding the compiler's default warning set starting at dune lang 3.21. A new %{dune-warnings} variable provides the previous Dune-specific set for opt-in use. #12766

Dune concurrent builds: Closed proposal to remove the global build mutex so RPC requests (e.g. from an LSP) execute without waiting for a watch-mode build. Not merged; the team judged the current state insufficient for standalone value. #12730

Fixes

Dune pkg build time: Merged memoization of lock-directory reads, reducing dune build time by roughly 28% on a large project (4.8 s → 3.5 s in the reported benchmark). #12758

Dune pkg unzip error: Merged a clearer error when unzip is absent and bsdtar/tar cannot extract a ZIP archive, naming the missing tool explicitly. #12683

Compatibility and Releases

Dune 3.21 release: The release tracker lists feature-gating readonly permissions on promoted files as a blocker; the change is a breaking change that must be gated behind a dune lang version. #12746

Dune dev-tool lock dirs: Open PR moving dev-tool lock directories from the source tree into a hidden _build subdirectory, eliminating the need to commit or ignore them in git. #12671