Thicket thicket
ocaml
REPOS 1

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

W33.2026 · 10–16 Augocaml/dune

Features

  • %{melange.emit:...} artifact variable (Dune 3.25). References the output directory of a melange.emit stanza and its dependencies. Closes #8327. Merged in #15751.

  • (flags ...) field in ocamllex and ocamlyacc stanzas (Dune 3.25). Accepts the ordered-set language with variable expansion; forwarded to the parser generator. Enables (flags -ml) for code-based automata. Merged in #15907.

Compatibility and Releases

  • Dune language version bumped to 3.25. The project's own dune-project and generated opam files now target 3.25. Merged in #15919.

  • Version bound for (warnings (duplicate_deps …)) corrected to 3.22. The warning was introduced in 3.22 but the bound stated 3.18, producing overly permissive opam constraints. Merged in #15696.

Fixes

  • Disabled install stanza no longer pollutes @all. An install stanza gated by enabled_if no longer adds its files to the directory's @all alias in disabled contexts. Fixes multi-context builds that previously failed with "No rule found." Merged in #15895, closes #15825.

  • Melange JS emission now stages installed .cmj/.cmi dependencies. Previously, .cmj/.cmi files under lib/<pkg>/melange/ were missed by the sandbox, causing melc to fail. Merged in #15949, closes #14820.

  • dune pkg uses SHA-256 for source archives lacking a checksum. Replaces MD5, which is deprecated by opam. Merged in #15824.

  • Git patch filenames containing spaces are no longer truncated. The ---/+++ header parser now disambiguates unquoted filenames with spaces. Merged in #15781.