Tools covers builds, package management, editors, documentation and JavaScript compilation.
November 2026/Tools
Dune 3.25.0 is out, and it changes how build actions locate tools. The shared install staging directory is no longer on the search path, so scripts that picked up executables implicitly from there will need an explicit location. Generated files are also read-only during a build, preventing accidental modification. A patch release, 3.25.1, is already in progress to address three regressions, including a path mismatch and a visibility issue with private modules in Melange projects. (release)
The OCaml language server that powers editor autocomplete and diagnostics does not yet build against Dune 3.25. Version 1.26.1 depends on internal Dune interfaces that were renamed or removed, and no installable 1.26.x release currently works with OCaml 5.4 and Dune 3.25 together. If you upgraded Dune and your editor stopped providing completions, this is the likely cause. (issue)
On the WebAssembly side, js_of_ocaml shipped fixes for issues that could produce broken output. Programs using objects no longer hit an illegal-cast runtime error, and array element types are now derived from the array type itself. A separate fix stops unbounded inlining from consuming over eight gigabytes of memory when compiling at optimisation level two. (PR)
Merlin locate fix (proposed): A pull request corrects go-to-definition for punned record fields such as { M.x }, resolving the bare field name instead of the module path. #2163
Ongoing
Merlin Vim GrowInside bugs: A maintainer responded to a report of four selection bugs in the Vim plugin's GrowInside command, suggesting the reporter test with Merlin 5.9. #2159
Open pull requests in OCaml LSP target code-action correctness and server lifecycle:
Extract local in conditionals:#2241 keeps the new binding inside the nearest if/else branch rather than hoisting it before the conditional.
Extract function:#2242 wraps the extracted call in parentheses so the result compiles as a single expression.
Combine cases:#2240 preserves literal | in right-hand sides and splits only at the case arrow, avoiding corruption of strings and function bodies.
Mark as unused:#2248 rewrites ~x to ~x:_x for labelled parameters so call sites like f ~x:1 still compile.
Document edits with U+FEFF:#2244 treats a mid-document zero-width no-break space as a regular character, keeping the server's text in sync with the editor.
Server early exit:#2252 allows the server to shut down cleanly when ocamlformat-rpc is absent and the editor exits before initialisation.
Let-syntax highlighting:#2238 reports that custom let-syntax loses semantic highlighting after upgrading to 1.28.1; disabling semantic highlighting in VS Code works around it.
Compatibility
1.26.x with Dune 3.25:#2237 backports fixes so the 1.26 line (OCaml 5.4) builds with stdune 3.25.
Odoc strikethrough markup: Documentation comments now accept {~text} to render struck-through text. Merged in #1515, closing issue #1498.
Strikethrough rendering: HTML emits <s>, Markdown emits ~~text~~, and LaTeX emits \sout (requires the ulem package). Man pages render the text plainly, as groff has no strikethrough macro.
Block quotes: A draft adds syntax for block quotes in documentation comments. Open in #1525.
Kind abbreviations: A proposal adds rendering and links for OxCaml kind abbreviations, including a {!kind:xyz} reference form. Open in #1467.
Fixes
Odoc import resolution:odoc compile now resolves an import only to a unit whose digest matches the recorded one, avoiding links to a same-named unit from a different library. Merged in #1502.
OxCaml unboxed records: Dropped the always-false mutable_ flag from unboxed record fields, since the compiler rejects mutable unboxed labels. Merged in #1522.
Compatibility
OxCaml 5.4.0-ox9: A draft update targets the newly released OxCaml 5.4.0+ox9 and removes the 5.2.0 compatibility check. Open in #1526 and #1520.
opam repository-scoped install: a proposal to allow opam install foo@repo so a package can be pulled from a named repository without raising its priority or pinning dependencies (#7246).
Compatibility
opam 2.6 backport: the --cli=2.6 fix is being backported to the 2.6 branch for the upcoming 2.6.2 release (#7242).
Fixes
opam --cli=2.6: opam 2.6.0 and 2.6.1 rejected --cli=2.6 even though --help listed it as the default; the supported-versions list now includes 2.6 (#7229).
opam documentation links: dead links in the manual, FAQ, and solver pages are updated to working URLs (#7236).
opam builtin-0install reinstall: a fix is proposed to add -changed to the fixup criteria so repeated opam reinstall runs produce the same solution (#7241, #7240).
opam reinstall from empty directory: a bug is reported where reinstalling a non-pinned package with a remove: field can build from an empty directory, causing the install to fail (#7250).
Js_of_ocaml: Binaryen's wasm-opt is now optional for wasm_of_ocaml. Without it, the compiler emits a missing-wasm-opt warning and uses its own optimization passes instead. (#2571)
Js_of_ocaml: float formatting is up to 16× faster for integers and 5× faster for random values; the Wasm runtime parses short decimal floats without calling JavaScript. (#2631)
Js_of_ocaml:Int64.to_string of a 19-digit value drops from about 22 µs to 435 ns; Int64.div and Int64.of_string are also much faster. (#2640)
Js_of_ocaml:Random.float and Random.int are about 5× faster in the JS runtime, with output identical to native. (#2630)
Js_of_ocaml: the JS compiler now uses OCaml 5.6 bytecode hints to access bigarrays of known kind directly and compare int64 values with dedicated primitives. (#2628)
Fixes
Js_of_ocaml:Float.erf and Float.erfc now use a port of fdlibm's implementation, reducing error from up to 1e-7 to under 3 ulps. (#2635)
Js_of_ocaml: fixes double rounding in Float.fma, float32 operations, and Float32.of_string, which could produce a wrong last bit. (#2632)
Js_of_ocaml:js_of_ocaml-toplevel now declares a dependency on js_of_ocaml-ppx, so worker_lwt_client is no longer silently skipped when the ppx is not installed first. (#2627)