-
Notifications
You must be signed in to change notification settings - Fork 425
feat(updater): add allowDowngrades option #2726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(updater): add allowDowngrades option #2726
Conversation
Package Changes Through dd6e1a3There are 4 changes which include updater with minor, updater-js with minor, autostart with minor, autostart-js with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
I'm not entirely sure but maybe calling it ignore version check, and at let the compare version function always return true might be more generic? |
Oops never mind, I didn't look closely enough the implementation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, could you also add a change file here?
https://github.com/tauri-apps/plugins-workspace/blob/v2/.changes/readme.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Summary
This PR adds support for enabling downgrades via a JavaScript-side parameter in the updater plugin. Previously, downgrades could only be configured from the Rust side.
Additional Notes
I've also prepared a corresponding documentation update here:
tauri-docs PR
I assume this should be submitted once this PR is approved and merged?