Thicket thicket
ocaml
REPOS 27

W34.2025 · 18–24 AugAll

Dune 3.20.0 releases per-test aliases (dune build @runtest-a), new %{os} percent forms, and BLAKE3-based digesting, while dune exec now runs concurrently with a watch-mode instance. Separately, a merged opam change fetches shared archive sources once per multi-package install rather than per package.

Features

  • Dune 3.20.0: (test) stanzas generate per-test aliases; run one test with dune build @runtest-a. Adds %{os}, %{os_version}, %{os_distribution}, %{os_family} percent forms. (release)
  • Dune 3.20.0: Switches target and rule digesting from MD5 to BLAKE3. dune exec runs concurrently with a watch-mode instance; dune promote works while the watch server is active. (release)
  • OxCaml: Merged shrink wrapping moves the function prologue as late as possible in the CFG, reducing emitted epilogues. Enabled via -cfg-prologue-shrink-wrap. #4544
  • OxCaml: Merged redefinition of 'a Atomic.t as a record with a single mutable atomic field, enabling [%atomic.loc t.contents]. #4551
  • opam: Merged change fetches shared archive sources once per run without per-package checksums, reducing repeated downloads during multi-package installs. Closes #5638. (#6627)
  • Eio: Merged process-group support (setpgid) in Unix backends places child processes in distinct groups. The public Eio.Process API is still undecided. #802
  • js_of_ocaml (WASM): Merged closure optimization omits the code pointer from closure objects when unused, reducing allocated memory. #2059

Fixes

  • OCaml ocamlprof: No longer instruments unreachable match clauses, fixing a syntax error with empty variant types. Merged and cherry-picked to 5.4.0. #14197
  • Dune 3.20.0: dune runtest regression: relative paths from a subdirectory resolve against the project root. runtest_alias regression: custom aliases execute tests in all modes. (#12250), (#12243)
  • OxCaml runtime GC: Merged change replaces the unconditional minor GC before large array writes with a heuristic: GC only if writes exceed 10% of the remembered set. #4537
  • opam: Merged replacement of getconf and shell utilities with a C binding to query the core count, removing a portability dependency. (#6634)

Compatibility and Releases

  • Dune 3.20.1: Release tracker opened to collect backports for the runtest and runtest_alias regressions. (#12247)