Breaking: #97450 - Removed hook for modifying version differences

See Issue #97450

Description

The hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['workspaces']['modifyDifferenceArray'] has been removed in favor of a new PSR-14 Event \TYPO3\CMS\Workspaces\Event\ModifyVersionDifferencesEvent.

Impact

Any hook implementation registered is not executed anymore in TYPO3 v12.0+. The extension scanner will report possible usages.

Affected Installations

All TYPO3 installations using this hook in custom extension code.

Migration

The hook is removed without deprecation in order to allow extensions to work with TYPO3 v11 (using the hook) and v12+ (using the new Event) when implementing the Event as well without any further deprecations. Use the PSR-14 Event as an improved replacement.