feat(plugins): install an older version of a plugin (#2035)

Adds a version picker to the plugin admin panel, on desktop and mobile: every
published version with its own server-computed compatibility verdict, so the
client never re-derives semver range logic.

A deliberate non-latest pick sets an update hold on the row, which keeps the
update banner and "Update all" from immediately nagging the rollback away. The
hold releases when an install lands back on the newest compatible version by any
path, or when the admin resumes updates explicitly. An unresolvable registry
never sets one: refusing to pin on missing information beats silently muting
future updates.
This commit is contained in:
jubnl
2026-08-25 17:30:27 +02:00
committed by GitHub
parent b5c8182410
commit 4ba407aead
37 changed files with 1383 additions and 42 deletions
+13
View File
@@ -424,6 +424,19 @@ const admin: TranslationStrings = {
'admin.plugins.sortUpdates': 'Updates zuerst',
'admin.plugins.sortDownloads': 'Meiste Downloads',
'admin.plugins.updatesAvailable': '{count} Updates für deine Plugins verfügbar.',
'admin.plugins.newerNeedsTrek': 'v{version} verfügbar — benötigt TREK {range}',
'admin.plugins.versionsTitle': 'Versionen',
'admin.plugins.versionPickerTitle': 'Version wechseln — {name}',
'admin.plugins.versionSwitch': 'Zu {version} wechseln',
'admin.plugins.versionNeedsTrek': 'benötigt TREK {range}',
'admin.plugins.changeVersion': 'Version wechseln…',
'admin.plugins.noVersions': 'Keine veröffentlichten Versionen in der Registry gefunden.',
'admin.plugins.downgradeTitle': 'Dieses Plugin zurücksetzen?',
'admin.plugins.downgradeBody': 'Wechsel von v{from} zu v{to}: Von der neueren Version geschriebene Daten bleiben erhalten, und die ältere Version versteht sie möglicherweise nicht.',
'admin.plugins.downgradeConfirm': 'Zurücksetzen',
'admin.plugins.updatesHeld': 'Updates pausiert bei v{version}',
'admin.plugins.resumeUpdates': 'Updates fortsetzen',
'admin.plugins.updatesResumed': 'Updates fortgesetzt',
'admin.plugins.updateAll': 'Alle aktualisieren',
'admin.plugins.noMatchInstalled': 'Keine installierten Plugins passen zu deiner Suche.',
'admin.plugins.noMatchRegistry': 'Keine Plugins in der Registry passen zu deiner Suche.',