Deprecation: #85078 - PageRepository->versioningPreview

See Issue #85078

Description

The public property $versioningPreview in TYPO3\CMS\Frontend\Page\PageRepository has been marked as deprecated. The property was used in conjunction with $versioningWorkspaceId which is set to a workspace ID, in order to preview records of a workspace.

In order to ease the functionality for developers, only $versioningWorkspaceId is taken into account now, without needing to set $versioningPreview anymore.

Impact

Setting or reading this option will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

TYPO3 installations with extensions using this property.

Migration

Just set $versioningWorkspaceId and remove any calls to the property.