Releases
opam 2.4.0-alpha1: First alpha of the 2.4 series, released 2025-04-18. See the blog post for upgrade instructions and the changelog.
Fixes
opam 2.4.0-alpha1: opam install <local_dir> now updates and stores pinned packages' metadata, closing a long-standing gap.
Compatibility
opam 2.4.0-alpha1: ✘ Patches now use the OCaml patch library; GNU patch and diff are no longer runtime dependencies. Context diffs are unsupported.
opam 2.4.0-alpha1: ✘ Symlinks in repositories are no longer supported. Only unified diffs (including git extensions) are accepted for patch application.
opam 2.4.0-alpha1: ✘ opam admin check removes --ignore-test-doc and now defaults with-test/with-doc to false instead of true.
Features
opam 2.4.0-alpha1: ◈ Stateless depexts support added, enabling Nix as an external dependency provider. apt-rpm/ALTLinux family support also included.
opam 2.4.0-alpha1: ◈ opam pin and opam pin list display the current revision of a pinned repository in a new column.
opam 2.4.0-alpha1: ◈ New OPAMSOLVERTOLERANCE environment variable sets a persistent solver timeout, avoiding repeated hangs on large switches.