Skip to content

Release v2.2.2

Choose a tag to compare

@github-actions github-actions released this 28 Oct 16:57
· 17 commits to main since this release

v2.2.2

Changelog

DoctrineDeadlockRetry: only driver-level deadlocks (SQLSTATE 40001 / MySQL 1213) are retried. See UPGRADING.

Fixed

  • Deadlock detection is limited to driver errors. Code 1213 matched on any exception in the chain, so an
    application exception using that code replayed the operation. Only DeadlockException, DBAL driver exceptions and
    PDOException (SQLSTATE 40001 or MySQL 1213) are retried now.

Documentation

  • USAGE: call retry() / flush() outside your own transactions; a deadlock rollback undoes the outer transaction.

What's Changed

Full Changelog: v2.2.1...v2.2.2