OCaml 5.5.0 released with module-dependent functions, polymorphic function arguments, a relocatable compiler, and roughly 60 new stdlib functions; Dune 3.24.0 promoted directory targets to GA and broke %{bin:NAME} resolution while removing (lang coq) in favour of (using rocq). js_of_ocaml 6.4.0 added OCaml 5.5 support and a WASI 0.1 target.
Releases
-
OCaml 5.5.0 released 2026-06-19: module-dependent functions, polymorphic function arguments, relocatable compiler,
String.search_*/String.replace_*, external types, GC improvements, ~60 new stdlib functions. Release notes -
OCaml 4.14.4 released 2026-06-15: security fix for size-overflow in
caml_ba_reshape(CVE-2026-34353) and filename-quoting fix inFilename.quote_commandon Windows. Release notes -
Dune 3.24.0 released 2026-06-21: directory targets promoted to GA; relocatable compiler enabled by default for package management;
%{pkg:<pkg>:<section>:<path>}pform added. Release notes -
js_of_ocaml 6.4.0 released 2026-06-21: OCaml 5.5 support, WASI 0.1 target,
Promise/Fetch/Abortmodules, OxCaml and quickjs-ng backends, dynlink/toplevel on Wasm. Release notes
Fixes
-
Dune: Cram output sanitization now handles project paths containing spaces; fuzzy offset matching re-enabled for
dune pkgpatches, restoring compatibility with opam packages requiring fuzz. Merged in #15017, #15146. -
js_of_ocaml:
CSS.Anglenow parses"45deg";Regexp.replace_firstpreserves all flags exceptg;EventSourcehandlers receive a plainDom.event;IntersectionObserver.takeRecordswrapped inJs.t. Merged in #2350.
Features
-
Dune:
--action-runnerand--sandbox-actionsrun eligible actions in a bubblewrap-wrapped worker that cannot write to the shared cache. Merged in #14240. -
Eio:
chmodadded toEio_linuxandEio_posix(#785).Eio.Processfork failures now raise typed exceptions (Argument_list_too_long,Executable_not_found, etc.) instead ofFailure(#854). -
Dune:
env_varsalias added as underscore-spelled alternative toenv-varsin(env ...)stanzas. Merged in #15187.
Compatibility
-
Dune 3.24 (breaking):
%{bin:NAME}now resolves to the build-artifact path with a./prefix instead of the install-staging path. Rules with%{bin:...}deps get a per-rule.binariesdirectory onPATH. Merged in #15156. -
Dune 3.24 (breaking):
(lang coq)removed. Projects using(using coq <version>)must migrate to(using rocq <version>). Shipped in 3.24.0. -
OCaml 5.5.0:
ocaml-compiler.5.5.0fails duringtools/opam/generate.ml cloneon Windows with aSys_errorontoplevel:stdlib.cmi. Open, no fix yet. #14871