Skip to content

feat: optional tauri auto-updater behind cargo feature#1149

Merged
7w1 merged 1 commit into
SableClient:devfrom
eleboucher:feat/optional-tauri-updater
Jul 20, 2026
Merged

feat: optional tauri auto-updater behind cargo feature#1149
7w1 merged 1 commit into
SableClient:devfrom
eleboucher:feat/optional-tauri-updater

Conversation

@eleboucher

@eleboucher eleboucher commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Add cargo feature (on by default) so downstream builders can disable the Tauri auto-updater with --no-default-features --features wry.

  • tauri-plugin-updater becomes an optional dependency
  • plugin registration gated by #[cfg(all(desktop, feature = updater))]
  • updater:default permission moved to its own capabilities/updater/updater.json
  • build.rs selects the capability glob based on the feature, since tauri-build fails on permissions from missing plugins

Description

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

@eleboucher
eleboucher requested review from 7w1 and hazre as code owners July 20, 2026 07:45
@eleboucher
eleboucher force-pushed the feat/optional-tauri-updater branch from 494aba3 to bbba899 Compare July 20, 2026 07:46
@7w1 7w1 added the internal label Jul 20, 2026
@7w1

7w1 commented Jul 20, 2026

Copy link
Copy Markdown
Member

conflicts D:

Add  cargo feature (on by default) so downstream builders can
disable the Tauri auto-updater with --no-default-features --features wry.

- tauri-plugin-updater becomes an optional dependency
- plugin registration gated by #[cfg(all(desktop, feature = updater))]
- updater:default permission moved to its own capabilities/updater/updater.json
- build.rs selects the capability glob based on the feature, since
  tauri-build fails on permissions from missing plugins
@eleboucher
eleboucher force-pushed the feat/optional-tauri-updater branch from bbba899 to 0ac23e9 Compare July 20, 2026 16:40
@7w1
7w1 added this pull request to the merge queue Jul 20, 2026
Merged via the queue into SableClient:dev with commit b059308 Jul 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants