Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[!!!][TASK] Always concatenate all given files in ResourceCompressor
ResourceCompressor allows to only concatenate files given in a given "baseDirectory" as separate option, which was used to only include files that are registered via TBE_STYLES for backend purposes. The functionality is removed to always concatenate all CSS files in TYPO3 Backend. A heavy dependency to DocumentTemplate of ALL backend functionality using PageRenderer is therefore removed. Resolves: #88758 Releases: master Change-Id: I07e2f15a3dd2298371db87ce2723ded0f6a56f31 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61296 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
- Loading branch information
1 parent
9aea7a6
commit 51041ae
Showing
6 changed files
with
87 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
.../Breaking-88758-SelectiveConcatenationOfCSSFilesInResourceCompressorRemoved.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
===================================================================================== | ||
Breaking: #88758 - Selective Concatenation of CSS files in ResourceCompressor removed | ||
===================================================================================== | ||
|
||
See :issue:`88758` | ||
|
||
Description | ||
=========== | ||
|
||
ResourceCompressor, used to merge and compress CSS and JS files, has had an option to only | ||
merge CSS files from selected folders. This was used to limit CSS files of skins for TYPO3 | ||
Backend files. | ||
|
||
The functionality has been removed, as all added CSS files are now merged into one file. | ||
|
||
As TYPO3 Frontend and TypoScript has a much more flexible system for adding CSS files, | ||
which should be concatenated, this change does not affect TYPO3 API of Frontend Requests. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
Calling ResourceCompressor->concatenateCssFiles() with a second argument has no effect anymore. | ||
|
||
Adding CSS files manually in TYPO3 Backend via custom extensions will now automatically be merged | ||
with the loaded CSS styles of :php:`$TBE_STYLES` skin. | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
TYPO3 installations with extensions adding third-party CSS files in the TYPO3 Backend, | ||
or extensions using ResourceCompressor directly. | ||
|
||
|
||
Migration | ||
========= | ||
|
||
None, as it is considered to be useful to have one larger CSS file for TYPO3 Backend. | ||
|
||
If necessary, add a CSS file manually via PageRenderer API which should be excluded from Concatenation. | ||
|
||
.. index:: PHP-API, FullyScanned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters