Tools covers builds, package management, editors, documentation and JavaScript compilation.
W33.2026 · 10–16 Aug/ocaml/opam
Fixes
opam init --reinit no longer exits with code 10 and prompts a retry after upgrading from a 2.1 root. Merged 2026-08-12.
- Generated PowerShell init script contained
if Test-Path … without required parentheses; #7070 (open) emits valid syntax and adds a Windows reftest.
- #7073 (open) disables
git gc/maintenance on repositories opam manages, reducing errors with recent git versions.
Features
- #7068 (open) makes
opam init --reinit regenerate the global switch list and per-switch caches, and detects $PWD/_opam as a local switch.
- #7076 proposes an
--ignore flag for opam lock to exclude optional dependencies and their transitive closure from generated lockfiles.
Compatibility and Releases
- #7067 (open) respects
--safe mode when an outdated cache file is encountered and restores debug output for opam list --debug --safe (fixes #7000).
- #7082 (open) corrects the documentation for conjunctions in
conflicts version formulas.