Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Deprecate StringFrontend cache frontend
Can be drop-in replaced by VariableFrontend. There are no occurrences in core code except for in tests and comments. Configurations using this frontend can be automatically migrated on-the-fly. Such auto-migration is not part of this patch - this patch only touches the PHPDOC and documents the deprecation. Change-Id: I3b4b4979534857fa30b56d9967e8f919fc046ab9 Resolves: #81434 References: #81432 Releases: master Reviewed-on: https://review.typo3.org/53084 Reviewed-by: Frank Naegler <frank.naegler@typo3.org> Tested-by: Frank Naegler <frank.naegler@typo3.org> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
- Loading branch information
1 parent
3e46361
commit 6c8a2df
Showing
9 changed files
with
116 additions
and
26 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
32 changes: 32 additions & 0 deletions
32
...umentation/Changelog/master/Deprecation-81434-StringCacheFrontendDeprecated.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,32 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
====================================================== | ||
Deprecation: #81434 - String Cache Frontend Deprecated | ||
====================================================== | ||
|
||
See :issue:`81434` | ||
|
||
Description | ||
=========== | ||
|
||
The ``StringFrontend`` cache frontend has been deprecated in favor of VariableFrontend. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
The ``TYPO3\CMS\Core\Cache\Frontend\StringFrontend`` class is deprecated. | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
Any TYPO3 installation which defines any custom cache using ``StringFrontend``. | ||
|
||
|
||
Migration | ||
========= | ||
|
||
Replace ``TYPO3\CMS\Core\Cache\Frontend\StringFrontend`` occurrences in cache configurations with ``TYPO3\CMS\Core\Cache\Frontend\VariableFrontend``. | ||
|
||
.. index:: PHP-API, NotScanned |
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
2 changes: 1 addition & 1 deletion
2
...nit/Cache/Frontend/StringFrontendTest.php → ...ted/Cache/Frontend/StringFrontendTest.php
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