Deprecation: #82603 - Deprecate Storage module

See Issue #82603

Description

The RequireJS module TYPO3/CMS/Backend/Storage has been marked as deprecated. The module has been split into the modules TYPO3/CMS/Backend/Storage/Client and TYPO3/CMS/Backend/Storage/Persistent .

Impact

Using TYPO3/CMS/Backend/Storage will trigger a warning in the browser’s developer console.

Affected Installations

All extensions using TYPO3/CMS/Backend/Storage are affected.

Migration

Instead of using Storage.Client and Storage.Persistent use the introduced modules instead.

Example code:

define(['TYPO3/CMS/Backend/Storage/Persistent'], function(PersistentStorage) {
        if (!PersistentStorage.isset('my-key')) {
                PersistentStorage.set('my-key', 'foobar');
        }
});