Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W37.2026 · 7–13 SepTools

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, .odoc and .odocl files are compressed, reducing file sizes by roughly 4–5×. #1486

  • dune (merged): New Action_plugin.build_deps API 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-files is 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.run now returns unit Lwt.t instead of driving the event loop or exiting the process. Callers must use Lwt_main.run and manage process lifetime. #16404

  • js_of_ocaml (merged): Builds on the 5.5.0+introcaml opam switch; new Config.oxcaml/Config.introspect flags gate stubs. Plain 5.5.0 output is unchanged. #2409

Fixes

  • js_of_ocaml (merged): The printer emits a non-breaking space after static in class elements, preventing JavaScriptCore 17 from misparsing a line break as a field separator. Fixes Int64.of_string crashes 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 TPoly constructor that odoc previously rendered as ???. The fix unwraps them. #1489

  • dune (merged): Action-plugin dynamic-run now forwards with-stdout-to to the subprocess, writing output to the requested target instead of Dune's terminal. #16376