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
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:
staticclass elements emitted a breakable space, causing Safari 17 to misparse class bodies and leaveMlInt64.UNSIGNED_MAXundefined. (#2421) - Dune: a deleted generated OPAM file no longer blocks
dune build @opamregeneration. 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 aCfg_comparevalidator. (#5810) - Dune 3.25:
include_subdirs qualified+per_modulenow accepts dotted module names (e.g.Foo.Bar). Previously rejected as invalid. (#15633) - Dune: action-plugin
dynamic-runreplaced 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_fileaction-plugin API is removed. Dynamic actions may now appear in rules with directory targets. (#16329) - tyxml 5.0.0:
hidden/contenteditabletake enumerated arguments; URL attributes useXml.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 breaksbonsai_web. Upstream dune ≥ 3.24.2, eio ≥ 1.4, mdx ≥ 2.6.0 installable via guards. (#59)