Skip to content

Releases: ocaml-opam/opam-0install-solver

0.5

17 Oct 11:05
f4e5478
Compare
Choose a tag to compare

CHANGES:

  • Update to opam 2.2.1 (@talex5 #59).
    The opam API changed and it had started failing with Invalid_argument("filter_deps").

  • When warning about "Unknown variable", say which package has the error (@talex5 #57).

0.4.4

08 Aug 10:33
11198d9
Compare
Choose a tag to compare

CHANGES:

  • Remove opam-0install-cudf (split off to its own repository) (@kit-ty-kate #55).

  • Avoid non-domain-safe global counter (@talex5 #53).

  • Add --dot option to output a dependency graph (@talex5 #48).

0.4.3

28 Apr 09:35
b759d7c
Compare
Choose a tag to compare

CHANGES:

  • Add ?opam_version to Dir_context.std_env (@emillon #36).
    It defaults to the version of opam libraries, but in some cases (e.g.
    ocaml-ci) it is useful to inject a value that comes from an external
    opam process.

  • Sort Reject after RealImpl (@emillon #33).
    This improves error messages by displaying Rejects first.

  • Expose diagnostics rolemap in Solver (@NathanReb #31).
    Allows library users to provide extra help on error.

  • Cmdliner 1.1.0 compatibility (@dra27 #40)

  • Fix compiler warnings from new fmt (@talex5 #32).

0.4.2

16 Jun 10:15
Compare
Choose a tag to compare

CHANGES:

0.4.1

22 Apr 16:32
Compare
Choose a tag to compare

CHANGES:

  • opam-0install-cudf: Remove unused (cmdliner) and unnecessary (fmt) dependencies
    for easier integration with opam.
    (@kit-ty-kate #28)

  • opam-0install: Be explicit that Ok values are not passed to Term.exit (@talex5 #24)

v0.4

09 Oct 12:22
06a8b6b
Compare
Choose a tag to compare

CHANGES:

v0.3

17 Sep 14:50
Compare
Choose a tag to compare

CHANGES:

  • opam-0install-cudf: Allow to tag packages as recommended when giving them to the solver (@kit-ty-kate #16)
    Recommanded packages might or might not be chosen by the solver depending on whether
    the most up-to-date Essential packages available are compatible with them.

  • Add an option to get the least up-to-date version of each packages (@kit-ty-kate #18)
    Option available in both opam-0install and opam-0install-cudf libraries
    as well as a new --prefer-oldest option to the opam-0install binary.

  • opam-0install-cudf: Remove the unnecessary dependency towards the opam library (@kit-ty-kate #15)

  • Documentation: Add a link to API docs in the README (@talex5 #14 #17)

v0.2

17 Jun 16:43
bd2df90
Compare
Choose a tag to compare

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 for opam-version (@talex5 #12).
    You will need to add an extra () argument to it to upgrade.

  • Evaluate a package's available expression in Dir_context (@talex5 #12).
    This isn't needed for Switch_context because the switch does it for us, but
    Dir_context could return packages with available: false.

  • Simplify the CONTEXT API (@talex5 #12).
    candidates now returns either Ok opam or Error 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).

v0.1

26 May 15:05
Compare
Choose a tag to compare

CHANGES:

Initial release.

opam-0install