[ANN] opam 2.4.0~rc1

Hi everyone,

We are happy to announce the first release candidate of opam 2.4.0.

This is hopefully the first and last release candidate for opam 2.4, so we invite users to test it to spot previously unnoticed bugs as we soon head to the stable release.

Changes

  • :woman_scientist: Fix a regression in opam switch create <version> not working when all compilers of that version are flagged with avoid-version. This would have prevented users to use commands such as opam switch create 5.4.0~alpha1 (#6563).

  • :high_speed_train: Improve performance of opam update for users of local repositories that happen to be git repositories (for example if you’ve ever used opam repository add --kind local or similar). In particular the new OCaml implementation of patch, does not scan those VCS directories anymore, which made opam use a lot of RAM unnecessarily (#6560).

:open_book: You can read our blog post to read about the other more minor changes, and for even more details you can take a look at the release note or the changelog.

Try it!

The upgrade instructions are unchanged:

For Unix systems

bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh) --version 2.4.0~rc1"

or from PowerShell for Windows systems

Invoke-Expression "& { $(Invoke-RestMethod https://opam.ocaml.org/install.ps1) } -Version 2.4.0~rc1"

Please report any issues to the bug-tracker.

Happy hacking,
<> <> The opam team <> <> :camel:

6 Likes