Features
-
js_of_ocaml — Identical literals are shared at bytecode parse time. JS output shrinks 51 %, Wasm 68 % on Fiat-Crypto. Breaking: identical literals may now be physically equal. (#2547, merged)
-
dune — New
(job_slots …)rule declares scheduler-slot consumption per build, optionally computed by a program. Value is exported as an environment variable for polyglot sub-builds. (#16475, merged) -
dune — Dune 3.26 adds
melange.flagsfor library and env stanzas, deprecatingmelange.compile_flags. Requires(lang dune 3.26). (#16573, merged) -
ocaml-lsp — Interactive completions now include snippet edit slots for construct, destruct, and multi-argument call items.
ocp-indentis supported as an alternative formatter viatextDocument/onTypeFormatting. (#2212, #2148) -
merlin — v5.9:
destructhandles let-binding patterns;enclosingreturns improved ranges; newPPX_DEPSconfig field advertises PPX dependencies. v5.9 -
opam (proposal, open) — Confirmation will be requested before every action by default, not only for unnamed packages. Scripts omitting
-y/OPAMYES=1will now prompt. (#7215)
Fixes
-
js_of_ocaml —
caml_wrap_exceptionis no longer imported under WASI. Fixes a linking failure that appeared when wasm-opt was skipped at--opt 1. (#2543, merged) -
js_of_ocaml — JS and Wasm runtimes rewrite
CONIN$/CONOUT$/CONto\\.\NAMEbeforefs.openSyncon Windows. Fixes ENOENT when compiled programs open the console. (#2525, merged) -
dune — A
(select)in one stanza no longer triggers "excluded module doesn't exist" in a sibling stanza's(modules :standard \ …). Fixes a 3.22 regression. (#16639, merged) -
dune —
dune buildproceeds without an RPC server when socket creation fails (e.g. sandbox restrictions).--passive-watch-modestill requires RPC. (#16597, merged)
Compatibility and Releases
-
ocaml-lsp 1.28.0 released 2026-10-12. Includes snippet completions,
ocp-indentsupport, semantic-highlighting refinements, and a FreeBSDstatfsheader fix. Release -
merlin v5.9 released 2026-10-12. Binary now reads C library flags from
ocamlc -config, fixing the Haiku build. v5.9 -
opam — The 2.6.1 Windows binary is flagged by Windows Defender (false positive). A follow-up issue explores code-signing to build SmartScreen reputation. (#7197, #7217, open)