Thicket thicket
ocaml
REPOS 9

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

W03.2026 · 12–18 JanTools

Releases

Dune 3.21.0: released 2026-01-12. Adds coq.theory mode, dune promotion show, unused-libs alias, %{cmt:...} variables, and dune describe tests. Release notes

Fixes

Dune virtual module crash: fixed 2026-01-17. Resolves the internal error when a public library uses virtual_modules together with public_names. #13345

Dune melange cmi collision: fixed 2026-01-18. Melange now uses a separate private cmi directory, preventing install failures for dual-mode libraries with private modules. #13350

Dune OxCaml compatibility: fixed 2026-01-17. Adds eta-expansions to work around OxCaml's value-restriction change for partial applications with local parameters. #13342

js_of_ocaml Wasm unmarshalling: merged. Corrects unmarshalling of compressed data in the Wasm runtime. #2141

opam builtin-0install solver: open issue. The solver resolves both i686 and x86_64 mingw variants; setting OPAMEXTERNALSOLVER=builtin-mccs+glpk avoids the extra installs. #6843

Compatibility

js_of_ocaml number type: closed 2026-01-16. The new number type from #1650 breaks prior code; no opt-out switch to old behaviour is provided. #2136

Features

Dune --target-exec: merged post-3.21.0. Runs target binaries through a host wrapper during cross-compilation, e.g. dune build -x windows --target-exec windows=wine. #13112

Dune action tracing: merged. External actions emit structured events via the dune_action_trace library; inspect with dune trace cat. #13267, #13348

Dune scope stanza: proposed, under review. Controls which libraries from a vendored subdirectory are visible, enabling selective package exposure without renaming. #13337

js_of_ocaml shell completion: merged. Installs cmdliner tool-support files for js_of_ocaml and wasm_of_ocaml into share_root, enabling shell autocompletion after opam install. #2140

js_of_ocaml WASI runtime: open PR, updated in interval. Adds wasm_of_ocaml --enable wasi to produce WASI binaries runnable via wasmtime -W=all-proposals=y. #1831