Thicket thicket
ocaml
REPOS 9

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

September 2025

Monthly story not yet available.

W39.2025 · 22–28 SepTools

Features

opam (PR #6614, open): opam update loads only changed .opam files instead of the full repository, reducing load time from ~10 s to ~0.01 s on Windows. Link

opam (PR #6709, open): adds an internal OPAMAUTOANSWER environment variable that auto-answers OpamConsole.confirm prompts for CI and test harnesses. Link

Merlin (PR #1948, open): adds a refactoring-extract-region protocol command letting an editor extract an expression into a fresh let binding. Not yet merged. Link

Dune (PR #12511, open): proposes replacing include-flag hiding with the OCaml -H compiler flag for private modules, ensuring the compiler always sees hidden modules. Link

Wasm_of_ocaml (PR #1831, open): proposes a --enable wasi flag producing WASI binaries runnable by the Wizard engine; --enable exnref adds wasmtime compatibility. Link

Fixes

Dune (PR #12487, merged): removes backtracking from the lockdir parser, reducing null-build time from ~8 s to ~4 s. Link

Dune (PR #12464, merged): stops emitting empty .js files for module aliases, eliminating spurious build artifacts. Link

opam (PR #6611, open, queued): corrects opam ignoring pinned-package dependencies when simulating a pin; backported to 2.4 in PR #6612. Link

ocaml-lsp (issue #1544, closed): Nix build on master resolved; nix build .# previously failed due to a missing yojson dependency in jsonrpc. Link

Compatibility

opam (PR #6705, merged): ./configure --enable-static --with-vendored-deps now produces a statically linked binary on OpenBSD 7.7, removing runtime dependencies on libc++, libpthread, and libm. Link

opam (PR #6707, open): adds upper-bound constraints excluding cmdliner 2.0.0, which breaks the build. Link

Dune (issue #12503, closed): clarifies that (modes js) is not valid on (library) stanzas; libraries compile to JS without any special declaration. Link