[!!!][TASK] Remove deprecated code from TemplateService
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Breaking-87193-DeprecatedFunctionalityRemoved.rst
1 .. include:: ../../Includes.txt
2
3 ===================================================
4 Breaking: #87193 - Deprecated functionality removed
5 ===================================================
6
7 See :issue:`87193`
8
9 Description
10 ===========
11
12 The following PHP classes that have been previously deprecated for v9 have been removed:
13
14 * :php:`TYPO3\CMS\Backend\Module\AbstractFunctionModule`
15 * :php:`TYPO3\CMS\Backend\Module\AbstractModule`
16 * :php:`TYPO3\CMS\Backend\Module\BaseScriptClass`
17 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\AbstractComposedSalt`
18 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\ExtensionManagerConfigurationUtility`
19 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordService`
20 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility`
21 * :php:`TYPO3\CMS\Core\Encoder\JavaScriptEncoder`
22 * :php:`TYPO3\CMS\Core\Resource\Utility\BackendUtility`
23 * :php:`TYPO3\CMS\Core\Utility\ClientUtility`
24 * :php:`TYPO3\CMS\Core\Utility\PhpOptionsUtility`
25 * :php:`TYPO3\CMS\Workspaces\Service\AutoPublishService`
26 * :php:`TYPO3\CMS\Workspaces\Task\AutoPublishTask`
27 * :php:`TYPO3\CMS\Workspaces\Task\CleanupPreviewLinkTask`
28
29
30 The following PHP interfaces that have been previously deprecated for v9 have been removed:
31
32 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\ComposedPasswordHashInterface`
33
34
35 The following PHP class aliases that have been previously deprecated for v9 have been removed:
36
37 * :php:`TYPO3\CMS\Saltedpasswords\Exception\InvalidSaltException`
38 * :php:`TYPO3\CMS\Saltedpasswords\Salt\AbstractSalt`
39 * :php:`TYPO3\CMS\Saltedpasswords\Salt\AbstractComposedSalt`
40 * :php:`TYPO3\CMS\Saltedpasswords\Salt\Argon2iSalt`
41 * :php:`TYPO3\CMS\Saltedpasswords\Salt\BcryptSalt`
42 * :php:`TYPO3\CMS\Saltedpasswords\Salt\BlowfishSalt`
43 * :php:`TYPO3\CMS\Saltedpasswords\Salt\ComposedSaltInterface`
44 * :php:`TYPO3\CMS\Saltedpasswords\Salt\Md5Salt`
45 * :php:`TYPO3\CMS\Saltedpasswords\Salt\SaltFactory`
46 * :php:`TYPO3\CMS\Saltedpasswords\Salt\SaltInterface`
47 * :php:`TYPO3\CMS\Saltedpasswords\Salt\Pbkdf2Salt`
48 * :php:`TYPO3\CMS\Saltedpasswords\Salt\PhpassSalt`
49 * :php:`TYPO3\CMS\Saltedpasswords\SaltedPasswordsService`
50 * :php:`TYPO3\CMS\Saltedpasswords\Utility\ExensionManagerConfigurationUtility`
51 * :php:`TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility`
52
53
54 The following PHP class methods that have been previously deprecated for v9 have been removed:
55
56 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->convArray()`
57 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->convCaseFirst()`
58 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->crop()`
59 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->entities_to_utf8()`
60 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->parse_charset()`
61 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->utf8_char2byte_pos()`
62 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->utf8_to_entities()`
63 * :php:`TYPO3\CMS\Core\Core\Bootstrap->__construct()`
64 * :php:`TYPO3\CMS\Core\Core\Bootstrap->configure()`
65 * :php:`TYPO3\CMS\Core\Core\Bootstrap->createApplicationContext()`
66 * :php:`TYPO3\CMS\Core\Core\Bootstrap->checkIfEssentialConfigurationExists()`
67 * :php:`TYPO3\CMS\Core\Core\Bootstrap->defineTypo3RequestTypes()`
68 * :php:`TYPO3\CMS\Core\Core\Bootstrap->disableCoreCaches()`
69 * :php:`TYPO3\CMS\Core\Core\Bootstrap->getEarlyInstance()`
70 * :php:`TYPO3\CMS\Core\Core\Bootstrap->getEarlyInstances()`
71 * :php:`TYPO3\CMS\Core\Core\Bootstrap->getInstance()`
72 * :php:`TYPO3\CMS\Core\Core\Bootstrap->initializeCachingFramework()`
73 * :php:`TYPO3\CMS\Core\Core\Bootstrap->initializePackageManagement()`
74 * :php:`TYPO3\CMS\Core\Core\Bootstrap->loadConfigurationAndInitialize()`
75 * :php:`TYPO3\CMS\Core\Core\Bootstrap->populateLocalConfiguration()`
76 * :php:`TYPO3\CMS\Core\Core\Bootstrap->setEarlyInstance()`
77 * :php:`TYPO3\CMS\Core\Core\Bootstrap->setFinalCachingFrameworkCacheConfiguration()`
78 * :php:`TYPO3\CMS\Core\Core\Bootstrap->setRequestType()`
79 * :php:`TYPO3\CMS\Core\Core\Bootstrap->usesComposerClassLoading()`
80 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Argon2iPasswordHash->getOptions()`
81 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Argon2iPasswordHash->setOptions()`
82 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BcryptPasswordHash->getOptions()`
83 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BcryptPasswordHash->setOptions()`
84 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getHashCount()`
85 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getMaxHashCount()`
86 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getMinHashCount()`
87 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getSaltLength()`
88 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getSetting()`
89 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->setHashCount()`
90 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->setMaxHashCount()`
91 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->setMinHashCount()`
92 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->getSetting()`
93 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->getSaltLength()`
94 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getHashCount()`
95 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getMaxHashCount()`
96 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getMinHashCount()`
97 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getSaltLength()`
98 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getSetting()`
99 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->setHashCount()`
100 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->setMaxHashCount()`
101 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->setMinHashCount()`
102 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getHashCount()`
103 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getMaxHashCount()`
104 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getMinHashCount()`
105 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getSaltLength()`
106 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getSetting()`
107 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->setHashCount()`
108 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->setMaxHashCount()`
109 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->setMinHashCount()`
110 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->getFileName()`
111 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->getFromMPmap()`
112 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->init()`
113 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->initMPmap_create()`
114 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->linkData()`
115 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->printTitle()`
116 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getFirstWebPage()`
117 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getDomainStartPage()`
118 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getRootLine()`
119 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getRecordsByField()`
120 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->deleteClause()`
121 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->checkWorkspaceAccess()`
122 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getFileReferences()`
123
124
125 The following PHP static class methods that have been previously deprecated for v9 have been removed:
126
127 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause()`
128 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getOriginalTranslationTable()`
129 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getTCAtypes()`
130 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::storeHash()`
131 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getHash()`
132 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getListGroupNames()`
133 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getModTSconfig()`
134 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::unsetMenuItems()`
135 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl()`
136 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getPidForModTSconfig()`
137 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getDomainStartPage()`
138 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::shortcutExists()`
139 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::determineSaltingHashingMethod()`
140 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::getSaltingInstance()`
141 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::setPreferredHashingMethod()`
142
143
144 The following methods changed signature according to previous deprecations in v9 at the end of the argument list:
145
146 * :php:`TYPO3\CMS\Backend\Http\RouteDispatcher->dispatch() - Second argument dropped
147 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getPagesTSconfig()` - Second and third argument dropped
148 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->conv()` - Fourth argument dropped
149 * :php:`TYPO3\CMS\Core\Core\Bootstrap->checkIfEssentialConfigurationExists()` - First argument mandatory
150 * :php:`TYPO3\CMS\Core\Core\Bootstrap->populateLocalConfiguration()` - First argument mandatory
151 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->getHashedPassword()` - Second argument dropped
152 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->getHashedPassword()` - Second argument dropped
153 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getHashedPassword()` - Second argument dropped
154 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getHashedPassword()` - Second argument dropped
155 * :php:`TYPO3\CMS\Core\Http\Dispatcher->dispatch() - Second argument dropped
156 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getRawRecord()` - Fourth argument dropped
157
158
159 The following public class properties have been dropped:
160
161 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->synonyms`
162 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->allowedPaths`
163 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->debug`
164 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->fileCache`
165 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->frames`
166 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->MPmap`
167 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->whereClause`
168 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->error_getRootLine_failPid`
169 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->error_getRootLine`
170 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->versioningPreview`
171 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->workspaceCache`
172
173
174 The following class methods have changed visibility:
175
176 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->base64Encode()` changed from public to protected
177 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->isValidSalt()` changed from public to protected
178 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->base64Encode()` changed from public to protected
179 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->isValidSalt()` changed from public to protected
180 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->base64Encode()` changed from public to protected
181 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->isValidSalt()` changed from public to protected
182 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->base64Encode()` changed from public to protected
183 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->isValidSalt()` changed from public to protected
184 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->flattenSetup()` changed from public to protected
185 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->mergeConstantsFromPageTSconfig()` changed from public to protected
186 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->prependStaticExtra()` changed from public to protected
187 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->processIncludes()` changed from public to protected
188 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->substituteConstants()` changed from public to protected
189 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->versionOL()` changed from public to protected
190
191
192 The following class properties have changed visibility:
193
194 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->eucBasedSets` changed from public to protected
195 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->noCharByteVal` changed from public to protected
196 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->parsedCharsets` changed from public to protected
197 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->toASCII` changed from public to protected
198 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->twoByteSets` changed from public to protected
199 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->sys_language_uid` changed from public to protected
200 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->versioningWorkspaceId` changed from public to protected
201 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->absoluteRootLine` changed from public to protected
202 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->matchAll` changed from public to protected
203 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->nextLevel` changed from public to protected
204 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->outermostRootlineIndexWithTemplate` changed from public to protected
205 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->rootId` changed from public to protected
206 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->rowSum` changed from public to protected
207 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->sectionsMatch` changed from public to protected
208 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->simulationHiddenOrTime` changed from public to protected
209 * :php:`TYPO3\CMS\Core\TypoScript\TemplateService->sitetitle` changed from public to protected
210
211
212 The following scheduler tasks have been removed:
213
214 * EXT:workspaces CleanupPreviewLinkTask
215 * EXT:workspaces AutoPublishTask
216
217
218 The following user TSconfig options have been dropped:
219
220 * Prefix `mod.` to override page TSconfig is ignored
221
222
223 The following constants have been dropped:
224
225 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::ITOA64`
226 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::HASH_COUNT`
227 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::MAX_HASH_COUNT`
228 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::MIN_HASH_COUNT`
229 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash::ITOA64`
230 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::ITOA64`
231 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::HASH_COUNT`
232 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::MAX_HASH_COUNT`
233 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::MIN_HASH_COUNT`
234 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::ITOA64`
235 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::HASH_COUNT`
236 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::MAX_HASH_COUNT`
237 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::MIN_HASH_COUNT`
238
239
240 The following global options are ignored:
241
242 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/saltedpasswords']['saltMethods']`
243
244
245 The following language files and aliases have been removed:
246
247 * :php:`EXT:saltedpasswords/Resources/Private/Language/locallang.xlf`
248 * :php:`EXT:saltedpasswords/Resources/Private/Language/locallang_em.xlf`
249
250
251 The following global variables have been removed:
252
253 * :php:`$GLOBALS['TYPO3_LOADED_EXT']`
254
255
256 The following feature is now always enabled:
257
258 * :php:`simplifiedControllerActionDispatching` - Backend controller actions do not receive a prepared response object anymore
259
260
261 Impact
262 ======
263
264 Instantiating or requiring the PHP classes, calling the PHP methods directly, will result in PHP fatal errors.
265
266 .. index:: Backend, CLI, FlexForm, Fluid, Frontend, JavaScript, LocalConfiguration, PHP-API, TCA, TSConfig, TypoScript, PartiallyScanned