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
selectionfield to outline results containing symbol locations, matching LSPselectionRangefor ocaml-lsp-server parity. (#1942) - ocaml-lsp 1.23.0: adds configurable inlay-hints for function parameters,
ocamllsp/jumpToTypedHolenavigation, 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.hnow 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 inperfandflamegraph.ploutput. 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.flushno longer raisesSys_errorwhen a concurrentclosecompletes mid-flush. (#14093) - OCaml 5.4:
Pprintastno 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.2after automated archival removed it, breaking CI for users pinning that version. Markedx-maintained: true. (#28065) - js_of_ocaml compiler: merged short-variable fix corrects a variable-scoping issue in generated code. (#2064)