Repository navigation
4.2.0
Included commits: 4.1.2...4.2.0
Improvements
Original command (touch:cleanup) was used in Legacy Demoshop together with Collectors functionality to remove outdated Touch entities from spy_touch database table. The issue was tthat it could only process 100 entities per run. So in case you have more than that amount, you would need to execute this command several times.
This module version introduces new touch:clean-data command, which processes all outdated entities in one run, and it should be used instead of the old one.
Note: The command touch:clean-data is not enabled by default, as it makes sense only in Legacy Demoshop. To enable it, register Spryker\Zed\Touch\Communication\Console\TouchCleanDataConsole class in Pyz\Zed\Console\ConsoleDependencyProvider::getConsoleCommands().
- Deprecated
TouchFacade::removeTouchEntriesMarkedAsDeleted(). - Deprecated
TouchCleanUpConsoleconsole command. - Introduced
TouchCleanDataConsoleconsole command. - Introduced
TouchFacade::cleanTouchEntitiesForDeletedItemEvent(). - Console command
TouchCleanUpConsolewas replaced withTouchCleanDataConsolecommand that supports removing all of the entities marked as deleted instead of the first 100 records.