Thicket thicket
ocaml
REPOS 27

June 2025

Monthly story not yet available.

W26.2025 · 23–29 JunAll

OCaml 5.4's caml/misc.h uses _Atomic, which C++ compilers reject, breaking builds of packages with C++ stubs. ocaml-lsp 1.23.0 releases configurable inlay-hints and ocamllsp/jumpToTypedHole navigation; js_of_ocaml merges OCaml 5.4 support, removing the opam version constraint.

Features

  • Merlin v5.5-503: adds a selection field to outline results containing symbol locations, matching LSP selectionRange for ocaml-lsp-server parity. (#1942)
  • ocaml-lsp 1.23.0: adds configurable inlay-hints for function parameters, ocamllsp/jumpToTypedHole navigation, and a code-action for combining pattern cases. Release notes
  • js_of_ocaml compiler: merged branch-simplification pass reduces code size by ~22% and compilation time on fiat-crypto; global deadcode pass drops from 8.4 s to 1.6 s. (#2057)
  • opam switch create: opam switch create <version> now selects an avoid-version compiler when it is the only candidate. Merged after the reporting interval. (#6571)

Compatibility and Releases

  • OCaml 5.4: caml/misc.h now uses _Atomic, which C++ compilers reject; packages with C++ stubs (e.g. taglib) fail to build. (#14101)
  • OCaml 5.4: the $ symbol separator in native code produces invalid UTF-8 in perf and flamegraph.pl output. A kernel demangler patch is required. (#14104)
  • js_of_ocaml: OCaml 5.4 support merged, removing the version constraint that blocked opam installation on 5.4. (#2058)

Fixes

  • OCaml 5.4: Out_channel.flush no longer raises Sys_error when a concurrent close completes mid-flush. (#14093)
  • OCaml 5.4: Pprintast no longer loops infinitely when printing the (::) type constructor in isolation, fixing a Merlin hang. (#14105)
  • Merlin v5.5-503: fixes jump-to-definition failures caused by bad typing recovery. (#1930)
  • opam-repository: restored dune 3.17.2 after automated archival removed it, breaking CI for users pinning that version. Marked x-maintained: true. (#28065)
  • js_of_ocaml compiler: merged short-variable fix corrects a variable-scoping issue in generated code. (#2064)