[ANN] opam 2.4.0~beta1

Hi everyone,

We are happy and relieved to announce the first beta release of opam 2.4.0.

This version is an beta, we invite users to test it to spot previously unnoticed bugs as we head towards the stable release, which hopefully shouldn’t take too long.

Changes

  • :dragon_face: Fixed a handful of bugs in opam install --deps-only <local dir> more visible in 2.4, where some actions would use the local packages’ definition or write to the internal opam state as if they were actually pinned (#6529, #6532, #6501, #6535)

  • :yarn: Change the behaviour of --deps-only, where it no longer requires unicity of package version between the request and the installed packages. In other words, if you have pkg.1 installed, installing dependencies of pkg.2 no longer removes pkg.1. This also allows to install dependencies of conflicting packages when their dependencies are compliant (#6520)

  • :firecracker: Fixed a couple of regressions which would make opam update crash in some cases (#6513, #6527)

  • :window: Improve the prebuilt Windows binaries by including Cygwin’s setup-x86_64.exe in the binary itself as fallback, in case cygwin.com is inaccessible (#6498, #6538)

:open_book: 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~beta1"

or from PowerShell for Windows systems

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

Please report any issues to the bug-tracker.

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

11 Likes