Features
-
ocaml-lsp (merged): Functions with ≥2 labelled/optional arguments now offer a
(call)completion inserting a snippet with independent_placeholders per argument. Snippet-capable clients receive one edit; others get plain text. #2199 -
odoc (merged): When the compiler supports it,
.odocand.odoclfiles are compressed, reducing file sizes by roughly 4–5×. #1486 -
dune (merged): New
Action_plugin.build_depsAPI exposes batches of file, directory, and glob dependencies. Plugins can wait for these and use ordinary I/O without reading contents through the plugin API. #16394
Compatibility and Releases
-
opam 2.6.0~rc1 released 2026-09-08. Binaries signed by the opam dev team; see the blog post for upgrade instructions.
-
opam (merged, in 2.6.0~rc1): Skips opening tar.gz repositories during install when
extra-filesis empty, saving ≥500 ms per package. Fixes a 2.6 performance regression. #7131 -
dune (merged, breaking): Generated files are now always made read-only, removing the pre-2.4 language-version opt-out. Executable bits are preserved. #16388
-
dune (merged, breaking API):
Dune_rpc_lwt.V1.Action_plugin.runnow returnsunit Lwt.tinstead of driving the event loop or exiting the process. Callers must useLwt_main.runand manage process lifetime. #16404 -
js_of_ocaml (merged): Builds on the
5.5.0+introcamlopam switch; newConfig.oxcaml/Config.introspectflags gate stubs. Plain 5.5.0 output is unchanged. #2409
Fixes
-
js_of_ocaml (merged): The printer emits a non-breaking space after
staticin class elements, preventing JavaScriptCore 17 from misparsing a line break as a field separator. FixesInt64.of_stringcrashes on Safari 17.x. #2421 -
js_of_ocaml (merged): The four previously separate Wasm linear memories now share one, resolving Safari's lack of multi-memory module support. #2405
-
odoc (merged): OCaml 5.5 wraps optional arguments in a
TPolyconstructor that odoc previously rendered as???. The fix unwraps them. #1489 -
dune (merged): Action-plugin
dynamic-runnow forwardswith-stdout-toto the subprocess, writing output to the requested target instead of Dune's terminal. #16376