---
title: "Deprecation: #86279 - Various Hooks and PSR-15 Middlewares"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-86279"
source: "Changelog/9.5/Deprecation-86279-VariousHooksAndPSR-15Middlewares.rst"
typo3-version: "9.5"
typo3-major: 9
type: "deprecation"
issue: 86279
forge: "https://forge.typo3.org/issues/86279"
tags: ["PHP-API", "FullyScanned", "ext:frontend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #86279 - Various Hooks and PSR-15 Middlewares {#deprecation-86279}

See [forge#86279](https://forge.typo3.org/issues/86279)

## Description {#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-PostProc']`
-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['connectToDB']`
-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['initFEuser']`
-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkDataSubmission']`
-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['preBeUser']`
-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['postBeUser']`
-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc']`
-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['preprocessRequest']`

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 {#impact}

Making use of one of the hooks in an extension will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

TYPO3 instances with extensions using any of the hooks.

## Migration {#migration}

Use a custom PSR-15 middleware instead.
