OCaml trunk merges a parsetree change reimplementing let open, let module, and let exception via Pexp_stritem/Texp_stritem, affecting ppxlib and compiler-libs consumers. opam 2.4.0~alpha2 is released, and merged patch/diff fixes handle empty files, large patches, and directory moves.
Features
OCaml trunk: Merged PR reimplements let open, let module, and let exception via Pexp_stritem/Texp_stritem, a parsetree change affecting ppxlib and compiler-libs consumers. #13839
OCaml trunk: The debugger now supports #install_printer for user-defined value printers with a simplified registration interface. Merged. #13966
Picos multififo scheduler: Merged PRs replace per-fiber wakeup with periodic heartbeats, make the interval configurable, and add periodic work-stealing across threads. #362, #363, #358
odoc (proposal): Open PR adds a Markdown output backend built on cmarkit, enabling odoc-generated docs to feed into static site generators. Not merged. #1341
Fixes
OCaml trunk: Opened PR fixes miscompilation where string read/write operations produced incorrect Cmm machtypes, allowing derived pointers to become live across GC. #14010
opam patch/diff: Merged PR adds support for empty files, empty-directory removal, large patches, and directory moves. Fixes #6448. #6490
opam switch create: Merged PR excludes avoid-version and deprecated compiler packages from the switch invariant. #6494
ocaml-lsp: Merged PR fixes a crash in textDocument/signatureHelp where serializing a None value triggered an assertion failure. None now serializes as JSON null. #1525
Merlin #1927: Signature help does not appear when a function's type is expressed through a type alias rather than an explicit arrow type. Issue
Compatibility and Releases
Dune 3.18.2: Fixes compatibility with ocaml.5.4.0 by avoiding shadowing of sigwinch. Release
opam 2.4.0~alpha2: Release PR merged 2025-05-05. #6508
opam OPAMSTATS: Merged PR removes the OPAMSTATS environment variable, eliminating a memory leak in long-running library use. #6485