Thicket thicket
ocaml
REPOS 9

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

W27.2026 · 29 Jun – 5 JulTools

Features

  • New browser bindings: Service Worker, MessageChannel/MessagePort, Cache API, and FontFace module with typed descriptors. Merged in #2381 and #2255.

  • js_of_ocaml-toplevel gains Wrapped and Async APIs. Wrapped.execute returns errors as values; Async runs the toplevel in a Web Worker. Merged in #2377.

  • HTTP repositories are stored as tar.gz archives, eliminating the untar step during opam update and opam init. Open in #6625.

  • Root module generation now excludes PPX runtime libraries; only user-declared stanza dependencies appear. Breaking change for (root_module). Merged in #15419.

  • Watch-mode status line shows build elapsed time and average process parallelism after completion. Merged in #15384.

Fixes

  • Tyxml: repeated attributes now keep the first occurrence, matching browser DOM semantics. Code relying on last-wins behaviour is affected. Merged in #2383.

  • opam config subst resolves absolute paths correctly instead of prepending $PWD. Previously produced a fatal File_not_found error. Merged in #6936.

  • dune fmt returns 0 when it formats files, aligning with other formatters. --preview still reports unformatted files. Merged in #15380.

  • Melange: default sandboxing reverted and original source dependency restored during preprocessing. Two regressions from 3.24.0 affecting JS builds. Merged in #15418.

Compatibility and Releases

  • js_of_ocaml 6.4.1 (2026-06-30): point release fixing dune 3.24 path-form regressions in the Wasm runtime and test harness. Release notes.

  • Dune 3.24.0 released to opam; release branch merged 2026-07-01. #14621.

  • Merlin OCaml 5.5 support tracking issue closed 2026-07-01, indicating the 5.5 API work is complete. #2024.