Thicket thicket
ocaml
REPOS 1

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

W32.2026 · 3–9 Augocaml/opam

Fixes

  • OpamCached no longer unconditionally removes an outdated cache file when safe_mode is set; the removal now respects the flag. Fixes a crash for tools linking opam libraries inside sandboxed builds. (#7066, #7067, open)

  • opam init --reinit now regenerates the list of valid switches and their package caches. Invalid switches are dropped; $PWD is added if $PWD/_opam is a valid switch. (#7068, open)

  • opam switch import now sets the switch invariant, which was previously omitted from the export file. Issue closed 2026-08-03. (#6982)

  • opam repo add with a git remote can fail with a maintenance.lock error due to a TOCTOU race with git's background maintenance. A git 2.55 fix is referenced; no opam-side patch yet. (#7031, open)

  • opam init --reinit no longer prompts the user to retry the command when upgrading from a 2.1 root. (#7058, open)

Features

  • A new check warns (or fails in strict mode) when .install root/rootexec target fields begin with another field prefix, catching malformed install scripts earlier. (#7039, open)

  • Repository loading from diff is being homogenised with the initial load path: only packages/ is scanned, and extrafiles in a files/ subdirectory are supported. (#6924, open)

Compatibility and Releases

  • Development version bumped to 2.7.0~alpha1~dev, signalling the start of the 2.7 cycle. (#7064, open)