Skip to content

Releases: zenstruck/foundry

v2.7.7

23 Oct 06:51

Choose a tag to compare

7766a85 fix: only use PersistedObjectsTracker when auto-refresh is enabled (#1013) by @nikophil

Full Change List

v2.7.6

20 Oct 16:46

Choose a tag to compare

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

Full Change List

v2.7.5

10 Oct 11:41

Choose a tag to compare

81eacf5 docs: add a note about using make:factory --test (#1000) by @ttskch
660942d [Rector] Add rector to require-dev and use single autoload vendor for run PHPUnit (#1001) by @samsonasik
f06d58d fix: using refresh_all() with flush_after() (#999) by @HypeMC

Full Change List

v2.7.4

08 Oct 13:22

Choose a tag to compare

9489e83 fix: 🐛 use isser instead of constructor to apply autorefresh setting to Factory (#998) by @ttskch

Full Change List

v2.7.3

05 Oct 09:50

Choose a tag to compare

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

Full Change List

v2.7.2

25 Sep 05:36

Choose a tag to compare

97b60b6 fix: applyStateMethod should not be internal (#988) by @nikophil

Full Change List

v2.7.1

24 Sep 15:50

Choose a tag to compare

90866d2 fix(autorefresh): return fresh data from RepositoryDecorator methods (#983) by @nikophil
485746e fix(autorefresh): don't use clone to get the id values (#980) by @nikophil
21b659b chore: fix issue template (#982) by @nikophil
5d02ac6 Fix link to UPGRADE-2.7.md file (#978) by @Kocal

Full Change List

v2.7.0

17 Sep 15:34

Choose a tag to compare

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

Full Change List

v2.6.3

28 Aug 05:57

Choose a tag to compare

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

Full Change List

v2.6.2

05 Aug 14:02

Choose a tag to compare

6f4e920 fix(proxy): add autorefresh call for union and intersection return types (#959) by @BackEndTea
58fd89a feat: introduce method FactoryCollection::applyStateMethod() (#956) by @nikophil

Full Change List