Skip to content

2.1.1

Compare
Choose a tag to compare
@AltGr AltGr released this 05 Nov 14:44
· 2578 commits to master since this release
838b017

This is the release of opam 2.1.1.

Binaries and full archive are signed by by opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92).

Changelog:

Bug fixes

Switch

  • Put back support for switch creation with packages argument and --packages option with cli 2.0, and a specific error message for cli 2.1 [#4853 @rjbou - fix #4843]
  • Fix set-invariant: default repos were loaded instead of switch repos [#4866 @rjbou]

External dependencies

  • Homebrew: Add support for casks and full-names [#4801 @kit-ty-kate]
  • Archlinux: handle virtual package detection [#4833 @rjbou - partial fix #4759]
  • Disable the detection of available packages on RHEL-based distributions. This fixes an issue on RHEL-based distributions where yum list used to detect available and installed packages would wait for user input without showing any output and/or fail in some cases [#4791 @kit-ty-kate - fixes #4790]

Sandbox

System

  • Fix reverting environment additions to PATH-like variables when several dirs added at once [#4861 @dra27]
  • Ensure setenv can use package variables defined during the build [#4841 @dra27]
  • OpamSystem: avoid calling Unix.environment at top level [#4789 @hannesm] [#4802 @kit-ty-kate - fix #4801]
  • Handle empty environment variable updates - missed cherry-pick from 2.0 [#4840 @dra27]

opam build

  • Fix the cold target in presence of an older OCaml compiler version on macOS
  • Fix vendored build on mingw-w64 with g++ 11.2 [#4835 @dra27]
  • Fix dose3 download url since gforge is gone [#4870 @avsm]

Misc

Many thanks to @AltGr and @rjbou (OCamlPro), @dra27 and @kit-ty-kate (OCaml Labs), @hannesm, @avsm and everyone who's helped with issue reports, comments and feedback.