Tools covers builds, package management, editors, documentation and JavaScript compilation.
W50.2025 · 8–14 Dec/Tools
Features
Dune 3.21: adds a (files) stanza (dune lang 3.21) to exclude files from source-tree scanning, analogous to (dirs). Merged 2025-12-08. #12879
Dune 3.21: parameterised libraries now support (inline_tests) with an (arguments ...) field to select parameter implementations. Merged 2025-12-11. #12707
Dune (proposal): open PR adds enabled_if to dune-project for conditional package inclusion using pform syntax, independent of opam. #12905
Merlin: signature-help now triggers on unfinished let ... in bindings, showing parameter hints while the binding is still being typed. Merged 2025-12-08. #2009
js_of_ocaml (proposal): open PR adds --enable wasi to wasm_of_ocaml, producing Wasm binaries runnable by Wizard or wasmtime. #1831
Releases
Dune 3.21.0~alpha3: released 2025-12-11. Breaking: warning 9 is no longer forced in dev mode (dune lang 3.21). Release
Fixes
opam: reads full lines for confirmation prompts when TERM=dumb, fixing broken input in Emacs M-x shell and similar terminals. Merged. #6829
Dune 3.21: fixes lmdb stubs compilation on FreeBSD and inlines KERNEL_VERSION for Alpine Linux; both were 3.21 alpha regressions. Merged 2025-12-09 and 2025-12-14. #12901, #12926
odoc: open PR fixes page-link URL remapping by including the filename in prefix matching and normalising remap entries at config creation. #1395
Compatibility
opam API: merged PR splits URL and Descr submodules into legacy file-format and current datatype variants; API consumers must update imports. #6827
js_of_ocaml: the new number_t type breaks code relying on implicit float/int conversion; no compatibility flag exists, users must insert explicit conversions. #2136
js_of_ocaml 5.5.0: Menhir-generated parsers trigger a stack overflow in Chrome on macOS; Safari and Node.js are unaffected. Issue remains open. #2122