Features
Dune 3.24.0~alpha0: Released 2026-05-28. Adds the %{pkg:<package>:<section>:<path>} pform, enables the relocatable compiler by default, and promotes directory targets to GA. Release notes
js_of_ocaml 6.4: Merged Promise and Fetch API bindings including AbortController, Lwt interop, and Promise-typed mediaElement.play. Closes #596 and #2031. (#2239)
js_of_ocaml 6.4: Merged Popover API bindings: showPopover/hidePopover/togglePopover methods, beforetoggle/toggle events, and popoverTargetElement on inputs and buttons. (#2252)
Dune (single-context Melange): Merged melange.ppx_runtime_libraries for ppx rewriters needing different native and Melange runtime libraries, plus installation for single-context universal libraries. #14796, #14800
Merlin (signature-help): Merged. Signature help now expands type aliases once to reveal the underlying function type at the call site. Non-function aliases remain unexpanded. #2067
Fixes
js_of_ocaml compiler: Merged a flat dispatch loop for match expressions exceeding 10 shared continuations, eliminating stack overflows in Firefox/SpiderMonkey. Tunable via --set merge_node_max=N. (#2254)
js_of_ocaml 6.4: Merged fix for onbeforeunload: Dom.event_listener now returns bool t optdef, so returning Js._true no longer triggers a spurious browser dialog. (#2251)
Dune (cross-compilation): Fixed a regression where the target context inherited the host environment, causing dune-configurator to select the wrong C compiler. #14817
Dune (module artifact targets): Fixed a crash when building %{cmi:...} or similar pform targets under (include_subdirs qualified) with duplicate leaf module names. #14498
Compatibility and Releases
js_of_ocaml 6.4: Merged breaking retyping of nullable DOM properties (dataTransfer, files, anchorNode, contentWindow, labels) to opt; callers must unwrap with Js.Opt. (#2248)
Dune 3.24.0~alpha0: %{bin:NAME} now resolves to the build artifact path rather than the install staging path. The deprecated (lang coq) is removed; projects must use (using rocq <version>). Release notes
Odoc (OxCaml layouts): Closed issue #1415, completing rendering of : layout type annotations and modal bounds in documentation output.