Releases
- Dune 3.22.0~alpha0: Released with a new trace system (
dune trace cat), default sandboxing of tests and Melange rules,dune runtestfor individual test files, and@doc-markdownfor odoc output. The build cache path moves to$DUNE_CACHE_ROOT/db(breaking). Release notes
Features
-
Dune ppx (proposal): Open PR computes the transitive closure of ppx dependencies before collecting cookies, so cookies survive nested rewriter composition. Fixes a bug reported in 2020. #13737
-
Dune trace (proposal): Open PR resolves the default trace file path relative to the build directory root instead of the initial working directory. Marked as blocking the 3.22 release. #13735
Fixes
-
Dune cache (Windows): Merged fix enables hard links on NTFS/ReFS and clears read-only attributes before rename during deduplication. Without this, the shared cache was effectively non-functional on Windows. #13713, #13714
-
Dune memo library: Post-release fix checks for self-dependency cycles before blocking on an ivar, resolving a deadlock that caused infinite hangs. Fixes a bug dating to 2022. #13710
-
Dune pkg (OpenBSD): Merged fix detects the
tarimplementation and passes explicit-z/-jflags when auto-detection is unavailable. Resolves package installation failures on OpenBSD. #13688 -
Dune pkg (rev_store): Merged change restricts git negotiation to only the tips relevant to the target remote, reducing network traffic and download time. #13698
-
Dune pkg (depexts): Merged fix makes portable lock directories filter out depexts containing unknown variables, matching non-portable and OPAM behaviour. #13729