Fixes
-
opam (merged):
opam install --depext-onlynow returns a non-zero exit code when a package conflict is detected, fixing silent failures in CI scripts. #6516 closes #6488. -
opam (merged):
opam install --deps-onlynow resolvespin-dependsfields on simulated pins, restoring behaviour broken in 2.4. #6611 closes #6610. -
opam (merged): Repository up-to-date checks now inspect git submodule status, preventing stale submodules from being treated as current. #6153.
Features
-
opam (merged):
opam optionnow allows modifyingdefault-invariantafter initialisation, removing the need to recreate a switch to change the compiler constraint. #6730 closes #6724. -
opam (merged): The
OPAMAUTOANSWERenvironment variable is available for internal use, allowing scripted answers to interactive prompts. #6709.
Compatibility and Releases
-
opam (open PR): Sourcing
variables.shis skipped whenOPAM_SWITCH_PREFIXis already set, preventing duplicatePATH/MANPATHentries in subshells and fixing broken environments in VS Code terminals. #6729 targets #4649 and #6633. -
opam (open PR, WIP): HTTP repositories would be read directly from the downloaded tar.gz instead of being untarred, eliminating the 1+ minute extraction step during
opam updateandopam init. #6625 targets #5741 and related performance issues. -
opam (open PR): A new
opam repo show <reponame>command would display the URL and rank of a repository, with--allto list across all switches. #6720.