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.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 PHP API as well, mainly due to removed code.

The following methods have been removed:

  • \TYPO3\CMS\Core\Page\PageRenderer->disableConcatenateCss()
  • \TYPO3\CMS\Core\Page\PageRenderer->enableConcatenateCss()
  • \TYPO3\CMS\Core\Page\PageRenderer->getConcatenateCss()
  • \TYPO3\CMS\Core\Page\PageRenderer->disableCompressCss()
  • \TYPO3\CMS\Core\Page\PageRenderer->enableCompressCss()
  • \TYPO3\CMS\Core\Page\PageRenderer->getCompressCss()
  • \TYPO3\CMS\Core\Page\PageRenderer->disableConcatenateJavascript()
  • \TYPO3\CMS\Core\Page\PageRenderer->enableConcatenateJavascript()
  • \TYPO3\CMS\Core\Page\PageRenderer->getConcatenateJavascript()
  • \TYPO3\CMS\Core\Page\PageRenderer->disableCompressJavascript()
  • \TYPO3\CMS\Core\Page\PageRenderer->enableCompressJavascript()
  • \TYPO3\CMS\Core\Page\PageRenderer->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 changed their signature:

  • \TYPO3\CMS\Core\Page\PageRenderer->addJsInlineCode() third argument unused
  • \TYPO3\CMS\Core\Page\PageRenderer->addCssInlineBlock() third argument unused
  • \TYPO3\CMS\Core\Page\PageRenderer->addJsFile() third and sixth argument unused
  • \TYPO3\CMS\Core\Page\PageRenderer->addJsFooterInlineCode() third argument unused
  • \TYPO3\CMS\Core\Page\PageRenderer->addJsFooterFile() third and sixth argument unused
  • \TYPO3\CMS\Core\Page\PageRenderer->addJsLibrary() fourth and seventh argument unused
  • \TYPO3\CMS\Core\Page\PageRenderer->addJsFooterLibrary() fourth and seventh argument unused
  • \TYPO3\CMS\Core\Page\PageRenderer->addCssFile() fifth and eighth argument unused
  • \TYPO3\CMS\Core\Page\PageRenderer->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'] and $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postProcess'] no longer receive the array keys compress and excludeFromConcatenation in the data array keys jsFiles, jsInline, jsLibs, cssFiles, cssInline and cssLibs.

Impact 

Calling above listed removed methods will raise PHP fatal errors, registrations for removed hooks are no longer executed, submitting ignored arguments has no impact anymore and hook consumers receive slightly different data from 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 and hooks.

Migration 

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

In general, extensions must no longer expect existence of code related to TypoScript configuration options config.compressCss, config.compressJs, config.concatenateCss, config.concatenateJs, resource property disableCompression and resource property 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'] and $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_pagerenderer.php']['render-postProcess'] , depending on their need. Existing hook registrations of these three should check if the implementations access the array keys compress and excludeFromConcatenation and avoid that. If really needed, affected code may need to determine TypoScript options from the $GLOBALS['TYPO3_REQUEST'] Request attribute frontend.typoscript directly. Another alternative is often to avoid the hook usages altogether by turning them 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: Nov 13, 2025 15:54

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