Issue Task Closed

#107057Deprecate auto-render assets sections

Torben Hansen 07/08/25, 12:48 updated 12/02/25, 13:57

Description

The sections HeaderAssets and FooterAssets introduced with #79413 have never been documented and are rarely used in the extension ecosystem. With the introduction of the asset collector API in #90522, the ViewHelpers f:asset.script and f:asset.css can be used to render assets for a website.

Users using the sections to render pre-render assets (e.g. rel=preload) should either use the PageRenderer directly via PHP or use the new ViewHelpers suggested in #107056.

The sections HeaderAssets and FooterAssets should therefore be deprecated with v14.

Reviews 3

History 510

  1. Torben Hansen commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-11-11T14:40:09+00:00" > 11/11/25, 14:40 </span>

    Applied in changeset commit:95b2b96a3fa3c4c5cd24d3f0b87f8f39929d4da6.