The methods LocalizationRepository::getRecordLocalization() and LocalizationRepository::getPreviousLocalizedRecordUid()
have been marked as deprecated as they are not used in the core anymore, since https://review.typo3.org/#/c/47645/ was merged.