Skip to content

v0.8.0

Choose a tag to compare

@jaspertey jaspertey released this 19 Oct 14:29
· 31 commits to main since this release
cf65460

Headline

Mod 0.8 can keep generated files up to date safely. A new experimental maintenance API updates the files a recipe or package generated, but only where they are untouched. Edited files and collisions with host files stop the update before anything is written, and interrupted updates can be resumed. It supports POSIX checkouts only. See Keeping generated files up to date.

Added

  • Experimental Tey\Mod\Maintenance API for keeping generated files up to date: Artifact, Checkout::inspect() and Maintenance::diagnose(), apply() and resume(). Mod compares each file's original, current and target bytes, replaces only untouched files, runs the host's checks and records the installed version last. Edited files and host-file collisions stop the update before any write. Interrupted updates can be resumed. POSIX checkouts only (#91).

What's Changed

Full Changelog: v0.7.2...v0.8.0