Thicket thicket
ocaml
REPOS 9

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

W11.2026 · 9–15 MarTools

Features

Dune 3.22.0~alpha1: Released 2026-03-11. Adds DUNE_JOBS, dune trace cat, @doc-markdown alias, dune runtest with per-test args, shell field in cram stanzas, and dune-action-trace library. (release notes)

js_of_ocaml build-config: Merged 2026-03-13. wasm_of_ocaml --build-config prints compiler settings as key=value pairs; --apply-build-config overrides them, taking precedence over other flags. (#2177)

js_of_ocaml shape computation: Merged 2026-03-12. Adds caching and coinductive computation for cyclic types; one user reported a .cma.js compile dropping from over 7 hours to ~200 ms. (#2198)

Dune 3.23 sandboxing: Merged. Enables sandboxing for user-defined rules at dune lang 3.23; projects on dune lang 3.22 or earlier are unaffected. (#13805)

Compatibility and Releases

Dune 3.22.0~alpha1 cache path: Breaking change in the release. The build cache moves to $DUNE_CACHE_ROOT/db; users can prevent invalidation by moving existing contents into a db/ subdirectory. (release notes)

js_of_ocaml OCaml 5.5.0~alpha1: Merged 2026-03-12. Adds compiler and runtime support for the OCaml 5.5.0 alpha; a broader initial-support PR remains open. (#2197, #2195)

opam env hook: Open PR. The shell hook now updates the opam switch PATH entry in place instead of prepending it, preserving relative PATH precedence. Potentially breaking for users who append PATH entries after sourcing opam-init.sh. (#6859)

Fixes

Dune select regression: Merged. Restores dune lang 1.0 semantics for (select ..) on non-OCaml files, fixing a build failure in packages like mccs. (#13804)

Dune build-dir lock: Merged. dune build no longer hangs indefinitely when the build directory is locked by a dead process. (#13767)

Dune ppx cookies: Merged. Collects cookies from transitive ppx_rewriter dependencies, not just directly listed ones. (#13737)

js_of_ocaml Binaryen check: Merged 2026-03-09. The Wasm runtime build now verifies Binaryen ≥ 119 before invoking wasm-merge, preventing a silent failure. (#2191)

odoc compile crash: Open PR. Fixes a crash when substituting the same type name at different arities across nested include … with signatures. (#1400)