Repository navigation
Release v3.162.0
cratis extension update now shows what it will change and checks compatibility before it writes cratis.lock, and it refuses to write when the evidence it compared against is missing or invalid.
Changed
extension updateprints its preview before writing the lock; in plain output a real run lists each reference aswould-updatefollowed byWrote cratis.lock, while JSON output still reportsupdatedin a single final document on stdout, with the preview on stderr (part of #578)extension updatechecks the currently pinned contract against its lock hash before comparing, fetching and verifying it when it is not cached (part of #578)- Compatibility is checked against every use of the pinned extension across all systems, also when a single system is selected (part of #578)
- A changed version range is updated even when the resolved package is the same (part of #578)
Fixed
extension update --dry-runno longer persists approvals, cached packages or the lock (part of #578)- An update whose old or new contract cannot be parsed or resolved fails for that reference instead of being treated as compatible, also with the incompatibility override (part of #578)
extension updaterefuses to write whencratis.lockchanged while the update was being reviewed (part of #578)