Thicket thicket
ocaml
REPOS 9

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

W31.2026 · 27 Jul – 2 AugTools

Features

  • ocaml-lsp: Clients advertising resolveSupport now receive inline code-action edits lazily via codeAction/resolve instead of eagerly in the initial response. Merged. #1808

  • dune: dune shell TARGET opens an interactive shell at a prepared rule action boundary, exposing the expanded action, environment, and sandbox. Open PR. #15597

  • dune: dune describe external-lib-deps --include-empty now lists libraries with no dependencies, making output self-contained for tooling consumers. Merged. #15585

  • opam: opam env will set XDG_DATA_DIRS and FPATH for bash/zsh completion, adding the switch's share root and zsh site-functions path. Open PR. #6812

Releases

  • ocaml-lsp 1.28.0-506~preview (2026-07-31): bundles the LSP 3.18 metamodel update, operator semantic highlighting, Dune trace notifications, and the fixes above. Release

  • merlin v5.8.1-505 and v5.8.1-506~preview (2026-07-31): the 506 preview adds experimental OCaml 5.6 support. 505 / 506 preview

Fixes

  • ocaml-lsp: A missing dune binary no longer aborts didOpen; the server reports a diagnostic and keeps the document open with fallback configuration. Merged. #1814

  • ocaml-lsp: Completion now replaces the full identifier suffix; selecting is_prefix from String.is_pr|word no longer leaves trailing text. Merged. #1964

  • odoc: Constructor and record-field references no longer splice the type name into rendered text; {!Bla.Alpha} displays as Bla.Alpha. Open PR. #1468

  • dune: RPC registry polling rescans the directory on mtime change, fixing a race where clients never discovered a newly registered Dune instance. Merged. #15634

Compatibility

  • js_of_ocaml: Consolidates four separate WASM linear memories into one shared memory so Safari can load the output. Open PR. #2405

  • merlin: OCaml 5.6+trunk support merged into the 506 branch. #2087