Thicket thicket
ocaml
REPOS 9

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

W45.2025 · 3–9 NovTools

Features

  • Dune (pkg autolocking): Open PR adds automatic dependency locking when (pkg enabled) is set in dune-workspace, removing the need to run dune pkg lock before building. (#12653)
  • Dune (runtest): Open PR adds dune runtest src/of/test.ml to run individual (tests) and (inline_tests) targets by source file path. (#12689)
  • Dune (promotion show): Open PR adds dune promotion show to display corrected file contents for failed diff rules without modifying source files. (#12669)
  • Js_of_ocaml Wasm: Open PR adds a WASI runtime; wasm_of_ocaml --enable wasi produces Wasm runnable by wasmtime or the Wizard engine. (#1831)
  • ocaml-lsp: Merged PR adds ocamlformat-mlx formatting and most OCaml LSP features for .mlx files. (#1528)
  • opam 2.5: Adds OCaml 5.5 compiler support to the build and test matrix. Merged to main and backported to the 2.5 branch. (#6670, #6786)
  • Merlin (lazy indexing): Merged PR makes buffer indexing conditional on query type, yielding a ~25% speedup in ocamlmerlin single errors. (#1991)

Fixes

  • Js_of_ocaml ppx: Merged fix restores labelled-argument calls on Js.meth methods broken in 6.2.0. (#2120, #2126)
  • opam (macOS sandbox): Merged fix permits writes to /var/folders/ and /var/db/mds/, resolving security find-certificate failures during package builds. (#4797, #6775)
  • opam (update): Merged fix skips removing a version-equivalent package (e.g. 0 vs 00) on repository rename, preventing a spurious "No package found" error. (#6774, #6784)

Compatibility

  • opam-core API: cmdliner 1.3.0 is now vendored as OpamCmdliner; downstream library consumers must update their references. Merged to main and 2.5. (#6755, #6756)
  • Dune (portable lockdirs): Open PR enables portable lock directories by default; non-portable lockdirs remain supported and are auto-detected. (#12680)