Features
-
js_of_ocaml / wasm_of_ocaml 6.5.0 released 2026-10-22. Adds OCaml 5.6 support, ~25% faster compilation on large programs, and smaller output. Release
-
Introcaml introspection (#2433, merged):
Introspect.Printworks under node and in the browser;js_of_ocaml.devtoolsinstalls a Chrome DevTools formatter for OCaml values. Gated by--enable/--disable introspection. -
odoc parameterized libraries (#1464, merged): odoc renders parameterized libraries, parameter descriptions, and instantiated references (
Lib[Param:Impl]) with individual links. Closes #1390. -
Dune 3.26 RPC-backed rule plugins (#16760, open): A project defines custom stanza-like forms via an OCaml program linked against
dune-rules-plugin. Requires(lang dune 3.26)and(using plugin 0.1). -
Dune 3.26 Melange 1.0 default (#16773, open): Melange 1.0 is enabled by default in Dune language 3.26. Explicit declarations and older-language behaviour are preserved.
Fixes
-
Str.string_partial_matchsecurity fix (OSEC-2026-21, #2492): Corrects the partial-match implementation. -
Dune 3.25.0~alpha0 OCAMLPATH export removed (#16617, closed): Actions no longer receive OCAMLPATH, breaking
opam install -tfor name-resolved libraries. Upstream fixes submitted; opam-repo upper bounds added. -
Merlin
.cmicache invalidation (#2141, merged): Inconsistent.cmifiles were not recorded in the cache, so subsequent changes did not trigger recompilation. -
opam sourceignoresx-subpath(#7220, open): Patches fail on subpath packages (e.g. merlin.5.6.1-504+ox). Confirmed on 2.6.1.
Compatibility
-
js_of_ocaml 6.5.0 breaking changes:
Typed_array.float32Array_fromArray/float64Array_fromArraynow takenumber_t js_array t;js_of_ocaml-lwt.loggerremoved. Identical bytecode literals may now be physically equal (==). -
opam list --columns=depexts(tag)removal (#7209, open): The column is removed;extra-sourcesadded as a queryable column. Scripts using the old syntax will break.