Thicket thicket
ocaml
REPOS 27

W14.2025 · 31 Mar – 6 AprAll

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.singleton and Seq.singleton added, returning a single-element list or sequence. Merged 2025-04-05. #13932
  • OCaml stdlib (trunk): Result.get_ok' and Result.error_to_failure added for converting string-error results to exceptions. Merged 2025-04-04. #13720
  • OCaml stdlib (trunk): Result.product and Result.Syntax (binding operators) added. Merged 2025-03-31. #13696
  • Dune 3.18.0: adds the (format-dune-file <src> <dst>) action, replacing the dune format-dune-file command. #11166
  • Dune 3.18.0: supports not in package dependency constraints in dune-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_lazy proposed to fix a segfault when GC shortcuts a Forward block in recursive lazy definitions. Open. #13933, #13930
  • Saturn: lockfree dependency not marked with-test, causing opam install saturn to pull in alcotest and transitive deps. Open. #184

Compatibility

  • OCaml build system: ocamlmklib passes -ldopt arguments unescaped to Sys.command, breaking paths with spaces. Fix proposed. Open. #13917, #13926
  • opam-repository: ocaml-base-compiler.4.07.1 fails on Linux/arm64 with GCC 14, aborting with Sys.getcwd not implemented. Open. #27710