Deprecation: #89127 - Cleanup RecordHistory handling

See forge#89127


The following properties of the \TYPO3\CMS\Backend\History\RecordHistory class have been marked as deprecated:

  • changeLog
  • lastHistoryEntry

The properties are now protected and have a public getter function.

The following public methods of the \TYPO3\CMS\Backend\History\RecordHistory class have changed visibility from public to protected:

  • getHistoryEntry()
  • getHistoryData()

The following methods of the \TYPO3\CMS\Backend\History\RecordHistory class have been marked as deprecated:

  • createChangeLog(), use getChangeLog() instead
  • shouldPerformRollback()
  • getElementData(), use getElementInformation() instead
  • performRollback(), use RecordHistoryRollback::performRollback() instead
  • createMultipleDiff(), use getDiff() instead
  • setLastHistoryEntry(), use setLastHistoryEntryNumber() instead


Accessing these properties and methods directly will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

TYPO3 installations with custom extensions or TypoScript directly accessing these properties and methods.


Use the mentioned alternative methods and new classes.