Releases
opam 2.5.0: Released 2025-11-27 with no significant changes from 2.5.0~beta1. Release notes
Fixes
opam performance (PR #6515, merged): Merged 2025-11-28. Reduces GC pressure in version comparison and cache unmarshalling; opam show drops from ~900 ms to ~380 ms on OCaml 5.4. PR
opam init (PR #5979, merged): Merged 2025-11-25. Displays an appropriate error when --config points to a missing file or VCS URL instead of triggering an assertion failure. PR
Features
opam env (PR #6812, open): Sets XDG_DATA_DIRS and FPATH in opam env output to enable bash and zsh completion from the active switch. PR
opam show (PR #6818, open): Reduces I/O by reading switch selections once instead of once per displayed package version. PR
Compatibility
opam 2.5.0 build (issue #6822, closed): Fails with Dune 3.20.0 due to an s-expression parsing regression; closed as a Dune-side issue. Issue
opam env_hook (issue #6815, open): The PROMPT_COMMAND hook re-prepends the switch bin to PATH before every prompt, overriding user-set prefixes. Issue
opam sandboxing on KDE Neon (issue #6820, open): bwrap fails with RTM_NEWADDR: Operation not permitted under KDE Neon's stricter AppArmor policies. Issue