Thicket thicket
ocaml
REPOS 1

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

W40.2025 · 29 Sep – 5 Octocaml/dune

Features

  • Dune (dune tools env): Open. New command prints shell commands to add installed dev tools to PATH, enabling terminal editors to invoke tools like ocamllsp without prefixing every call. #12521
  • Dune (OxCaml parameters): Open. Adds a (parameters ...) field to the library stanza for OxCaml parameterized libraries, requiring the -parameter compiler flag per parameter. #12336
  • Dune (pkg dev tools): Merged. dune-release and opam-publish are now installable via dune tools install, providing a release workflow for dune pkg projects. #12522

Compatibility and Releases

  • Dune (pkg dependency sharing): Open. Stores project and dev-tool build artifacts in a shared directory keyed by a package slug, preventing redundant rebuilds when both depend on the same package version. #12526

Fixes

  • Dune (promoted files): Merged. Files promoted to the source tree via (mode promote) are now set read-only. Dune restores write permission when it needs to overwrite a file. #12519
  • Dune (pkg null builds): Merged. Two changes reduce null-build time for dune pkg projects from roughly 8 s to 1 s by eliminating redundant comparisons and expensive hash computations. #12517, #12518
  • Dune (toolchain cache): Merged. Replaces Digest.generic with a stable hash for toolchain directory names, preventing spurious toolchain directory creation when reusing cached compilers. #12495
  • Dune (include_qualified): Merged. Adds a missing alias dependency to module groups, fixing a build failure when combining include_qualified with subdirectories. #12530