Repository navigation
Release v2.1.0
Release v2.1.0
Changelog
Fixed
- FrankenPHP worker mode / long-running processes: a failed flush (deadlock or other error) no longer leaves the entity manager closed for later attempts and requests.
DeadlockRetryServiceresets a closed manager throughDoctrine\Persistence\ManagerRegistry(wired todoctrinewhen available) before retrying or rethrowing. Seedocs/FRANKENPHP-WORKER-AUDIT.md. flush()rethrows the original deadlock when the manager was closed by it, instead of failing on the retry withEntityManagerClosed(the unit of work cannot be replayed on a new manager).
Added
DeadlockRetryService::getEntityManager(): returns the current (open) entity manager, for use insideretry()callables.- Optional constructor arguments
?ManagerRegistry $managerRegistry = nulland?string $entityManagerName = null.
Changed
- QA: PHPStan FrankenPHP rulesets upgraded to
ruleset-classic.neon+ruleset-worker-strict.neon(worker-strict includes worker).
Documentation
- FrankenPHP worker audit (
docs/FRANKENPHP-WORKER-AUDIT.md), USAGE / UPGRADING for closed-manager recovery, Spec Kit baseline updated for FR-SVC-003/004 and FR-DI-001.
What's Changed
- chore(deps): bump friendsofphp/php-cs-fixer from 3.95.22 to 3.95.23 by @dependabot[bot] in #38
- chore(deps): bump rector/rector from 2.6.3 to 2.6.4 by @dependabot[bot] in #37
- fix(demo): pdo_mysql and MySQL retry for demo-smoke by @HecFranco in #39
- chore(deps): bump phpstan/phpstan from 2.2.10 to 2.2.13 in the phpstan group by @dependabot[bot] in #40
- chore(deps): bump rector/rector from 2.6.4 to 2.6.6 by @dependabot[bot] in #41
- chore(deps): bump friendsofphp/php-cs-fixer from 3.95.23 to 3.95.24 by @dependabot[bot] in #42
- chore(deps): bump phpstan/phpstan from 2.2.13 to 2.2.14 in the phpstan group by @dependabot[bot] in #43
- chore(deps): bump rector/rector from 2.6.6 to 2.6.7 by @dependabot[bot] in #44
- chore(deps): bump doctrine/orm from 3.7.0 to 3.7.1 by @dependabot[bot] in #45
Full Changelog: v2.0.9...v2.1.0