Thicket thicket
ocaml
REPOS 1

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

W04.2026 · 19–25 Janocaml/dune

Features

Dune 3.21.0: released this week; the release tracker closed on 2026-01-21.

Dune pkg git pinning: dune pkg lock now records the resolved commit hash for git+ URLs in the lock file, making builds reproducible without re-fetching. Merged in #13297, closing #13110.

Dune pkg :with-test option: a new option skips building dependencies declared with :with-test, reducing build time for projects that do not need test-only packages. Merged in #13298.

OxCaml workspace and .cms support: two open PRs add (using oxcaml 0.1) to dune-workspace files (#13395) and compiler flags plus dependency tracking for OxCaml shape files (#13397).

Emacs dune-find-dominating: new command in dune.el jumps to the nearest enclosing dune file; supports xref-go-back. Merged in #12696.

Fixes

(select ..) closure evaluation: optional virtual-library implementations were incorrectly marked unavailable when a select branch referenced a missing library, breaking all MirageOS unikernels with lwt 6.0. Fixed in #13389 and #13406.

File-descriptor leak in package builds: missing O_CLOEXEC on redirect files caused "Too many open files" crashes during dune pkg builds. Fixed in #13385.

Windows PATH separator: the dune folder was appended with : instead of ; on Windows, breaking package builds that invoke tools from the dune directory. Fixed in #13405.