Skip to content

6.0.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 24 Jan 15:54
· 220 commits to master since this release

Included commits: 5.5.2...6.0.0

Improvements

  • AbstractCollector is amended to restrict data access per Store. AbstractCollector::isStorable() is introduced to allow to add/remove a record during "touch active" to manage store relations per store. AbstractCollector::getTouchCollectionToDelete() is Store aware.
  • AbstractDatabaseCollector::processBatchForExport() is enhanced. Exports "storable" items and removes those items which are not "storable" (anymore). The "Processed count" is the sum of exported and deleted item counts. Note: this element delete is not equal with the "touch deleted" action, which removes the entire entity from touch logic - with the current modification the entity stays in the touch logic as "touch active", but its actual search/storage related versions are removed on demand. This feature can be used to have some entities to be stored in some stores, but not in the others.
  • AbstractPdoCollector sets the current Store of the factorised CollectorQuery.
  • AbstractPropelCollector sets the current Store of the factorised CollectorQuery.
  • AbstractSearchPropelCollector::prepareCollectorScope() restricts spy_touch_search table to current Store. This affects child class queries.
  • AbstractStoragePropelCollector::joinStorageTableWithLocale() and AbstractStoragePropelCollector::joinStorageTable() restrict spy_touch_storage table to current Store. This affects child class queries.
  • AbstractCollectorQuery has a "storeTransfer" property which contains the current store as a transfer object.
  • Deprecated CollectorDependencyProvider::provideLocaleFacade() is removed.
  • (internal) AbstractTouchUpdater::bulkUpdate() has a mandatory Store ID argument before the optional arguments. This is required to assign spy_touch_storage and spy_touch_search record creation for current Store. Descendant Search/TouchUpdater and Storage/TouchUpdater classes filtering provided Store accordingly.
  • (internal) AbstractTouchUpdater::getCollectorKeyFromData() is renamed to AbstractTouchUpdater::findCollectorKeyFromData().