[!!!][TASK] Remove deprecated code from TableController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 9.5 / 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 has been implemented, that allows running "old" wizards
14 on CLI (enabling extension authors to support both TYPO3 v8 and TYPO3 v9 with one
15 wizard).
16
17 The following methods have been marked as deprecated and will be removed with TYPO3 v10:
18
19 * [not scanned] :php:`AbstractUpdate::getTitle()`
20 * [not scanned] :php:`AbstractUpdate::setTitle()`
21 * [not scanned] :php:`AbstractUpdate::getIdentifier()`
22 * [not scanned] :php:`AbstractUpdate::setIdentifier()`
23 * [not scanned] :php:`AbstractUpdate::getDescription()`
24 * :php:`AbstractUpdate::executeUpdate()`
25 * :php:`AbstractUpdate::updateNecessary()`
26 * :php:`AbstractUpdate::getPrerequisites()`
27 * :php:`AbstractUpdate::setOutput()`
28 * :php:`AbstractUpdate::shouldRenderWizard()`
29 * :php:`AbstractUpdate::checkIfTableExists()`
30 * :php:`AbstractUpdate::installExtensions()`
31 * :php:`AbstractUpdate::markWizardAsDone()`
32 * :php:`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, PartiallyScanned, ext:install