Repository navigation
v0.7.0
Constraint-aware dependency resolution (R-3).
- Registry constraints: packages can declare which versions of their dependencies they work with, using
dep_constraintsin the registry (e.g. requests 1.2.0 → json>=3.0.1). Previously every transitive dependency resolved to its newest version, so pinningrequests = "=1.1.0"locked json 3.0.1, which it can't compile against. - Backtracking resolver: the newest versions satisfying every constraint are chosen, falling back to older versions when needed. For example,
requests >=1.0withjson =1.1.0resolves to requests 1.1.0. Conflicts list each constraint and its source. - Ranges:
>=1.0.0,<2.0.0is now supported inmojoproject.toml. - Linux HTTPS fix: binaries are built against tls 1.4.2, fixing an intermittent
cannot open /etc/ssl/certs/ca-certificates.crtfailure on Linux. - Compatibility: the lockfile format is unchanged, and existing
mojo.lockfiles install as before.