mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-10 22:38:44 +02:00
* feat(updater): restore cached updates and verify package bytes * fix(updater): keep cached update tests in the existing module * require signed version, verify bytes, cleanup * fix bump * fmt --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
520 B
520 B
updater, updater-js
| updater | updater-js |
|---|---|
| minor | minor |
Add Updater::restore_update to restore an update from cached release metadata, and Update::verify to verify package bytes using the configured signing key and signed-version policy. Restored updates always require the signature to bind the announced version.
Update::install now verifies the package bytes before installing them, and Updater::check resolves to None instead of a target error when the release is not an update and has no entry for the current target.