OCaml 5.4.0 RC1 entered opam-repository with one TSAN fix since beta2, final release expected the following week. cmdliner 2.0.0 merged, removing prefix-based command and option matching (restorable via CMDLINER_LEGACY_PREFIXES=true), while opam update now loads only changed .opam files, reducing Windows update time from ~10 s to ~0.01 s.
Features
- OCaml RFCs PR #57: Open proposal for labeled and 0-indexed unlabeled tuple projections (e.g.
x.tuple,x.3). Discussion covers row-polymorphic tuples and labeled-tuple projection semantics. Link - Dune tools env: Open. New command prints shell commands to add installed dev tools to
PATH, enabling editors to invoke tools likeocamllspwithout prefixing every call. #12521 - OxCaml runtime quotations: Introduces staged computation via
<[, ]>brackets and$splicing, with a stage notion added to the type system. Quotations are represented as an AST; opening modules inside quotations is rejected. #4395 - OxCaml untagged int arrays: Adds
int8#,int16#, andint#arrays and iarrays with a new tag-encoding scheme (tags 4–7 encode element width).char#arrays follow from the shared layout withint8#. #4643
Fixes
- Dune pkg null builds: Merged. Two changes reduce null-build time for
dune pkgprojects from roughly 8 s to 1 s by eliminating redundant comparisons and expensive hash computations. #12517, #12518 - opam update: Merged. Loads only changed
.opamfiles instead of reloading the entire repository. Reduces update I/O from ~10 s to ~0.01 s on Windows and ~3.5 s to ~1 ms on Unix. #6614 - OCaml LSP 1.23.1: Fixes hover on method calls not showing the type. Fixes the
unsupported file extensionerror when opening.mllfiles in NeoVim. Release
Compatibility and Releases
- OCaml 5.4.0 RC1: First release candidate merged to opam-repository. One TSAN fix and one changes-entry fix since beta2; final release expected the following week. PR
- cmdliner 2.0.0: Merged to opam-repository. Removes prefix-based command and option matching (set
CMDLINER_LEGACY_PREFIXES=trueto restore); addsArg.Conv,Arg.Completion, and acmdlinerinstall tool. PR - Merlin v5.6-504: Adds OCaml 5.4 support via upgraded vendored typer. Also adds
locate_type_multiquery, fixesmerlin_readeron OpenBSD, and improves recovery of mutually recursive definitions. Release - OCaml LSP 1.24.0: Adds OCaml 5.4 support. Note:
ocamlformatandbisect_ppxwere not yet released for 5.4 at merge time. Release - moonpool 0.9: Merged with a breaking change: requires OCaml 5. Removes the preprocessor requirement, makes
forkjoinmandatory, and deprecatesmoonpool.syncandmoonpool_io. PR