[!!!][TASK] Remove deprecated code from TableController
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 9.5 / Deprecation-86279-VariousHooksAndPSR-15Middlewares.rst
1 .. include:: ../../Includes.txt
2
3 ==========================================================
4 Deprecation: #86279 - Various Hooks and PSR-15 Middlewares
5 ==========================================================
6
7 See :issue:`86279`
8
9 Description
10 ===========
11
12 The new PSR-15-based middleware concept allows for a more fine-grained "hooking" mechanism when enhancing the HTTP
13 Request or Response object.
14
15 The following hooks have therefore been marked as deprecated:
16
17 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['tslib_fe-PostProc']`
18 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['connectToDB']`
19 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['initFEuser']`
20 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkDataSubmission']`
21 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['preBeUser']`
22 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['postBeUser']`
23 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc']`
24 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['preprocessRequest']`
25
26 On top, some middlewares have only been introduced in order to execute these hooks, or due to, and are marked for
27 internal use:
28
29 * :file:`typo3/cms-core/normalized-params-attribute`
30 * :file:`typo3/cms-backend/legacy-document-template`
31 * :file:`typo3/cms-backend/output-compression`
32 * :file:`typo3/cms-backend/response-headers`
33 * :file:`typo3/cms-frontend/timetracker`
34 * :file:`typo3/cms-frontend/preprocessing`
35 * :file:`typo3/cms-frontend/eid`
36 * :file:`typo3/cms-frontend/content-length-headers`
37 * :file:`typo3/cms-frontend/tsfe`
38 * :file:`typo3/cms-frontend/output-compression`
39 * :file:`typo3/cms-frontend/prepare-tsfe-rendering`
40 * :file:`typo3/cms-frontend/shortcut-and-mountpoint-redirect`
41
42 As these middlewares are marked as internal, it is recommended not to reference them directly, as these might get removed
43 in TYPO3 v10.
44
45
46 Impact
47 ======
48
49 Making use of one of the hooks in an extension will trigger a PHP :php:`E_USER_DEPRECATED` error.
50
51
52 Affected Installations
53 ======================
54
55 TYPO3 instances with extensions using any of the hooks.
56
57
58 Migration
59 =========
60
61 Use a custom PSR-15 middleware instead.
62
63 .. index:: PHP-API, FullyScanned, ext:frontend