Thicket thicket
ocaml
REPOS 27

July 2026

Monthly story not yet available.

W31.2026 · 27 Jul – 2 AugAll

OCaml merges a fix for a type-checking regression, cutting affected-file compilation from roughly ten minutes to 170 ms. ocaml-lsp 1.28.0-506~preview releases with LSP 3.18 metamodel support and operator semantic highlighting; an open OCaml proposal changes module type parsing to group a trailing arrow.

Features

  • Sys.filepath_exists (PR #14974, open) returns true iff stat(2) succeeds; false on ENOENT/ENOTDIR; raises Sys_error otherwise. Addresses #12393.

  • dune shell TARGET (PR #15597, open) opens an interactive shell at a rule action boundary, exposing the expanded action, environment, and sandbox.

  • Introcaml 5.5.0 (PR #30379, merged) adds Introspect.Print to the standard library for polymorphic value printing. Not available on 32-bit or with Flambda.

Compatibility

  • OCaml: module type T = T with module type T = T -> T will parse as T with module type T = (T -> T). Breaking for code relying on the previous grouping. PR #14978, open.

  • js_of_ocaml: Four separate linear memories consolidated into one shared memory. Safari rejects WASM modules declaring multiple memories; this makes such output loadable. PR #2405, open.

Fixes

  • OCaml type-checking regression from #11648 resolved. Merged PRs #14913, #14947, #14950, #14952 cut affected-file compilation from ~10 min to ~170 ms.

  • Dune RPC registry polling now rescans on mtime change, fixing a race where clients (e.g. ocaml-lsp) never discovered a new Dune instance. Merged. PR #15634.

  • ocaml-lsp: Config_data.default now sets hint_function_params = true, so clients that never send workspace/didChangeConfiguration see parameter inlay hints. Merged. PR #2097.

  • Eio.Path.mkdirs no longer fails on relative paths whose first component does not exist. Merged. PR #907.

Releases

  • Merlin v5.8.1-505 released 2026-07-31 (release). v5.8.1-506~preview adds experimental OCaml 5.6 support.

  • ocaml-lsp 1.28.0-506~preview released 2026-07-31. Bundles LSP 3.18 metamodel update, operator semantic highlighting, Dune trace notifications, and the fixes above. Release.

  • opam 2.6.0~alpha1 published to opam-repo (PR #30284, merged). Eight packages: client, core, solver, state, format, repository, installer, devel.