Tools covers builds, package management, editors, documentation and JavaScript compilation.
W42.2025 · 13–19 Oct/Tools
Features
dune:dune pkg search <query> lists matching packages from configured repositories, showing the highest non-avoid-version version and synopsis. Merged in #12547.
Odoc:markdown-generate and html-generate now accept multiple .odocl files as input. Merged 2025-10-16. #1388
Js_of_ocaml (Wasm): Open proposal adds WASI runtime support via wasm_of_ocaml --enable wasi, producing binaries runnable by Wizard or wasmtime. #1831
ocaml-lsp: Open proposal adds autocompletion for labelled arguments, triggered by : in function applications. #1564
Compatibility
opam 2.4.1: Fails to compile against cmdliner 2.0.0 (Unbound value Term.info). A constraint pinning cmdliner < 2.0.0 was added. #6739
Js_of_ocaml: Open PR to run CI under OCaml 5.4; blocked on ppx_expect compatibility with ppxlib.0.37. #2103
Fixes
Js_of_ocaml: Merged fix for a fatal "Some variables escaped" assertion in release-mode builds using -linkall libraries. #2107
opam init: Bash setup now writes the opam incantation to ~/.bashrc instead of ~/.profile, eliminating the infinite-sourcing loop on Debian-family systems. #6603
dune tools install:dune tools install <pkg> now works without setting DUNE_CONFIG__LOCK_DEV_TOOL=enabled. Merged in #12575.
dune: Changing the (lang dune ...) version in dune-project no longer triggers a full compiler rebuild. Merged in #12556.
opam env:variables.sh is no longer sourced when OPAM_SWITCH_PREFIX is already set, preventing PATH and MANPATH duplication in subshells. #6729
Releases
opam 2.5.0~alpha1: Released 2025-10-16. Version bumped to 2.6.0~alpha1~dev the following day. Release PR