Skip to content

2.2.0~beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@kit-ty-kate kit-ty-kate released this 19 Jan 09:08
· 583 commits to master since this release
cb228ac

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 upcoming 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).

Changelog:

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

  • Add a new git-location modifiable opam option used only on Windows [#5718 @rjbou - fix #5617]

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

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

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: on init and reinit add git lookup in windows checks [#5718 @rjbou]
  • OpamClient.init: add option git-location argument for git binary location configuration [#5718 @rjbou]
  • OpamTreeCommand.run: remove optional argument no_switch [@rjbou #5687]

opam-format

  • OpamFile.Config: add git-location field and its functions [#5718 @rjbou]

opam-core

  • OpamCoreConfig: add git_location field [#5718 @rjbou]
  • OpamStd.Env.cyg_env: add git location argument and labels cygbin and git_location [#5718 @rjbou]
  • OpamSystem.apply_cygpath: runs cygpath over the argument [#5723 @dra27 - function itself added in #3348]