Deprecation: #86279 - Various Hooks and PSR-15 Middlewares
See forge#86279
Description
The new PSR-15-based middleware concept allows for a more fine-grained "hooking" mechanism when enhancing the HTTP Request or Response object.
The following hooks have therefore been marked as deprecated:
$GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['tslib_ fe- Post Proc'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['connect To DB'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['init FEuser'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['check Data Submission'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ index_ ts. php'] ['pre Be User'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ index_ ts. php'] ['post Be User'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ class. tslib_ fe. php'] ['check Alternative Id Methods- Post Proc'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['tslib/ index_ ts. php'] ['preprocess Request']
On top, some middlewares have only been introduced in order to execute these hooks, or due to, and are marked for internal use:
typo3/
cms- core/ normalized- params- attribute typo3/
cms- backend/ legacy- document- template typo3/
cms- backend/ output- compression typo3/
cms- backend/ response- headers typo3/
cms- frontend/ timetracker typo3/
cms- frontend/ preprocessing typo3/
cms- frontend/ eid typo3/
cms- frontend/ content- length- headers typo3/
cms- frontend/ tsfe typo3/
cms- frontend/ output- compression typo3/
cms- frontend/ prepare- tsfe- rendering typo3/
cms- frontend/ shortcut- and- mountpoint- redirect
As these middlewares are marked as internal, it is recommended not to reference them directly, as these might get removed in TYPO3 v10.
Impact
Making use of one of the hooks in an extension will trigger a PHP E_
error.
Affected Installations
TYPO3 instances with extensions using any of the hooks.
Migration
Use a custom PSR-15 middleware instead.