Features
-
js_of_ocaml 6.4.0 (released 2026-06-21): OCaml 5.5 support, WASI 0.1 target,
Promise/Fetch/Abortmodules, OxCaml backend, quickjs-ng, dynlink/toplevel on Wasm. Release -
Dom_svgaligned with SVG 2 (#2256): addsgraphicsElement/geometryElementparents,SVGFE*filter primitives,markerElement; all SVG elements are now event targets. Several properties retyped toopt/optdef(breaking). -
Dune action runners with bubblewrap sandboxing (
--action-runner,--sandbox-actions): eligible actions run in a bwrap-wrapped worker that cannot write to the shared cache. Merged in #14240. A Landlock backend is proposed in #15231 (open). -
Dune shell command completion for bash, zsh, and PowerShell via
dune completion <shell>. Provides subcommand, flag, and suggestion completion. Open in #14779. -
opam
.installfiles:root/rootexecsections (open PR): allows install steps to run with elevated privileges. Not yet merged. #6938
Releases
- Dune 3.24.0 (2026-06-21): directory targets promoted to GA; relocatable compiler enabled by default for package management;
%{pkg:<pkg>:<section>:<path>}pform added. Release notes
Fixes
-
js_of_ocaml lib binding corrections (#2350):
CSS.Angleparses"45deg";Regexp.replace_firstpreserves all flags exceptg;EventSourcecallbacks receive a plainDom.event;IntersectionObserver.takeRecordswrapped inJs.t. -
Dune cram output sanitization handles project paths containing spaces. Previously
BUILD_PATH_PREFIX_MAPrewriting failed on space-delimited paths. Merged in #15017. -
opam upgradereinitialises the root without preserving a previously set--no-sandboxoption, re-enabling sandboxing where it was disabled. Open. #6968
Compatibility
-
js_of_ocaml 6.4.0 breaking changes:
mediaElement.playreturnsunit Promise.t; SVG 1.1getTransformToElementremoved; GeckoMouseScrollEventbindings dropped;event_listenerreturn type isbool t optdef;Intl.Collator.comparereturnsJs.number_t. Release -
Dune 3.24.0:
%{bin:NAME}resolution changed. Now resolves to the build-artifact path with a./prefix instead of the install-staging path. Requires dune 3.24. Merged in #15156. -
Dune 3.24.0:
(lang coq)removed. Projects using(using coq <version>)must migrate to(using rocq <version>). Shipped in 3.24.0.