Thicket thicket
ocaml
REPOS 9

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

W48.2025 · 24–30 NovTools

Features

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

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

ocaml-lsp: falls back to .merlin files when no dune-project is found, removing the need for --fallback-read-dot-merlin. Merged. #1563

opam (open PR): sets XDG_DATA_DIRS and FPATH in opam env output to enable bash and zsh completion from the active switch. #6812

Compatibility

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

Dune: 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

Fixes

Dune: fixes an internal crash when dune-project contains a non-ASCII version string; now emits a proper error with a hint. Merged 2025-11-28. #12794

opam: opam init --config now displays an error for a missing file or VCS URL instead of triggering an assertion failure. Merged 2025-11-25. #5979

opam: reduces GC pressure in version comparison and cache unmarshalling; opam show drops from ~900 ms to ~380 ms on OCaml 5.4. Merged 2025-11-28. #6515

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

odoc: removes obsolete symlinks that prevent building with dune pkg, as Dune package management does not support symlinks. Merged. #1392

Releases

opam 2.5.0: released 2025-11-27 with no significant changes from 2.5.0~beta1. Release notes