2.3.0~beta1
Pre-release
Pre-release
kit-ty-kate
released this
15 Oct 10:19
·
88 commits
to master
since this release
This is the first beta release of opam 2.3.0.
Binaries and full archive are signed by the opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92
).
Please see our blog post for a highlight on the major changes and upgrade instructions.
Changes
Pin
- [BUG] Fix an opam 2.1 regression where the initial pin of a local VCS directory would store untracked and ignored files. Those files would usually be cleaned before building the package, however git submodules would not be cleaned and would cause issues when paired with the new behaviour added in 2.3.0~alpha1 which makes opam error when git submodules fail to update (was previously a warning) [#6221 @rjbou - fix #5809]
Var
- [BUG] Fix a regression which would make opam crash on platforms where
getconf LONG_BIT
is not available (e.g. OpenBSD) [#6230 @kit-ty-kate - fix #6215]
Actions
- [BUG] Fix the installed packages internal cache, which was storing the wrong version of the opam file after a build failure. This could be triggered easily for users with custom repositories with non-populated extra-files [#6213 @kit-ty-kate]
Lint
Build
- Bump to lang dune to 2.8 and bump the requirement to dune >= 2.8, which was actually required in the previous alpha release [#6204 @kit-ty-kate]
- Bump the vendored version of dune to 3.16.0, cppo to 1.7.0 and extlib to 1.8.0 [#6223 @kit-ty-kate]
- Fix compilation with OCaml 5.3 when using the vendored extlib by updating to the 5.3 compatible version (e.g.
make cold
or./configure --with-vendored-deps
) [#6223 @kit-ty-kate] - Fix the compilation of opam on Windows with OCaml >= 5.0 (again) [#6216 @kit-ty-kate]
Release scripts
- Fix the release script after the bump of dune lang to 2.6 [#6204 @kit-ty-kate]
- Fix the release script after the introduction of
opam_core_stubs
[#6204 @kit-ty-kate] - Improve the release script by ignoring interactive questions asked by the FreeBSD package manager [#6204 @kit-ty-kate]
Testing and documentation
- Improve and extend the tests [#6135 #6221 #6213 #6219 @rjbou]
- Improve the test infrastructure [#6233 #6233 #6216 @rjbou @kit-ty-kate]
API updates
opam-state
opam-core
OpamStd.Sys.{get_terminal_columns,uname,getconf,guess_shell_compat}
: Harden the process calls to account for failures [#6230 @kit-ty-kate - fix #6215]OpamStd.Sys.{uname,getconf}
: now accepts only one argument as parameter, as per their documentation [#6230 @kit-ty-kate]OpamSystem
: addis_archive_from_string
that does the same thanis_archive
but without looking at the file, only analysing the string (extension) [#6219 @rjbou]