Releases: zenstruck/foundry
v2.7.7
v2.7.6
95d2a96 fix: autorefresh should work after kernel shutdown (#1011) by @nikophil
0ea8430 tests: ensure OneToMany relationships are refreshed (#1010) by @nikophil
3c6faff fix: RepositoryAssertion::exist() $criteria should allow mixed (#1007) by @nikophil
81cc97d minor: accept as story any child of Story (#1006) by @alsciende
e99f3b0 chore: run rector CI with PHPUnit 12 (#1002) by @nikophil
v2.7.5
v2.7.4
v2.7.3
45214f7 fix: revert adding PersistManager::findBy() (#996) by @nikophil
b36b9b3 chore: upgrade PHPStan (#997) by @nikophil
55f2689 fix: edge case with Doctrine Middleware & early kernel boot (#993) by @HypeMC
9fa21b3 fix(repository): use IN() when an array is passed (#995) by @nikophil
cad1466 fix: handle readonly when refreshing from repository decorator (#989) by @nikophil
b4b2ffe fix: Enhanced random method with additional safety check. (#991) by @sofwar
v2.7.2
v2.7.1
v2.7.0
This release deprecates the proxy system in PHP 8.4 in favor of an auto-refresh mechanism which leverages PHP lazy objects.
Please follow the upgrade guide.
cd1b31a docs: add "Troubleshooting" section in upgrade guide (#943) by @nikophil
a83c249 feat: enable auto-refresh at factory level (#970) by @nikophil
32e9868 fix: few fixes after #972 (#943) by @nikophil
47b0d79 feat: use ghost objects for auto refresh mechanism (#967) (#943) by @nikophil
3a131ef minor: improve deprecation message (#943) by @nikophil
30df79d feat: auto-refresh objects from RepositoryDecorator (#943) by @nikophil
f675c37 minor: use ProxyGenerator::unwrap() instead of unproxy() and prevent deprec (#943) by @nikophil
9d04094 minor: remove PersistedObjectsTracker::reset() call in tear down (#943) by @nikophil
3e23fda refactor(maker): deprecate --with-phpdocs for PHP >=8.4 (#952) (#943) by @nikophil
61cabac docs: create upgrade guide to 2.7 and document auto-refresh (#951) (#943) by @nikophil
fe6374b feat: auto refresh with lazy object php84 enabled by config (#950) (#943) by @nikophil
9717676 feat: Rector rules to help migrating away from proxy (#941) (#943) by @nikophil
35e8da6 feat: use native proxies for object creation in data providers (#943) by @nikophil
02f85f2 feat: create proxy system with PHP 8.4 lazy proxies (#943) by @nikophil
v2.6.3
67a7731 fix: misc fixes when creating objects in data provider (#972) by @nikophil
5e068c4 fix: ignore PHPUnit warnings when dataprovider returns more data than test method accepts (#958) by @nikophil
0a65872 Fix proxying of classes that have tenative return types (#962) by @BackEndTea
f9e95cb fix: doctrine deprecation (#961) by @nikophil
c8256e3 Add support for Symfony 8 (#960) by @Kocal