Thicket thicket
ocaml
REPOS 27

W43.2026 · 19–25 OctAll

OCaml 5.5.2 ships six security fixes and four bugfixes, including two miscompilations and a runtime-events infinite loop. js_of_ocaml 6.5.0 adds OCaml 5.6 support, roughly 25% faster compilation, and WebGL2, Crypto, and Service Worker bindings.

Releases

  • OCaml 5.5.2 (2026-10-23): six security fixes (OSEC-2026-21–26) and four bugfixes including two miscompilations and a runtime-events infinite loop. Release notes

  • js_of_ocaml / wasm_of_ocaml 6.5.0 (2026-10-22): OCaml 5.6 support, ~25% faster compilation, WebGL2/Crypto/Service Worker bindings, and Introcaml introspection in the browser. Release

Fixes

  • OCaml pattern-matching miscompilation (merged): ocamlopt/ocamlc produced wrong results on integer-range patterns with redundant cases instead of raising Match_failure. Affects 5.4.1, 4.14.4, trunk. #15187

  • OCaml Windows Unix.LargeFile.lseek (merged): the int64 argument was interpreted as a tagged integer, seeking to a heap-address-derived offset. Regression since 5.1.0. #15186

  • Dune OCAMLPATH export (closed): 3.25.0~alpha0 no longer exports OCAMLPATH to actions, breaking opam install -t for name-resolved libraries. Upstream fixes submitted. #16617

Features

  • Dune 3.26 (open): RPC-backed rule plugins let a project define custom stanza-like forms via an OCaml program linked against dune-rules-plugin. Requires (lang dune 3.26) and (using plugin 0.1). #16760

  • odoc (merged): renders parameterized libraries, parameter descriptions, and instantiated references (Lib[Param:Impl]) with individual links. Closes #1390. #1464

  • opam (open): cmdliner-based shell completions for bash, zsh, and PowerShell replace existing scripts. #6868 #6869

  • OCaml variance check (open, targeted 5.6): consolidating the check for constrained parameters reduces compile time from 731 s to 83 s on a large object-type file. #15188

Compatibility

  • js_of_ocaml 6.5.0 (breaking): Typed_array.fromArray now takes number_t; js_of_ocaml-lwt.logger removed. Identical bytecode literals may now be physically equal (==), matching ocamlopt.

  • ppx_platform 0.3.0: browser_only renamed to melange_only; old names are compile errors. Runtime module renamed Ppx_platform_runtime → Ppx_platform. #30945

  • opam (open): removal of opam list --columns=depexts(tag) (unmaintained since 2.0); extra-sources added as a queryable column. Scripts using the old syntax will break. #7209