Thicket thicket
ocaml
REPOS 9

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

W47.2025 · 17–23 NovTools

Features

Dune (merged): Adds parameterized library instantiation in (libraries ...) via (mylib arg1 arg2 :as newname), requiring the OxCaml compiler. #12561

Dune (open PR): Adds dune promotion show, printing corrected file contents for failed diff rules without modifying sources. #12669

Dune (open PR): Stops overriding the compiler's default warning set at dune lang 3.21; a new %{dune-warnings} variable provides the previous set for opt-in use. #12766

odoc (merged): Adds persistent KaTeX macros; \gdef-defined macros now persist across math blocks while \def retains local scoping. #1391

Compatibility

Merlin v4.7-413: Fails to build on Ubuntu 25.04 with OCaml 4.13.1 because the dune file references the removed seq library. A manual patch is required. #1993

opam 2.5.0~rc1 (MSYS2): shell/build-putenv.ml raises Invalid_argument "index out of bounds" when building on MSYS2/Win32. Open, labelled portability. #6803

Dune 3.21 (open): Feature-gating readonly permissions on promoted files is a release blocker; the change is breaking and must be gated behind a dune lang version. #12746

Fixes

Dune (merged): Memoizes lock-directory reads, reducing dune build time by roughly 28% on a large project. #12758

Dune (merged): Emits a clearer error naming the missing tool when unzip is absent and bsdtar/tar cannot extract a ZIP archive. #12683

opam (merged): Fixes the AppArmor profile replacement in install.sh, replacing mv+chmod+chown with install and cleaning up the temporary file. #6760

Merlin (closed): Crash on let a : type b. 'a as b list = [] no longer reproduces; incoherent hover errors may still appear in that case. #1118

Releases

opam 2.5.0~rc1: First release candidate; no significant changes compared to 2.5.0~beta1. Binaries and archive are signed by the opam dev team. Release notes