[FEATURE] Register upgrade wizards via service tag
A new PHP Attribute "UpgradeWizard" is added, which is used to auto-configure and auto-register upgrade wizards. This replaces the registration via $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update'], which has therefore been deprecated together with the getIdentifier() method in the UpgradeWizardInterface. An upgrade wizards' unique identifier is now defined as first constructor argument of the new PHP attribute. Resolves: #99586 Releases: main Change-Id: Id93ed4c980f9057bb297853354ddcc9c4c23860e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77452 Reviewed-by:Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
Showing
- Build/phpstan/phpstan-baseline.neon 0 additions, 5 deletionsBuild/phpstan/phpstan-baseline.neon
- typo3/sysext/core/Documentation/Changelog/12.2/Deprecation-99586-RegistrationOfUpgradeWizardsViaGLOBALS.rst 76 additions, 0 deletions...recation-99586-RegistrationOfUpgradeWizardsViaGLOBALS.rst
- typo3/sysext/core/Documentation/Changelog/12.2/Feature-99586-RegistrationOfUpgradeWizardsViaServiceTag.rst 50 additions, 0 deletions...ature-99586-RegistrationOfUpgradeWizardsViaServiceTag.rst
- typo3/sysext/install/Classes/Attribute/UpgradeWizard.php 34 additions, 0 deletionstypo3/sysext/install/Classes/Attribute/UpgradeWizard.php
- typo3/sysext/install/Classes/Command/SetupCommand.php 6 additions, 1 deletiontypo3/sysext/install/Classes/Command/SetupCommand.php
- typo3/sysext/install/Classes/Command/UpgradeWizardListCommand.php 14 additions, 25 deletions...sext/install/Classes/Command/UpgradeWizardListCommand.php
- typo3/sysext/install/Classes/Command/UpgradeWizardRunCommand.php 20 additions, 31 deletions...ysext/install/Classes/Command/UpgradeWizardRunCommand.php
- typo3/sysext/install/Classes/Controller/InstallerController.php 1 addition, 1 deletion...sysext/install/Classes/Controller/InstallerController.php
- typo3/sysext/install/Classes/Service/SetupDatabaseService.php 4 additions, 9 deletions...3/sysext/install/Classes/Service/SetupDatabaseService.php
- typo3/sysext/install/Classes/Service/UpgradeWizardsService.php 91 additions, 81 deletions.../sysext/install/Classes/Service/UpgradeWizardsService.php
- typo3/sysext/install/Classes/ServiceProvider.php 3 additions, 1 deletiontypo3/sysext/install/Classes/ServiceProvider.php
- typo3/sysext/install/Classes/Updates/BackendGroupsExplicitAllowDenyMigration.php 2 additions, 5 deletions...asses/Updates/BackendGroupsExplicitAllowDenyMigration.php
- typo3/sysext/install/Classes/Updates/BackendModulePermissionMigration.php 2 additions, 5 deletions...tall/Classes/Updates/BackendModulePermissionMigration.php
- typo3/sysext/install/Classes/Updates/BackendUserLanguageMigration.php 2 additions, 5 deletions.../install/Classes/Updates/BackendUserLanguageMigration.php
- typo3/sysext/install/Classes/Updates/CollectionsExtractionUpdate.php 2 additions, 9 deletions...t/install/Classes/Updates/CollectionsExtractionUpdate.php
- typo3/sysext/install/Classes/Updates/DatabaseRowsUpdateWizard.php 2 additions, 8 deletions...sext/install/Classes/Updates/DatabaseRowsUpdateWizard.php
- typo3/sysext/install/Classes/Updates/FeLoginModeExtractionUpdate.php 2 additions, 9 deletions...t/install/Classes/Updates/FeLoginModeExtractionUpdate.php
- typo3/sysext/install/Classes/Updates/MigrateSiteSettingsConfigUpdate.php 2 additions, 5 deletions...stall/Classes/Updates/MigrateSiteSettingsConfigUpdate.php
- typo3/sysext/install/Classes/Updates/ShortcutRecordsMigration.php 2 additions, 5 deletions...sext/install/Classes/Updates/ShortcutRecordsMigration.php
- typo3/sysext/install/Classes/Updates/SvgFilesSanitization.php 5 additions, 9 deletions...3/sysext/install/Classes/Updates/SvgFilesSanitization.php
Please register or sign in to comment