TYPO3 Logo
TYPO3 Core Changelog
Options
Give feedback View source How to edit Edit on GitHub Full documentation (single file)

TYPO3 Core Changelog

  • ChangeLog v14
    • 14.1 Changes
    • 14.0 Changes
    • 14.x Changes by type
  • ChangeLog v13
    • 13.4.x Changes
    • 13.4 Changes
    • 13.3 Changes
    • 13.2 Changes
    • 13.1 Changes
    • 13.0 Changes
    • 13.x Changes by type
  • ChangeLog v12
    • 12.4.x Changes
    • 12.4 Changes
    • 12.3 Changes
    • 12.2 Changes
    • 12.1 Changes
    • 12.0 Changes
    • 12.x Changes by type
  • ChangeLog v11
    • 11.5.x Changes
    • 11.5 Changes
    • 11.4 Changes
    • 11.3 Changes
    • 11.2 Changes
    • 11.1 Changes
    • 11.0 Changes
    • 11.x Changes by type
  • ChangeLog v10
    • 10.4.x Changes
    • 10.4 Changes
    • 10.3 Changes
    • 10.2 Changes
    • 10.1 Changes
    • 10.0 Changes
    • 10.x Changes by type
  • ChangeLog v9
    • 9.5.x Changes
    • 9.5 Changes
    • 9.4 Changes
    • 9.3 Changes
    • 9.2 Changes
    • 9.1 Changes
    • 9.0 Changes
    • 9.x Changes by type
  • ChangeLog v8
    • 8.7.x Changes
    • 8.7 Changes
    • 8.6 Changes
    • 8.5 Changes
    • 8.4 Changes
    • 8.3 Changes
    • 8.2 Changes
    • 8.1 Changes
    • 8.0 Changes
    • 8.x Changes by type
  • ChangeLog v7
    • 7.6.x Changes
    • 7.6 Changes
    • 7.5 Changes
    • 7.4 Changes
    • 7.3 Changes
    • 7.2 Changes
    • 7.1 Changes
    • 7.0 Changes
    • 7.x Changes by type
  • Documenting Changes
  • Sitemap
  1. TYPO3 Core Changelog
  2. ChangeLog v14
  3. 14.0 Changes
  4. Breaking: #108055 - Removed PageRenderer related hooks and methods
Give feedback Edit on GitHub

Breaking: #108055 - Removed PageRenderer related hooks and methods 

See forge#108055

Description 

The removal of frontend asset concatenation and compression as described in Breaking: #108055 - Removed frontend asset concatenation and compression has some impact on the PHP API as well, mainly due to removed code.

The following methods have been removed from the class PageRenderer :

  • disableConcatenateCss()
  • enableConcatenateCss()
  • getConcatenateCss()
  • disableCompressCss()
  • enableCompressCss()
  • getCompressCss()
  • disableConcatenateJavascript()
  • enableConcatenateJavascript()
  • getConcatenateJavascript()
  • disableCompressJavascript()
  • enableCompressJavascript()
  • getCompressJavascript()

The following global configuration registry points have been removed:

  • $GLOBALS['TYPO3_CONF_VARS']['FE']['cssConcatenateHandler']
  • $GLOBALS['TYPO3_CONF_VARS']['FE']['cssCompressHandler']
  • $GLOBALS['TYPO3_CONF_VARS']['FE']['jsConcatenateHandler']
  • $GLOBALS['TYPO3_CONF_VARS']['FE']['jsCompressHandler']

The following hook has been removed:

  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_div.php']['minifyJavaScript']

The following methods of PageRenderer changed their signature. The noted arguments are now unused:

  • addJsInlineCode(): third argument unused
  • addCssInlineBlock(): third argument unused
  • addJsFile(): third and sixth argument unused
  • addJsFooterInlineCode(): third argument unused
  • addJsFooterFile(): third and sixth argument unused
  • addJsLibrary(): fourth and seventh argument unused
  • addJsFooterLibrary(): fourth and seventh argument unused
  • addCssFile(): fifth and eighth argument unused
  • addCssLibrary(): fifth and eighth argument unused

Additionally, registered hooks for:

  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess']
  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postTransform']
  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postProcess']

no longer receive the array keys compress or excludeFromConcatenation inside the following data array keys:

  • jsFiles
  • jsInline
  • jsLibs
  • cssFiles
  • cssInline
  • cssLibs

Impact 

Calling any of the removed methods listed above will raise PHP fatal errors. Registrations for removed hooks are no longer executed. Submitting ignored arguments has no effect anymore, and hook consumers receive slightly different data from the TYPO3 Core due to removed TypoScript configuration values.

Affected installations 

Instances with extensions dealing with low level asset manipulation may be affected. The extension scanner will find affected extensions when they call removed methods or hooks.

Migration 

There is no direct one-to-one migration in this case.

In general, extensions must no longer expect the existence of code related to the TypoScript configuration options config.compressCss, config.compressJs, config.concatenateCss, config.concatenateJs, and the resource properties disableCompression and excludeFromConcatenation.

The removed hooks and "handlers" can be turned into listeners of:

  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-preProcess']
  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postTransform']
  • $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postProcess']

depending on their needs.

Existing hook registrations of these three should check whether the implementations access the array keys compress and excludeFromConcatenation and avoid doing so. If required, affected code may need to determine TypoScript options from the $GLOBALS['TYPO3_REQUEST'] request attribute frontend.typoscript directly.

Another alternative is to avoid hook usage altogether by turning the implementations into PSR-15 middlewares instead.

  • Previous
  • Next
Reference to the headline

Copy and freely share the link

This link target has no permanent anchor assigned. You can make a pull request on GitHub to suggest an anchor. The link below can be used, but is prone to change if the page gets moved.

Copy this link into your TYPO3 manual.

  • Home
  • Contact
  • Issues
  • Repository

Last rendered: Dec 02, 2025 13:45

© since 1997 by the TYPO3 contributors
  • Legal Notice
  • Privacy Policy