Thicket thicket
ocaml
REPOS 9

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

December 2025

Monthly story not yet available.

W52.2025 · 22–28 DecTools

Features

Dune runtest: dune runtest now accepts (tests) and (inline_tests) sources, not just cram files. Fixes #870. (#13064)

Dune trace: New dune trace subcommand reads the trace file; structured log events are folded in by default, replacing _build/log. (#13055, #13015)

Dune cram shell: The (cram) stanza gains a shell field to select bash instead of the default sh. (#13083)

opam nushell support: Open WIP PR adds opam env output parseable by nushell via load-env (opam env | from json). Does not yet cover opam init --shell=nu. (#6330)

opam repos-config: Open PR replaces the list-based repos-config format with per-repository sections using labeled fields. Requires a hard upgrade of the opam root; no best-effort read of the old format. (#6393)

js_of_ocaml Wasm: Open PR adds Stack Switching support via wasm_of_ocaml --enable wasi, requiring a development Binaryen build. Output runs under Wizard with -ext:stack-switching. (#1832)

Fixes

opam Windows lock: Merged fix reuses the existing system lock during switch and repo format upgrades instead of creating a second one, resolving a Windows lock-acquisition failure. (#6839)

Dune install --prefix: Relative paths that escape the workspace (e.g. --prefix ../bar) are now resolved correctly instead of being rejected. Fixes #12241. (#12993)

Dune dev-tool pins: Compiler pins from dune-workspace now propagate to the dev-tool solver, so dune tools install respects pinned compiler branches. Fixes #12868. (#13033)

Dune macOS copyfile: Portable copyfile is restored for macOS ≤ 10.6.8 where the native API is unavailable. Fixes #12576. (#13069)

Compatibility

Dune 3.22: The lang dune version on main is bumped to 3.22; the new features above require this version. (#13082)

Merlin type-enclosing: ocamlmerlin single type-enclosing emits standard OCaml type syntax rather than Reason syntax on OCaml ≥ 5.3 (merlin v5.3-502, v5.4-503). Open issue. (#2019)