Dune 3.18.0, released 2025-04-03, adds the (format-dune-file <src> <dst>) action, supports not in dune-project dependency constraints, and corrects Merlin flag ordering. OCaml trunk merged List.singleton, Seq.singleton, and new Result helpers, none yet in a stable release.
Features
- OCaml stdlib (trunk):
List.singletonandSeq.singletonadded, returning a single-element list or sequence. Merged 2025-04-05. #13932 - OCaml stdlib (trunk):
Result.get_ok'andResult.error_to_failureadded for converting string-error results to exceptions. Merged 2025-04-04. #13720 - OCaml stdlib (trunk):
Result.productandResult.Syntax(binding operators) added. Merged 2025-03-31. #13696 - Dune 3.18.0: adds the
(format-dune-file <src> <dst>)action, replacing thedune format-dune-filecommand. #11166 - Dune 3.18.0: supports
notin package dependency constraints indune-project. #11404 - OCaml RFC #52: proposes
[%call_pos]for implicit call-site source positions in function signatures. Open. PR
Releases
- Dune 3.18.0: released 2025-04-03. Root discovery now warns instead of aborting on read failures. Release
Fixes
- Dune 3.18.0: corrects flag ordering in generated Merlin configurations, fixing editor integration. #11503
- OCaml runtime (trunk):
caml_update_dummy_lazyproposed to fix a segfault when GC shortcuts a Forward block in recursive lazy definitions. Open. #13933, #13930 - Saturn:
lockfreedependency not markedwith-test, causingopam install saturnto pull inalcotestand transitive deps. Open. #184