Skip to content

v0.1.1 — built-in self-update

Choose a tag to compare

@github-actions github-actions released this 12 Jul 10:19

dnz can now update itself:

  • New dnz update command — checks GitHub for the latest release and, if you're behind, downloads it (checksum-verified) and replaces the installed binary in place. --force reinstalls even when already current.
  • Source builds are protected: if the running binary came from cargo build or cargo install, dnz update refuses and prints the right rebuild command instead of overwriting it.
  • On Windows the running dnz.exe is renamed aside first (Windows locks running executables), with rollback if the install fails.
  • README gains an Updating section: dnz update, re-running the install one-liner, version pinning via DNZ_VERSION, and source-build updates.

No format or compression changes — archives are fully compatible.

Full Changelog: v0.1.0...v0.1.1