Skip to content

4.2.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 03 Sep 17:06
· 438 commits to master since this release

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 TouchCleanUpConsole console command.
  • Introduced TouchCleanDataConsole console command.
  • Introduced TouchFacade::cleanTouchEntitiesForDeletedItemEvent().
  • Console command TouchCleanUpConsole was replaced with TouchCleanDataConsole command that supports removing all of the entities marked as deleted instead of the first 100 records.