[TASK] Allow running AbstractUpdate wizards on CLI
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-86366-MethodsInAbstractUpdate.rst
1 .. include:: ../../Includes.txt
2
3 ===============================================
4 Deprecation: #86366 - Methods in AbstractUpdate
5 ===============================================
6
7 See :issue:`86366`
8
9 Description
10 ===========
11
12 To ease the update pain a compatibility layer for AbstractUpdate based
13 upgrade wizards will be implemented, that allows running "old" wizards
14 on CLI (enabling extension authors to support both v8 and v9 with one
15 wizard).
16
17 The following methods have been marked as deprecated and will be removed with TYPO3 v10:
18
19 * AbstractUpdate::getTitle()
20 * AbstractUpdate::setTitle()
21 * AbstractUpdate::getIdentifier()
22 * AbstractUpdate::setIdentifier()
23 * AbstractUpdate::getDescription()
24 * AbstractUpdate::executeUpdate()
25 * AbstractUpdate::updateNecessary()
26 * AbstractUpdate::getPrerequisites()
27 * AbstractUpdate::setOutput()
28 * AbstractUpdate::shouldRenderWizard()
29 * AbstractUpdate::checkIfTableExists()
30 * AbstractUpdate::installExtensions()
31 * AbstractUpdate::markWizardAsDone()
32 * AbstractUpdate::isWizardDone()
33
34 The class itself has also been marked as deprecated, construction will trigger a PHP :php:`E_USER_DEPRECATED` error.
35
36 Impact
37 ======
38
39 Calling the mentioned methods through an extended class will trigger a PHP :php:`E_USER_DEPRECATED` error.
40
41 All UpdateWizards extending AbstractUpdate gained cli capability since :issue:`86076`.
42
43 Affected Installations
44 ======================
45
46 Each instance with custom update wizards that extend AbstractUpdate.
47
48 Migration
49 =========
50
51 Use the interfaces instead the abstract class to define the capabilities of the Upgrade Wizard class.
52 See https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/9.4/Feature-86076-NewAPIForUpgradeWizards.html.
53
54 .. index:: Backend, CLI, PHP-API, FullyScanned, ext:install