Hi everyone,
We are happy to announce the second alpha release of opam 2.4.0.
This version is an alpha, we invite users to test it to spot previously unnoticed bugs as we head towards the stable release.
What’s new?
-
opam switch create [name] <version>
will not include compiler packages flagged withavoid-version
/deprecated
in the generated invariant anymore. (#6494)
This will allow opam to avoid the use of theocaml-system
package unless actually explicitly requested by the user. The opam experience when theocaml-system
compiler is used is known to be prone to a variety of bugs and configuration issues.
This alpha made this change in order to provideopam switch create
with the same experience asopam init
, which will itself not chooseocaml-system
anymore since the previous alpha1 release. -
Fallback to the existing Cygwin package manager if its upgrade failed to be fetched (#6495, partial fix for #6474)
-
Fix various crashes and extreme performance issues when updating some opam repositories (#6448)
You can read our blog post for more information, 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~alpha2"
or from PowerShell for Windows systems
Invoke-Expression "& { $(Invoke-RestMethod https://opam.ocaml.org/install.ps1) } -Version 2.4.0~alpha2"
Please report any issues to the bug-tracker.
Happy hacking,
<> <> The opam team <> <>