Features
-
js_of_ocaml 6.5.0 adds OCaml 5.6 support, WebGL2/Crypto/Service Worker bindings, and a ~25% faster compiler. Breaking:
Typed_array.fromArraynow takesnumber_t;js_of_ocaml-lwt.loggeris removed. -
ppx_platform 0.3.0 renames
browser_onlytomelange_onlyand removes the old names (each now a compile error naming its replacement). The runtime module is renamed fromPpx_platform_runtimetoPpx_platform. -
parseff 0.4.0 introduces bounded streaming via a sliding buffer;
parse_sourceaccepts~backtrack_windowand raisesBacktrack_window_exceeded. Breaking: exhaustive error matches must handle the new case. -
Doc sidebar is now served as a separate htmx fragment at
/p/<name>/<version>/doc-sidebarwithCache-Control: public, max-age=600. Average page size drops from ~1.2 MB to ~130 KB. (#3858, merged) -
New packages merged: stele (Menhir error messages), smt-string (SMT-LIB strings/regexes), workerd (Cloudflare runtime), a2a-client (Agent2Agent protocol), ppx_module, trexio (quantum-chemistry I/O).
Fixes
-
OCaml 5.5.2 ships six security fixes (OSEC-2026-21 through 26) covering
Str.string_partial_match,Unix.map_fileoverflow, demarshaling, Windows command quoting, and runtime events. Two miscompilation bugs are also fixed. -
tls 2.1.4 fixes hostname validation, TLS 1.3 ALPN acceptance, and a server crash on duplicate
SupportedVersionextensions. ca-certs-nss 3.131.1 updates to NSS 3.131.1, fixing CVE-2026-111943 (eMudhra key compromise). -
Doc-backend fetches are capped at
OCAMLORG_MAX_DOC_FETCH_BYTES(default 50 MB); the search-index digest now uses a headers-only HEAD ETag instead of downloading the fullindex.js. (#3767, merged)
Compatibility and Releases
-
OCaml 5.5.2 release page added to ocaml.org; the opam release was still in progress at merge time. (#3873, merged)
-
Upgrade to OCaml 5.4.1 and Dream 1.0.0~alpha8 is open but blocked:
ppx_importcaps at< 5.5, and a 5.5-compatible release is not yet published. (#3822, open) -
virtfs 2.0.0 adds
Path.common_prefix,Tree.merge,Tree.insert_itemswith conflict policies, andTree.unfoldfor flat iteration over filesystem trees. -
Why3 1.9.0 updates three packages; dependency bounds were added for
why3findandcaisar, which are incompatible with the new version.