Skip to content

2.0.0~beta5

Pre-release
Pre-release
Compare
Choose a tag to compare
@AltGr AltGr released this 24 Nov 14:39
· 4718 commits to master since this release
cd0874d

This new beta brings many usability improvements and fixes. Most notably:

  • A new, clearer and more expressive format for depexts:. Opam can now directly extract them for the current system (opam-depext is still required to talk to the host package manager, although hooks are even possible to make that automatic)
  • Optimised use of the built-in solver, glpk is now also built in, hence not required to compile opam
  • Support for "locked" opam files and reproduceable build environments with the new pin-depends: field
  • A fix for a bug that appeared with OCaml 4.05.0, where installed executables where not found (requiring extra eval $(opam env))
  • Installed opam plugins can now be used even if the switch they were installed from is not currently selected

There is much more, please see the changelog for details.

NOTE: due to format changes, be careful when using the official 2.0 repository (at https://opam.ocaml.org/2.0): once it is switched to the new format, older betas will complain (depexts issues or post flags). Until then, this release will already work fine except for some possible quirks with depexts.