Thicket thicket
ocaml
REPOS 9

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

W43.2026 · 19–25 OctTools

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.Print works under node and in the browser; js_of_ocaml.devtools installs 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_match security 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 -t for name-resolved libraries. Upstream fixes submitted; opam-repo upper bounds added.

  • Merlin .cmi cache invalidation (#2141, merged): Inconsistent .cmi files were not recorded in the cache, so subsequent changes did not trigger recompilation.

  • opam source ignores x-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_fromArray now take number_t js_array t; js_of_ocaml-lwt.logger removed. Identical bytecode literals may now be physically equal (==).

  • opam list --columns=depexts(tag) removal (#7209, open): The column is removed; extra-sources added as a queryable column. Scripts using the old syntax will break.