[!!!][TASK] Remove deprecated code from PageRepository
[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\Core\Crypto\PasswordHashing\AbstractComposedSalt`
15 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\ExtensionManagerConfigurationUtility`
16 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordService`
17 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility`
18 * :php:`TYPO3\CMS\Core\Encoder\JavaScriptEncoder`
19 * :php:`TYPO3\CMS\Core\Resource\Utility\BackendUtility`
20 * :php:`TYPO3\CMS\Core\Utility\ClientUtility`
21 * :php:`TYPO3\CMS\Core\Utility\PhpOptionsUtility`
22 * :php:`TYPO3\CMS\Workspaces\Service\AutoPublishService`
23 * :php:`TYPO3\CMS\Workspaces\Task\AutoPublishTask`
24 * :php:`TYPO3\CMS\Workspaces\Task\CleanupPreviewLinkTask`
25
26
27 The following PHP interfaces that have been previously deprecated for v9 have been removed:
28
29 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\ComposedPasswordHashInterface`
30
31
32 The following PHP class aliases that have been previously deprecated for v9 have been removed:
33
34 * :php:`TYPO3\CMS\Saltedpasswords\Exception\InvalidSaltException`
35 * :php:`TYPO3\CMS\Saltedpasswords\Salt\AbstractSalt`
36 * :php:`TYPO3\CMS\Saltedpasswords\Salt\AbstractComposedSalt`
37 * :php:`TYPO3\CMS\Saltedpasswords\Salt\Argon2iSalt`
38 * :php:`TYPO3\CMS\Saltedpasswords\Salt\BcryptSalt`
39 * :php:`TYPO3\CMS\Saltedpasswords\Salt\BlowfishSalt`
40 * :php:`TYPO3\CMS\Saltedpasswords\Salt\ComposedSaltInterface`
41 * :php:`TYPO3\CMS\Saltedpasswords\Salt\Md5Salt`
42 * :php:`TYPO3\CMS\Saltedpasswords\Salt\SaltFactory`
43 * :php:`TYPO3\CMS\Saltedpasswords\Salt\SaltInterface`
44 * :php:`TYPO3\CMS\Saltedpasswords\Salt\Pbkdf2Salt`
45 * :php:`TYPO3\CMS\Saltedpasswords\Salt\PhpassSalt`
46 * :php:`TYPO3\CMS\Saltedpasswords\SaltedPasswordsService`
47 * :php:`TYPO3\CMS\Saltedpasswords\Utility\ExensionManagerConfigurationUtility`
48 * :php:`TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility`
49
50
51 The following PHP class methods that have been previously deprecated for v9 have been removed:
52
53 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->convArray()`
54 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->convCaseFirst()`
55 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->crop()`
56 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->entities_to_utf8()`
57 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->parse_charset()`
58 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->utf8_char2byte_pos()`
59 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->utf8_to_entities()`
60 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Argon2iPasswordHash->getOptions()`
61 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Argon2iPasswordHash->setOptions()`
62 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BcryptPasswordHash->getOptions()`
63 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BcryptPasswordHash->setOptions()`
64 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getHashCount()`
65 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getMaxHashCount()`
66 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getMinHashCount()`
67 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getSaltLength()`
68 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->getSetting()`
69 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->setHashCount()`
70 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->setMaxHashCount()`
71 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishSalt->setMinHashCount()`
72 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->getSetting()`
73 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->getSaltLength()`
74 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getHashCount()`
75 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getMaxHashCount()`
76 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getMinHashCount()`
77 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getSaltLength()`
78 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getSetting()`
79 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->setHashCount()`
80 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->setMaxHashCount()`
81 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->setMinHashCount()`
82 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getHashCount()`
83 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getMaxHashCount()`
84 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getMinHashCount()`
85 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getSaltLength()`
86 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getSetting()`
87 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->setHashCount()`
88 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->setMaxHashCount()`
89 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->setMinHashCount()`
90 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getFirstWebPage()`
91 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getDomainStartPage()`
92 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getRootLine()`
93 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getRecordsByField()`
94 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->deleteClause()`
95 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->checkWorkspaceAccess()`
96 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getFileReferences()`
97
98
99 The following PHP static class methods that have been previously deprecated for v9 have been removed:
100
101 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause()`
102 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getOriginalTranslationTable()`
103 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getTCAtypes()`
104 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::storeHash()`
105 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getHash()`
106 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getListGroupNames()`
107 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getModTSconfig()`
108 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::unsetMenuItems()`
109 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl()`
110 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getPidForModTSconfig()`
111 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getDomainStartPage()`
112 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::shortcutExists()`
113 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::determineSaltingHashingMethod()`
114 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::getSaltingInstance()`
115 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory::setPreferredHashingMethod()`
116
117
118 The following methods changed signature according to previous deprecations in v9 at the end of the argument list:
119
120 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->conv()` - Fourth argument dropped
121 * :php:`TYPO3\CMS\Backend\Utility\BackendUtility::getPagesTSconfig()` - Second and third argument dropped
122 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->getHashedPassword()` - Second argument dropped
123 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->getHashedPassword()` - Second argument dropped
124 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->getHashedPassword()` - Second argument dropped
125 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->getHashedPassword()` - Second argument dropped
126 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->getRawRecord()` - Fourth argument dropped
127
128
129 The following public class properties have been dropped:
130
131 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->synonyms`
132 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->error_getRootLine_failPid`
133 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->error_getRootLine`
134 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->versioningPreview`
135 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->workspaceCache`
136
137
138 The following class methods have changed visibility:
139
140 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->base64Encode()` changed from public to protected
141 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash->isValidSalt()` changed from public to protected
142 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->base64Encode()` changed from public to protected
143 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash->isValidSalt()` changed from public to protected
144 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->base64Encode()` changed from public to protected
145 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash->isValidSalt()` changed from public to protected
146 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->base64Encode()` changed from public to protected
147 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash->isValidSalt()` changed from public to protected
148
149
150 The following class properties have changed visibility:
151
152 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->eucBasedSets` changed from public to protected
153 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->noCharByteVal` changed from public to protected
154 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->parsedCharsets` changed from public to protected
155 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->toASCII` changed from public to protected
156 * :php:`TYPO3\CMS\Core\Charset\CharsetConverter->twoByteSets` changed from public to protected
157 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->sys_language_uid` changed from public to protected
158 * :php:`TYPO3\CMS\Frontend\Page\PageRepository->versioningWorkspaceId` changed from public to protected
159
160 The following scheduler tasks have been removed:
161
162 * EXT:workspaces CleanupPreviewLinkTask
163 * EXT:workspaces AutoPublishTask
164
165 The following user TSconfig options have been dropped:
166
167 * Prefix `mod.` to override page TSconfig is ignored
168
169 The following constants have been dropped:
170
171 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::ITOA64`
172 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::HASH_COUNT`
173 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::MAX_HASH_COUNT`
174 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash::MIN_HASH_COUNT`
175 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash::ITOA64`
176 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::ITOA64`
177 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::HASH_COUNT`
178 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::MAX_HASH_COUNT`
179 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash::MIN_HASH_COUNT`
180 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::ITOA64`
181 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::HASH_COUNT`
182 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::MAX_HASH_COUNT`
183 * :php:`TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash::MIN_HASH_COUNT`
184
185
186 The following global options are ignored:
187
188 * :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/saltedpasswords']['saltMethods']`
189
190
191 The following language files and aliases have been removed:
192
193 * :php:`EXT:saltedpasswords/Resources/Private/Language/locallang.xlf`
194 * :php:`EXT:saltedpasswords/Resources/Private/Language/locallang_em.xlf`
195
196
197 Impact
198 ======
199
200 Instantiating or requiring the PHP classes, calling the PHP methods directly, will result in PHP fatal errors.
201
202 .. index:: Backend, CLI, FlexForm, Fluid, Frontend, JavaScript, LocalConfiguration, PHP-API, TCA, TSConfig, TypoScript, PartiallyScanned