Thicket thicket
ocaml
REPOS 1

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

W34.2026 · 17–23 Augocaml/opam

Compatibility and Releases

  • opam 2.6.0~beta1 released 2026-08-22. Binaries signed by the opam dev team; see the release notes and blog post for upgrade instructions. Install scripts updated in #7099.

Features

  • Nushell support: opam env emits JSON for load-env, and shell-config integration is added (#6873, open).
  • Shell completions for bash, zsh, and PowerShell generated from cmdliner argument definitions, replacing hand-written scripts (#6869, #6868, #6867, open; queued).
  • Solver: DNF conversion skips disjunctions whose atoms are disjoint from the package being filtered, avoiding combinatorial blowup on depends fields with many independent choices (#6831, open).

Fixes

  • opam init --reinit now regenerates the switch list, removes invalid entries, and repairs corrupted switch config/cache files (#7068, merged; in 2.6.0~beta1).
  • Git gc.autoDetach and maintenance jobs are disabled on repositories opam manages, preventing lstat failures on maintenance.lock during opam repo add and build steps (#7073, merged; in 2.6.0~beta1).
  • opam list --debug --safe (and equivalent OPAMDEBUG usage) now emits debug output to stderr instead of silently suppressing it (#7091, merged; in 2.6.0~beta1).
  • opam install --deps-only . no longer recursively scans the entire project tree for extra-files, eliminating heavy I/O on large or uncommitted directories (#7101, open; fixes #7098).