Thicket thicket
ocaml
REPOS 1

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

W26.2026 · 22–28 Junocaml/opam

Features

  • Merged: opam update/opam init now read HTTP repository archives via the ocaml-tar library instead of invoking the external tar tool, eliminating a full untar step. Part of the #6625 performance rework. (#6945)
  • Merged: A conditional hard-upgrade mechanism for the opam root is added, so the 2.6 repository-format migration triggers a full reinit only for affected users. (#6949)
  • Opened: opam source --dev and opam source should skip opam-specific git configuration (e.g. --depth=1); a full_fetch parameter is introduced to VCS.init. (#6955)

Compatibility and Releases

  • Opened: After upgrading opam (e.g. 2.5.0 → 2.5.1), stale ~/.opam/repo/state*.cache files cause opam list --safe to exceed 2 s, slowing Emacs/IDE startup. A warning and shell-hook auto-refresh are proposed. (#6975)
  • Opened: opam switch import does not restore the switch invariant (e.g. ocaml-base-compiler pin), which is a critical part of switch state. (#6982)

Fixes

  • Merged: opam config subst now handles absolute paths correctly; previously it misinterpreted the path as a basename. (#6936)
  • Merged: A lock-file filter referencing an undefined variable no longer crashes; the error is reported gracefully in strict mode and ignored in normal mode. (#6947)
  • Opened: On Windows, opam install dir/*.opam rejects / as a directory separator. A fix to the filename validation is proposed. (#6981, #6940)
  • Opened: opam fails when the git repository is owned by another local user (e.g. CI running as non-root). A fix adds git -c safe.directory=<dir>. (#6980, #6963)