Thicket thicket
ocaml
REPOS 9

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

W33.2026 · 10–16 AugTools

Features

  • Dune 3.25 – New %{melange.emit:...} artifact variable references the output directory of a melange.emit stanza and its dependencies. Merged in #15751.

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

  • ocaml-lsp (open) – textDocument/documentLink and documentLink/resolve render odoc references ({!t}, {{:url} text}, @see) as clickable links in the editor. Cross-module and stdlib references resolve after a project build. #2139

Compatibility

  • Dune – Language version bumped to 3.25; the project's own dune-project and generated opam files now target 3.25. Merged in #15919.

  • js_of_ocaml (open) – #2409 adds stubs and adaptations so js_of_ocaml builds against the 5.5.0+introcaml opam switch. No merge or release indicated.

Fixes

  • Dune – 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 failing with "No rule found." Merged in #15895.

  • Dune – Melange JS emission now stages installed .cmj/.cmi dependencies under lib/<pkg>/melange/, preventing melc sandbox failures. Merged in #15949.

  • Dune – dune pkg uses SHA-256 for source archives lacking a checksum, replacing MD5. Merged in #15824.

  • ocaml-lsp – Unused-code quick fixes classify diagnostics by warning number (e.g. Warning 33) instead of bare substrings, making "Remove unused open/type/module" actions reachable in normal builds. Merged in #2117.

  • ocaml-lsp – The unused-code matcher rejects arbitrary diagnostic text (e.g. a deprecation warning containing "unused open"), preventing accidental module removal. Merged in #2141.

  • opam – opam init --reinit no longer exits with code 10 and prompts a retry after upgrading from a 2.1 root. Merged 2026-08-12 in #7058.