Thicket thicket
ocaml
REPOS 1

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

W31.2026 · 27 Jul – 2 Augocaml/dune

Features

  • dune shell TARGET opens an interactive shell at a prepared rule action boundary, exposing the expanded action, environment, and sandbox for debugging. Open PR by Alizter. #15597

  • (instrumentation (backend XXX) (libraries ...)) adds conditional library dependencies active only when the instrumentation backend is enabled. Gated on Dune language 3.25. Open PR by nojb. #15622

  • @pkg-source alias fetches all locked package sources without building them, enabling offline builds after a network-enabled fetch phase. Open PR by Alizter. #15629

  • dune describe external-lib-deps --include-empty now lists libraries with no dependencies, making the output self-contained for tooling consumers. Merged by NatKarmios. #15585

Fixes

  • RPC registry polling now rescans the directory when its mtime changes, fixing a race where clients (e.g. ocaml-lsp) never discovered a newly registered Dune instance. Merged by rgrinberg. #15634

  • Anonymous actions attached to multiple aliases no longer create inter-alias dependencies; each alias now triggers only its own actions. Merged by NatKarmios. #15581

  • dune build with a menhir stanza fails with Unbound module Stdlib when the relocatable compiler is selected by dune pkg lock. Open regression report against 3.24. #15642

Compatibility and Releases

  • dune pkg enabled now queries a running Dune RPC server, observing transient --pkg enabled/--pkg disabled settings without acquiring the build lock. Merged by Alizter. #15589