Thicket thicket
ocaml
REPOS 9

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

W32.2026 · 3–9 AugTools

Features

  • dune shell TARGET (open, #15597): Opens an interactive session at a rule action boundary, exposing run, show_action, and show_command. Preserves sandbox, environment, and locks.

  • dune describe workspace / external-lib-deps (merged, #15582): Now report public names for executables. New --split-public-names flag separates name(s) from public_name(s).

  • Allocation profiling (merged, #15699, #15703, #15710): DUNE_TRACE_ALLOC env var accepts rate, stack, top fields. Two new per-heap rankings: by_site and by_frame.

  • textDocument/publishDiagnostics (merged, #2110): Attaches Unnecessary and Deprecated tags when the client advertises tagSupport. Editors can grey out unused values and strike through deprecated ones.

  • odoc OCaml 5.6 support (open, #1472, by jonludlam).

Fixes

  • Null builds with %{bin:...} or (package ...) dependencies (merged, #15678): No longer invalidate .binaries/.packages install layouts. Eliminates spurious workspace- and shared-cache misses.

  • textDocument/definition (merged, #2100): A keyword, builtin type, or name at its own declaration returns an empty result instead of RequestFailed. Eliminates spurious error notifications in editors.

  • Hover at constructor/exception declarations (merged, #2102): Hovering a variant constructor or exception at its declaration now returns the constructor type. Previously no response was produced.

  • odoc cross-referencer (merged, #1471, by Leonidas-from-XIV): Resolves functors reached via module type of redirection. Eliminates spurious "Failed to lookup type identifier" warnings.

  • OpamCached with safe_mode (open, #7067): No longer unconditionally removes an outdated cache file. Fixes a crash for tools linking opam libraries inside sandboxed builds.

Compatibility and Releases

  • Dune 3.24.2 released 2026-08-03. Backports: implicit unix dependency for MDX ≥ 2.6 test executables (#15592); RPC registry rescan on directory mtime change (#15634). Release notes.

  • odoc stdlib path (open, #1474, by katrinafyi): Replaces hardcoded opam-prefix subpaths with Findlib directory inference. Fixes portability on systems where stdlib resides in lib64.