Features
-
Breaking: Generated files are now always made read-only, removing the pre-2.4 language-version opt-out. Executable bits are preserved; builds behave identically with or without the shared cache. #16388
-
Breaking API:
Dune_rpc_lwt.V1.Action_plugin.runnow returnsunit Lwt.tinstead of driving the event loop or exiting the process. Callers must useLwt_main.runand manage process lifetime. #16404 -
Action plugins now support multiple
dynamic-runinvocations per rule (viaprognorconcurrent) and honorwith-accepted-exit-codes. Each invocation retains its working directory; discovered inputs invalidate the enclosing rule. #16403, #16402 -
New
Action_plugin.build_depsAPI exposes batches of file, directory, and glob dependencies. Plugins can wait for these and use ordinary I/O without reading contents through the plugin API. #16394
Fixes
-
Action-plugin
dynamic-runnow forwardswith-stdout-toto the subprocess, writing output to the requested target instead of Dune's terminal. #16376 -
Action-plugin dependency paths are resolved from the client's current directory rather than its launch directory, fixing reads after a
chdir. #16384 -
Menhir type inference with package management and the relocatable compiler fails with
Unbound module Stdlibon macOS. A fix adding an explicit stdlib dependency and path reclassification is in review. #16374 -
Melange mode now resolves
.cmi,.cmt, and.cmtiagainst the OCaml module set first, falling back to Melange artifacts, fixing regressions in mixed builds. #16339