Releases
-
OCaml 5.5.0 (2026-06-19): module-dependent functions, polymorphic function arguments, relocatable compiler, generalized local definitions,
String.search_*/String.replace_*, external types, GC improvements, ~60 new stdlib functions. Release notes -
OCaml 4.14.4 (2026-06-15): security fix for size-overflow in
caml_ba_reshape(CVE-2026-34353) and filename quoting inFilename.quote_commandon Windows. Release notes
Fixes
Features
-
Dynarray.unsafe_get/Dynarray.unsafe_set(proposed): skip bounds checking for ~2.5× faster reads, ~1.4× faster writes. Open PR. #14864 -
Configurable domain stack size via
OCAMLRUNPARAMS(e.g.S=50M): addresses segfaults from deep C stack in spawned domains. Open PR, Windows support in progress. #14860
Compatibility
-
ocaml-compiler.5.5.0fails on Windows (opam) duringtools/opam/generate.ml clonewith aSys_errorontoplevel:stdlib.cmi. Open, no fix yet. #14871 -
Gc.compacton Linux: exceedingvm.max_map_countcausesmunmapto returnENOMEM; the runtime ignores the error, leaving memory mapped but marked free. Amadvise(MADV_DONTNEED)fallback is proposed (open). #14865