Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W25.2026 · 15–21 JunTools

Features

  • js_of_ocaml 6.4.0 (released 2026-06-21): OCaml 5.5 support, WASI 0.1 target, Promise/Fetch/Abort modules, OxCaml backend, quickjs-ng, dynlink/toplevel on Wasm. Release

  • Dom_svg aligned with SVG 2 (#2256): adds graphicsElement/geometryElement parents, SVGFE* filter primitives, markerElement; all SVG elements are now event targets. Several properties retyped to opt/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 .install files: root/rootexec sections (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.Angle parses "45deg"; Regexp.replace_first preserves all flags except g; EventSource callbacks receive a plain Dom.event; IntersectionObserver.takeRecords wrapped in Js.t.

  • Dune cram output sanitization handles project paths containing spaces. Previously BUILD_PATH_PREFIX_MAP rewriting failed on space-delimited paths. Merged in #15017.

  • opam upgrade reinitialises the root without preserving a previously set --no-sandbox option, re-enabling sandboxing where it was disabled. Open. #6968

Compatibility

  • js_of_ocaml 6.4.0 breaking changes: mediaElement.play returns unit Promise.t; SVG 1.1 getTransformToElement removed; Gecko MouseScrollEvent bindings dropped; event_listener return type is bool t optdef; Intl.Collator.compare returns Js.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.