v0.2
CHANGES:
-
Add a new
opam-0install-cudf
package (@kit-ty-kate #11).
This uses opam's CUDF API, allowing the solver to be used directly from within opam. -
Dir_context.std_env
now has some optional arguments, and also responds foropam-version
(@talex5 #12).
You will need to add an extra()
argument to it to upgrade. -
Evaluate a package's
available
expression inDir_context
(@talex5 #12).
This isn't needed forSwitch_context
because the switch does it for us, but
Dir_context
could return packages withavailable: false
. -
Simplify the
CONTEXT
API (@talex5 #12).
candidates
now returns eitherOk opam
orError pkg
for each package.
This is clearer than using an option type and avoids the need for a separate
load
function. It also makes it possible to filter packages based on the
content of the opam file without having to load it twice. We also no longer
bother loading the opam file for rejects (all we need is the name).