Thicket thicket
ocaml
REPOS 27

W36.2026 · 31 Aug – 6 SepAll

OCaml 5.5.1 ships type-system and integer-overflow security fixes for Marshal and bytecode loading, and restores macOS cloning. opam 2.6.0~beta2 introduces signed binaries; Dune 3.25 now accepts dotted module names in include_subdirs qualified with per_module.

Releases

  • OCaml 5.5.1: type-system fix for module-dependent functions, integer-overflow security fixes in Marshal and bytecode loading, restored macOS cloning. (release)
  • opam 2.6.0~beta2 released with signed binaries. See blog post for upgrade instructions. (release)

Fixes

  • OCaml 5.5.0 Windows regression: a non-yielding thread starved all other threads in its domain. Fixed in 5.5 and trunk. (#15029, #15034)
  • js_of_ocaml: static class elements emitted a breakable space, causing Safari 17 to misparse class bodies and leave MlInt64.UNSIGNED_MAX undefined. (#2421)
  • Dune: a deleted generated OPAM file no longer blocks dune build @opam regeneration. Fixes a 3.24 regression. (#16234)

Features

  • OxCaml: new SSA IR between Cmm and CFG, enabled by -use-ssa (on by default). Includes aggressive DCE and a Cfg_compare validator. (#5810)
  • Dune 3.25: include_subdirs qualified + per_module now accepts dotted module names (e.g. Foo.Bar). Previously rejected as invalid. (#15633)
  • Dune: action-plugin dynamic-run replaced the temp-file handshake with Dune RPC. The plugin process persists while Dune builds newly discovered dependencies. (#16256)
  • ocaml-lsp: construct completions now emit LSP snippets with ordered tab stops for snippet-capable clients. Plain completions preserved when snippets are unsupported. (#2198)

Compatibility

  • Dune: the write_file action-plugin API is removed. Dynamic actions may now appear in rules with directory targets. (#16329)
  • tyxml 5.0.0: hidden/contenteditable take enumerated arguments; URL attributes use Xml.uri; SVG output drops the 1.1 doctype. Requires OCaml ≥ 4.08, dune ≥ 3.18. (#30641)
  • OxCaml opam: dune pinned to 3.22.2+ox because dune 3.24's %{deps} expansion breaks bonsai_web. Upstream dune ≥ 3.24.2, eio ≥ 1.4, mdx ≥ 2.6.0 installable via guards. (#59)