Thicket thicket
ocaml
REPOS 1

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

W28.2026 · 6–12 Julocaml/opam

Features

  • HTTP repositories are now stored as the downloaded tar.gz rather than extracted to disk. opam update and opam init no longer untar the index, eliminating a 1+ minute delay on Windows and network filesystems. #6625

  • .. paths are re-allowed in .install files, 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

  • opam 2.5.2 released, bundling the CVE-2026-57825 fix, the .. re-allow, and the real_path/starts_with corrections. Install scripts updated. #2.5.2, #7017

  • CI now builds against OCaml 5.5 and 4.14.4. The Cygwin build was repaired by updating gcc package constraints. #6988, #7007

Fixes

  • CVE-2026-57825: a symlink in a package's .install file 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_path now resolves .. components after a non-existent directory, matching its documented behaviour. Previously the path was returned unresolved. #7011

  • OpamFilename.starts_with and dir_starts_with no longer treat foo/bar as a prefix of foo/bar-baz. On Windows, / and \ are now equivalent in these comparisons. #6953

  • Exhaustive reftests for all .install fields were added. Testing revealed two open Windows bugs: libexec binaries fail to install, and files without a .exe extension are not removed on package removal. #6956, #7021, #7022