2.6.0~beta1
Pre-release
Pre-release
This is the first beta release of opam 2.6.0.
Binaries and full archive are signed by the opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92).
To verify the authenticity of one of these files, run the following commands:
curl -fsSLO https://opam.ocaml.org/opam-dev-pubkey.pgp
gpg --import opam-dev-pubkey.pgp
gpg --verify *.sig
Please see our blog post for more details and the upgrade instructions.
Changes
Init
- Do not make
opam init --reinitask to retry the command when upgrading from a 2.1 root [#7058 @kit-ty-kate - fix #7057] opam init --reinitnow regenerate the list of valid switches, fix switch internal data (cache, config, packages) [#7068 @kit-ty-kate - fix #7066]
VCS
- Disable git gc/maintenance on repositories opam maintains to avoid git underlying job from blocking opam [#7073 @kit-ty-kate - partially fix #7031]
Safe mode
- Respect safe mode when encountering an outdated cache file [#7067 @kit-ty-kate - fix #7066]
- Stop resetting debuglevel to 0 in safe mode [#7091 @kit-ty-kate - fix #7000]
Internal
- Add debug log when switch list is fixed [#7068 @rjbou]
- Add level 4 debug output of the patch operations during a load from diff [#7072 @kit-ty-kate]
- Improve and extend the testsuite [#7069 #7058 #7068 #7092 #7067 @rjbou @kit-ty-kate]
- Improve and extend the test infrastructure [#7071 #7092 #7094 #7033 @rjbou @kit-ty-kate]
API updates
opam-core:
OpamStd.Env: Add theraw = string arraytype alias [#7073 @kit-ty-kate]OpamStd.Env: Add theget_from_arrayandadd_and_replacefunctions [#7073 @kit-ty-kate]