Thicket thicket
ocaml
REPOS 27

W25.2026 · 15–21 JunAll

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 in Filename.quote_command on 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/Abort modules, 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 pkg patches, restoring compatibility with opam packages requiring fuzz. Merged in #15017, #15146.

  • js_of_ocaml: CSS.Angle now parses "45deg"; Regexp.replace_first preserves all flags except g; EventSource handlers receive a plain Dom.event; IntersectionObserver.takeRecords wrapped in Js.t. Merged in #2350.

Features

  • Dune: --action-runner and --sandbox-actions run eligible actions in a bubblewrap-wrapped worker that cannot write to the shared cache. Merged in #14240.

  • Eio: chmod added to Eio_linux and Eio_posix (#785). Eio.Process fork failures now raise typed exceptions (Argument_list_too_long, Executable_not_found, etc.) instead of Failure (#854).

  • Dune: env_vars alias added as underscore-spelled alternative to env-vars in (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 .binaries directory on PATH. 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.0 fails during tools/opam/generate.ml clone on Windows with a Sys_error on toplevel:stdlib.cmi. Open, no fix yet. #14871