Thicket thicket
ocaml
REPOS 9

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

W07.2026 · 9–15 FebTools

Features

  • Js_of_ocaml (PR #2166, open): Merges variables with disjoint lifespans in generated JavaScript. Reduces V8 register count by 74–91% and gzip size by 10–16% on benchmarks.
  • Js_of_ocaml (PR #1831, open): Adds wasm_of_ocaml --enable wasi to produce WASI binaries executable under wasmtime or the Wizard engine.
  • ocaml-lsp (PR #1581, merged): Adds OCAMLLSP_PROJECT_BUILD_SYSTEM, OCAMLLSP_PROJECT_ROOT, and OCAMLLSP_PROJECT_ROOT_MARKERS environment variables for pointing at an arbitrary merlin configuration server. Falls back to existing .merlin / dune ocaml-merlin behaviour when unset.
  • opam (PR #6859, open): The opam init env hook updates the switch bin directory in place in PATH rather than prepending it, preserving relative precedence. Does not affect eval $(opam env).
  • Dune 3.22 (PR #13619, merged): Melange build rules are now sandboxed by default.
  • Dune 3.22 (PR #13617, merged): All test stanza variants are sandboxed, not only expect tests.
  • Dune (PR #13590, merged): dune describe workspace gains a --no-recursive flag.

Fixes

  • Dune (PR #13581, merged): dune build @install -p pkg no longer fails when cram tests are present in the target directory.
  • Dune (PR #13625, merged): Resolves a deadlock when dependency-cycle nodes are encountered during rule evaluation.

Compatibility and Releases

  • Dune 3.21.1: Released 2026-02-11. Fixes NetBSD/OpenBSD builds via ocaml-lmdb update, corrects melange.emit package masking with -p, and stops the RPC server on dune promote. (release)
  • Js_of_ocaml 6.3.2: Released 2026-02-15. Fixes installation of shell completion files. (release)
  • Js_of_ocaml 6.3.1: Released 2026-02-13. Fixes completion file installation in monorepo (dune workspace) builds. (release)