Skip to content

2.2.0~alpha2

Pre-release
Pre-release
Compare
Choose a tag to compare
@rjbou rjbou released this 25 Jul 13:11
· 345 commits to master since this release
a2638a5

This is the second alpha release of opam 2.2.0.

This alpha release contains new features, enhancements, updates & fixes. 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).

Changelog:

New feature

Init

  • Make opam init install Cygwin internally automatically by default instead of asking the user to install it manually [#5545 @rjbou @dra27]
  • Add --no-cygwin-setup, --cygwin-internal-install, --cygwin-local-install and --cygwin-location <path> experimental flags available only on Windows to permit non-interactive Cygwin configuration [#5545 @rjbou]

Enhancements, updates, and fixes

Var/Option

  • Error with more accurate message in case of package/self variable wrongly given as argument [#4903 @rjbou - fix #4489]
  • Handle package variable syntax in parse update regexp [#4903 @rjbou - fix #4489]

Lint

  • E29: The conflicts field's filter does not support package variables [#5535 @kit-ty-kate]

Admin

  • On linting, clean output when stdout is not tty [#5594 @rjbou]

Build

  • Run autoupdate to silence autogen warnings [#5555 @MisterDA]
  • Update bootstrap to use FlexDLL 0.43 from ocaml/flexdll [#5579 @MisterDA]
  • configure: Ensure a complementary (32bit on 64bit platforms and 64bit on 32bit platforms) C compiler is installed on Windows [#5522 @kit-ty-kate]
  • Bump version, authors [#5603 #5609 #5611 @rjbou]

Testing

Improve and extend tests

Improve test engine

Cram tests

Github Actions

Opam libraries API changes
opam-client
  • OpamInitDefault: add required_packages_for_cygwin packages tool list [#5545 @rjbou]
  • OpamClient.init: now propose to install internal Cygwin install [#5545 @rjbou]
  • OpamSolution.get_depext: do not confirm in case of internal Cygwin install [#5545 @rjbou]
  • OpamClient.init: add optional cygwin_setup argument to permit non interactive setup [#5545 @rjbou]
  • OpamCommands.init: add cygwin setup flags [#5545 @rjbou]
opam-state
  • OpamSysinteract.Cygwin: add install that performs a Cygwin install in opam internals [#5545 @rjbou @dra27]
  • OpamSysInteract.Cygwin: add is_internal [#5545 @rjbou]
  • OpamSysInteract.install: on Cygwin, upgrade automatically packages, and select local cache [#5545 @rjbou]
opam-core
  • OpamConsole.carriage_delete: no-op when not tty out [#5595 @rjbou]
  • OpamSystem.make_command: Remove the warning triggered when the command contained spaces [#5596 @rjbou - fix #5163]