Features
-
HTTP repositories are now stored as the downloaded tar.gz rather than extracted to disk.
opam updateandopam initno longer untar the index, eliminating a 1+ minute delay on Windows and network filesystems. #6625 -
..paths are re-allowed in.installfiles, reverting a 2.5.1 restriction that broke dune cross-compilation packages. Target paths are resolved before directory creation to avoid unnecessary intermediate directories. #7009
Compatibility and Releases
Fixes
-
CVE-2026-57825: a symlink in a package's
.installfile could bypass the switch prefix check and write files outside the switch without warning. Fixed on master and backported to 2.5. #7005 -
OpamSystem.real_pathnow resolves..components after a non-existent directory, matching its documented behaviour. Previously the path was returned unresolved. #7011 -
OpamFilename.starts_withanddir_starts_withno longer treatfoo/baras a prefix offoo/bar-baz. On Windows,/and\are now equivalent in these comparisons. #6953 -
Exhaustive reftests for all
.installfields were added. Testing revealed two open Windows bugs:libexecbinaries fail to install, and files without a.exeextension are not removed on package removal. #6956, #7021, #7022