Thicket thicket
ocaml
REPOS 9

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

W51.2025 · 15–21 DecTools

Features

  • Dune 3.21.0~alpha4: adds (lang rocq), library_parameter, dune promotion show, DUNE_ROOT, unused-libs alias, and (files) stanza. Breaking: 3.21 no longer overrides default compiler warnings. Release
  • Dune Odoc v3 rules: proposes unified @doc and @doc-full aliases, hierarchical docs via a documentation stanza, and a sherlodoc index. Errors are scoped to the current project. #12995
  • ocaml-lsp 1.25.0: adds .mlx file support with ocamlformat-mlx formatting and standard LSP features. Makes code-lens for nested let bindings configurable. Release
  • ocaml-lsp 1.25.0: adds ocamllsp/typeExpression, ocamllsp/phrase, and ocamllsp/locate custom requests for identifier-prefix lookup without protocol changes. #1576
  • opam (PR #6836, open): adds a --ignore-available-on option to bypass available: constraints for listed packages, enabling cross-platform compatibility testing. Targeted for opam 2.6. PR
  • opam (PR #6812, open): updates opam env to set XDG_DATA_DIRS and FPATH so bash and zsh completion locates opam-provided completions without manual configuration. PR

Fixes

  • Dune (PR #12935, merged): resolves dune in package build rules to the running binary and prepends its directory to PATH, preventing capture of a different dune executable. PR
  • opam (PR #6839, merged): fixes a Windows lock-acquisition failure during switch and repo format upgrades by reusing the already-opened lock file descriptor. PR
  • ocaml-lsp 1.25.0: falls back to .merlin configuration when no dune-project is found and dot-merlin-reader is installed. Release

Compatibility

  • js_of_ocaml (issue #2136): the new number type from PR #1650 breaks compilation of existing code. No migration switch or resolution provided yet. Issue
  • Dune (PR #12858, merged): moves toolchains, git-repo, and rev-store caches under DUNE_CACHE_ROOT (default $XDG_CACHE_HOME/dune/). Set DUNE_CACHE_ROOT to preserve the old layout. PR

Releases

  • Merlin v5.6.1-504: released 2025-12-20; fixes completion for inlined record labels, signature help on function names, and unnecessary buffer indexing. Release