Tools covers builds, package management, editors, documentation and JavaScript compilation.
W34.2025 · 18–24 Aug/Tools
Features
Dune 3.20.0:(test) stanzas generate per-test aliases; run one test with dune build @runtest-a. Inline test libraries produce runtest-name_of_lib aliases. (release)
Dune 3.20.0: Adds %{os}, %{os_version}, %{os_distribution}, and %{os_family} percent forms. dune exec can run concurrently with a watch-mode instance. (release)
Dune 3.20.0: Switches target and rule digesting from MD5 to BLAKE3, improving build performance. (release)
opam (merged): Shared archive sources are fetched once per run without per-package checksums, reducing repeated downloads during multi-package installs. Closes #5638. (#6627)
js_of_ocaml WASM (merged): Closure optimization omits the code pointer from closure objects when unused, reducing allocated memory and enabling further Binaryen passes. (#2059)
Merlin (open): PR #1951 adds a locate-type-multi query returning a tree of identifier locations for compound types, extending VSCode "Go to Type Definition" beyond single Tconstr targets.
opam (merged): Replaces getconf and shell utilities with a C binding to query the core count, removing a portability dependency. (#6634)
Dune 3.20.0:dune runtest regression: relative paths from a subdirectory resolve against the project root instead of the current working directory. (#12250)
Dune 3.20.0:runtest_alias regression: custom aliases such as runtest-js execute tests in all modes rather than only the specified mode. (#12243)
Compatibility and Releases
Dune 3.20.1: Release tracker opened to collect backports for the runtest and runtest_alias regressions above. (#12247)
opam API (open): Replaces all polymorphic List.mem calls with a variant that avoids Repr.equal, per #9928. May affect library consumers relying on the old comparison semantics. (#6644)