Features
-
Dune parameterized libraries: PR #12561 adds instantiation of parameterized libraries via
(my_lib arg1 arg2 :as new_name)in dependencies. Requires OxCaml; not yet available in upstream OCaml. -
Dune cram
setup_scripts: PR #12650 adds asetup_scriptsfield to thecramstanza, auto-sourcing listed shell scripts in every test in the directory. -
Dune
%{cmt}artifact variables: PR #12634 adds%{cmt}and%{cmti}to artifact variables in custom rules, enabling direct references to type-checking artifacts. -
Dune pkg autolocking: PR #12653 introduces automatic lock-directory generation when
(pkg enabled)is set and no lock source is present, removing the need for explicitdune pkg lock.
Fixes
-
Dune Merlin config loading: PR #12621 fixes incorrect
.merlinfile selection when multiple executables share a directory, resolving wrongobj_dirspassed to the editor. -
Dune portable lockdirs: PR #12641 removes Windows arm64 from the default platform set, reducing solver runs. PR #12654 extends this to all Windows platforms.
-
Dune melange
@allalias: PR #12628 includes Melange.cmjartifacts in the@allalias, fixing missing module compilation for(using melange 1.0)projects.
Compatibility and Releases
- Dune lockdir rename: PR #12648 proposes renaming
dune.lockto.dune-solution-cacheto discourage version control of non-portable lock directories. Awaiting resolution on portable lockdir defaults.