OCaml 5.5.0 RC1 lands in the opam repository with a Windows command-injection fix. Dune 3.24.0 is in release preparation, js_of_ocaml gains WASI output, and Eio adds streaming directory reads.
Features
OCaml 5.5.0 RC1: Added to the opam repository with stdlib, runtime, and compiler fixes. #29923
OCaml (open): New S setting in OCAMLRUNPARAM sets per-domain stack size, addressing stack overflows in C FFI on spawned domains. #14860
js_of_ocaml: wasm_of_ocaml --enable wasi now produces a WASI binary runnable by wasmtime or wizeng. #1831
Eio: New Eio.Path.with_dir_entries and read_dir_entries APIs stream directory entries without materialising the full list; ~13× speedup on a 300k-entry tree. #821
Dune: A consumer's compile command now receives -I/-H only for libraries its ocamldep reference set reaches. #14518
Odoc: OxCaml modalities (@@ portable, @@ shared) are now rendered in generated documentation. #1420
Fixes
OCaml (merged): Corrects an inverted mark_header lazy-tag comparison that could cause memory corruption and SEGVs in multi-domain programs using laziness. Not backported to 5.5. #14856
OCaml (merged): Filename.quote_command now fully escapes redirection arguments on Windows, closing a command-injection channel via Sys.command. Backport to 5.5 proposed. #14853
js_of_ocaml: Int64.shift_right returned wrong values for negative operands with shift counts 41–47; now corrected. #2278
Eio: eio_linux falls back to eio_posix when io_uring_queue_init fails with ENOMEM instead of raising an unhandled error. #852
Compatibility
Dune 3.24+: The (diff) action now distinguishes an empty file from a non-existent file, breaking test suites that omit reference files. Use (diff?) for optional arguments. #15134
OxCaml: The merge-upstream-5.4 branch is merged into main, bringing the OxCaml frontend in line with OCaml 5.4. #5325