Thicket thicket
ocaml
REPOS 27

W05.2025 · 27 Jan – 2 FebAll

Eio merged a fix for Windows stdin broken-pipe exceptions and domain-blocking reads, raising its minimum OCaml version to 5.2. Merlin merged a breaking rename of Texp_hole and Tmod_hole to their _typed_hole counterparts, and the OCaml compiler has an open proposal to make diagnostics machine-parseable.

Features

  • OCaml compiler (PR #13766): Open proposal to add structured diagnostics, making compiler errors, warnings, and debug output machine-parseable for developer tools. References #45. (PR)

  • Dune (PR #11408): Open proposal adding dune tools env to emit a PATH update for local dev-tool binaries, and dune tools exec ocamllsp to launch the LSP with that PATH. Not yet merged. (Link)

  • Merlin (PR #1891): Open proposal adding a get_all function returning all jump targets in a buffer, reducing repeated client-to-server round trips. Closes issue #1817. (Link)

  • ocaml-lsp (PR #1461): Open proposal replacing per-target recursive checks in Jump Code Actions with a single batched query; reported response times drop from 523 ms to 244 ms. Depends on #1891. (Link)

  • Picos (PR #349): Merged addition of a hash-table copy operation. (Link)

Fixes

  • Merlin (PR #1882): Merged fix for the locate query: when two files share identical content digests, the file whose path most closely matches the build artifact path is now selected. (Link)

  • Eio (PR #795): Merged fix for Windows stdin broken-pipe exception and domain-blocking reads; minimum OCaml version raised to 5.2. Closes issues #792 and #793. (Link)

  • oxcaml/merlin (PR #127): Merged fix restoring instance-name handling in Persistent_env that was dropped during a merge from flambda-backend. (Link)

  • opam-repository (issue #25819): Open issue reports compiler packages set OCAML_TOPLEVEL_PATH instead of OCAMLTOP_INCLUDE_PATH, breaking toplevel file resolution. A fix is in preparation. (Link)

Compatibility and Releases

  • Merlin (PR #1888): Merged rename of Texp_hole to Texp_typed_hole and Tmod_hole to Tmod_typed_hole, resolving a constructor conflict with ocaml-flambda. Breaking change for code referencing the old names. (Link)

  • ocaml-lsp-server (issue #1462): Dune 3.17.2 writes INDEX, SOURCE_ROOT, and UNIT_NAME configuration tags that ocaml-lsp-server 1.10.5 on OCaml 4.13 does not recognise. Maintainer recommends migrating to OCaml 4.14 or using an older Dune. (Link)

  • oxcaml/merlin (PR #129): Merged backport of the typed_hole module from upstream #1888, reducing the LSP's diff with upstream. (Link)