Skip to content

1.36.0

Latest

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 01 Dec 14:10

Included commits: 1.35.0...1.36.0

Fixes

  • Fixed data import sending publish events before the transaction that wrote the rows was committed, so a queue worker could skip an entity. Events are now sent after each commit.
  • DataImporter::import() now commits the last partial bulk before the writer flush and the after-import hooks run.
  • When an import fails, the rows of the bulks that were already committed are now published.

Improvements

  • Introduced DataSetStepBrokerTransactionAwareInterface::endOpenTransaction() to commit the last partial bulk of a transaction-aware step broker.
  • Introduced DataImporterPublisher::triggerEventsWhenChunkIsFull(), which does not trigger events while a transaction is open.
  • Introduced DataImporterPublisher::triggerCommittedEvents(), which triggers all collected events unless a transaction is open.