Thicket thicket
ocaml
REPOS 9

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

W44.2025 · 27 Oct – 2 NovTools

Features

Dune parameterized libraries: PR adds instantiation via (my_lib arg1 arg2 :as new_name) in dependencies. Requires OxCaml; not yet in upstream OCaml. (#12561)

Dune pkg autolocking: PR generates a lock directory automatically when (pkg enabled) is set and no lock source exists, removing the need for explicit dune pkg lock. (#12653)

Dune cmt artifact variables: PR adds %{cmt} and %{cmti} to artifact variables in custom rules, enabling direct references to type-checking artifacts. (#12634)

Dune cram stanza: PR adds a setup_scripts field to the cram stanza, auto-sourcing listed shell scripts in every test in the directory. (#12650)

Compatibility and Releases

ocaml-lsp: Merged upgrade of the ocamlformat dependency to 0.28.1. (#1669)

Dune lockdir rename: Open proposal to rename dune.lock to .dune-solution-cache, discouraging version control of non-portable lock directories. (#12648)

Fixes

js_of_ocaml: Merged PR fixes the exit code of jsoo_minify and wasmoo_link_wasm so build scripts receive correct failure signals. (#2121)

Dune Merlin config loading: PR fixes incorrect .merlin file selection when multiple executables share a directory, resolving wrong obj_dirs passed to the editor. (#12621)

Dune melange alias: PR includes Melange .cmj artifacts in the @all alias, fixing missing module compilation for (using melange 1.0) projects. (#12628)

Merlin: Merged fix for complete-prefix returning empty results on inlined record fields in variant constructors. Closes #1977.

opam installer: PR extends opam-installer to honour --bindir, --sbindir, and other ./configure directory options, resolving binaries always landing in $prefix/bin. (#6761)

opam installer AppArmor: PR checks for AppArmor abi/4.0 before installing the profile, fixing parser failures on Debian bookworm where only abi/3.0 is present. (#6764)