Features
-
js_of_ocaml (wasm): Merged number unboxing within functions (#2069). Avoids boxing numeric values never used as boxed, speeding up benchmarks.
-
opam update: Open PR loads only changed
.opamfiles duringopam updateinstead of the full repository. Reduces update time from ~10 s to ~0.01 s on Windows. (#6614) -
Dune (OxCaml): Merged detection of the
parameterised_modulescompiler flag and exposure of theoxconfig parameter. Requires OxCaml; standard OCaml is unaffected. (#12393) -
Dune (RPC): Merged support for formatting dune files via RPC while the watch server is running. Enables editor integrations to format without stopping the build. (#12064)
-
Merlin (proposal): Open PR adds a
locate_type_multiquery returning a tree of identifier locations for compound types. Extendslocate_typefor VSCode "Go to Type Definition" support. (#1951)
Compatibility
-
js_of_ocaml (wasm): Open PR tightens Wasm primitive type signatures, making several runtime primitive types more precise. May affect code that pattern-matches on those values. (#2100)
-
opam (3.0 design): Open proposal embeds a hash of each
.opamfile in lock files so CI can detect same-version metadata changes. Marked as an opam 3.0 design item. (#6668)
Fixes
-
Dune 3.20.2: Released with fixes for jsoo separate compilation,
runtest-jsdependency resolution, empty.cram.test.tcleanup, and Cygwin bootstrap. (release) -
opam remove: Open PR prevents
opam remove --forcefrom executing removal commands in the current working directory. Fixes #6570. (#6672) -
Dune (pkg): Since 3.20.0,
dune buildrebuilds the OCaml compiler on every run because the toolchain is non-relocatable. Workaround: userm -rf _build/defaultinstead ofdune clean. (#12390) -
ocaml-lsp v1.23.0: Hover on method calls returns "No information available" with OCaml 5.3.0.
type-enclosingyields the correct type. (#1552) -
opam (Windows): A fresh opam 2.4.1 install on Windows 11 leaves
flexlink.exeabsent, causing all native linking to fail.opam switch reinstallrestores the binary. (#6669)