2.2.0~beta1
Pre-release
Pre-release
kit-ty-kate
released this
19 Jan 09:08
·
763 commits
to master
since this release
This is the first beta release of opam 2.2.0.
This beta release contains new features, enhancements, updates & fixes compared to the previous 2.2.0~alpha3 release. Please see blog post for main new features highlights and upgrade instructions.
Binaries and full archive are signed by by opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92
, PR open to upload new ones).
Major changes
Init
- Check and advertise to use Git for Windows [#5718 @rjbou - fix #5617]
- Add the
--git-location
and--no-git-location
cli arguments for Windows [#5718 @rjbou - fix #5617]
Option
Build
- When compiling opam on Windows with MinGW, the resulting opam binary now contains
libstdc++
instead of requiring the DLL to be distributed alongside it or present in the environment [#5680 @kit-ty-kate - fix #5647] - Add
./configure --enable-static
to compile the opam binary statically on Linux [#5680 @kit-ty-kate - fix #5647]
Env
- Fix
opam env
containing carriage return on Cygwin [#5715 @dra27 @rjbou @kit-ty-kate - fix #5684] - Remove stray comments from pwsh and cmd env [#5715 @dra27]
Miscellaneous changes
Solver
- Fix debug logs showing up regardless of verbosity on macOS 12.7.1 / 13.6.3 / 14.2 and FreeBSD [#5769 @kit-ty-kate]
Build
- Upgrade to, and require mccs >= 1.1+17 [#5769 @kit-ty-kate]
Tree
- Fix
opam tree --dev
[#5687 @rjbou - fix #5675] - Fix
opam tree --no-switch
: instead of emptying the current switch from its installed packages, it load a fresh virtual switch [#5687 @rjbou - fix #5675]
Switch
- Display a more precise message when Ctrl-C'ing during an opam switch creation ("Switch left partially installed") [#5713 @rjbou - fix #5710]
Documentation
Testing
API updates
opam-client
OpamClient
: oninit
andreinit
add git lookup in windows checks [#5718 @rjbou]OpamClient.init
: add optiongit-location
argument for git binary location configuration [#5718 @rjbou]OpamTreeCommand.run
: remove optional argumentno_switch
[@rjbou #5687]