Skip to content

v1.0.0

Latest

Choose a tag to compare

@StefanKarpinski StefanKarpinski released this 23 Nov 19:44
d9d529a

The first public release of Resolver.jl, a package version resolver for Julia built on a SAT solver (PicoSAT). It is Pkg's default resolver from Julia 1.14 on, through a vendored copy.

  • Complete. A SAT solver finds a resolution whenever one exists, unlike the belief-propagation heuristic it replaces.
  • Optimal, with configurable preferences. The answer is the unique Pareto-optimal resolution for a caller-supplied package priority and per-package version order. Strategies such as newest, oldest (downgrade), prefer-installed and keep-current can be mixed within one resolve.
  • Diagnoses when resolution fails. For an unsatisfiable problem it reports which requirements and constraints conflict, the chain of facts that shows why, and a menu of fixes, each verified to work.
  • Shrinks the problem first. Reachability analysis and redundancy elimination drop versions that can't appear in a solution, or that other versions dominate, before solving.
  • Generic core. src/ knows nothing about Julia versions or registries. The bin/resolve.jl command-line tool adapts it to real registries and can write a Manifest.toml; it backs julia-downgrade-compat.

See the README for more.