Features
opam envwill setXDG_DATA_DIRSandFPATHfor bash/zsh completion (open, by WardBrian). Adds the switch'sshareroot toXDG_DATA_DIRSand%{share}%/zsh/site-functionstoFPATHunder zsh.
Compatibility and Releases
- Version bumped to
2.7.0~alpha1~dev(open, by kit-ty-kate). Supersedes the closed2.6.0~alpha2~devbump.
Fixes
opam install .foono longer pins a mangled package nameoo(closed, unmerged, by MavenRain). Cuts the basename at the first dot and declines inference for dot-prefixed directories. Fixes #7043.opam switchdescription left empty on creation (open, by kit-ty-kate). Prevents stale auto-generated descriptions after a compiler upgrade. Fixes #7061.opam init --reinitno longer exits with code 10 when upgrading from a 2.1 root (open, by kit-ty-kate). Removes the "retry your command" prompt after a successful format upgrade. Fixes #7057.- CRLF line endings in repository files cause
opam updateto fail (open, by kit-ty-kate). Reported against opam-repo CI; no fix yet.