Thicket thicket
ocaml
REPOS 27

May 2025

Monthly story not yet available.

W22.2025 · 26 May – 1 JunAll

Dune 3.19.0 is released and described as the last version of Dune. Merlin fixes a crash on large files with OCaml 5.3 that halted the editor, and ocamldebug restores source-file lookup for switch-installed libraries by inverting BUILD_PATH_PREFIX_MAP.

Features

  • OCaml (proposal): introduces [@@static_alias] and [@@dynamic_alias] attributes, splitting module aliases into static and dynamic variants. Dynamic aliases are subtypes of static ones. (#14064)
  • OCaml Hashtbl (proposal): adds find_and_remove and find_and_replace, returning the previous binding alongside the mutation. Avoids a separate find_opt call. (#14060)
  • Merlin (PR #1936): outline generation now includes object expressions nested inside let bindings, aligning with ocaml-lsp behaviour. Merged 2025-05-27.
  • Dune (proposal): dune format-dune-file would use the project's Dune language version instead of a fixed one, honouring project-specific formatting settings. (#11865)

Compatibility

  • ocamlfind 1.9.5 / 1.9.6: source archives on download.camlcity.org are unreachable, breaking opam fetches and CI builds. download2.camlcity.org serves 1.9.5 but returns 403 for 1.9.6. #108
  • OxCaml runtime4: building from main with gcc 15.1.1 fails on conflicting C type declarations; gcc 14 compiles successfully. Issue #4033 remains open.

Fixes

  • ocamldebug (PR #14063): inverts BUILD_PATH_PREFIX_MAP to locate source files in installed packages, restoring pre-Dune-3.0 debugging for switch-installed libraries. Merged.
  • Merlin (PR #1935): fixes a crash on large files with OCaml 5.3 where the editor stopped working entirely. Merged 2025-05-27; closes #1913.
  • js_of_ocaml (PR #2018): ensures inner closures are inlined before their enclosing closure, fixing a recursive-cycle ordering issue. Merged.
  • odoc 3.0.0: assertion failures in html/link.ml and cpath.ml when building documentation for odoc 2.0.0 and lascar 0.7.0 respectively. Open bugs. #1345, #1346

Releases

  • Dune 3.19.0: release announcement added to the ocaml.org changelog; described as the last version of Dune. Merged 2025-05-26. #3129
  • opam 2.4.0~alpha3~dev: version string bumped to mark the next development cycle. Merged 2025-05-28. #6512