Skip to content

Releases: zenstruck/foundry

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

v2.6.1

29 Jul 06:16

Choose a tag to compare

932c63a feat: rename foundry:load-stories to foundry:load-fixtures (#954) by @kbond
1d31275 Update index.rst (#945) by @treztreiz
e5e5162 fix: doctrine deprecation (#949) by @nikophil
dc54221 Update index.rst (#946) by @treztreiz
5ae21ec docs: fix forceSet() to _set() in example (#948) by @mariecharles, Marie CHARLES
56161cc feat: add randomRangeOrCreate() method (#932) by @elliotbruneel, Elliot Bruneel
2d28e67 test: ensure no deprecation when Factories used in parent class (#922) by @nikophil
b25eb60 minor: fix running phpunit w/o arguments (#933) by @kbond
f9b8132 minor: add UID types to factory maker (#936) by @HypeMC
030f7aa chore: temporarily disable cascade relationship combinations (#938) by @nikophil

Full Change List

v2.6.0

05 Jun 08:34

Choose a tag to compare

7e434ff feat: minor improvements to foundry:load-stories (#930) by @nikophil
bd50a86 merge 2.5.x into 2.x (#931) by @nikophil
159d700 doc: adjust flow (#923) by @kbond
ca95279 feat: Introduce #[AsFixture] attribute and foundry:load-fixture command (#903) by @nikophil

Full Change List

v2.5.5

04 Jun 12:44

Choose a tag to compare

8238e0f fix: remove useless Configuration::boted() check (#929) by @nikophil

Full Change List

v2.5.4

31 May 08:50

Choose a tag to compare

8e202b4 fix: TypeError FactoryCollection::create() when calling many with 0 (#925) by @jdecool

Full Change List

v2.5.3

30 May 09:30

Choose a tag to compare

01c5ce3 fix: should not use flush_after() in FactoryCollection::create() (#908) by @nikophil
7545b2f docs: Fix LazyValue namespace (#919) by @odolbeau
ccc309b docs: fix quote (#918) by @nikophil
f0ae498 docs: Fix save() -> _save() in documentation (#917) by @smnandre

Full Change List

v2.5.2

26 May 11:56

Choose a tag to compare

40ce8a2 fix: reuse should work with all kind of relationships (#915) by @nikophil
f6c81a0 fix: can use reuse with inheritance (#914) by @nikophil

Full Change List

v2.5.1

22 May 06:32

Choose a tag to compare

fe12d09 fix: add missing flush_once feature flag (#912) by @phasdev
f991999 docs: Fix data providers phpunit link (#906) by @alexander-schranz
19ddd55 docs: in memory behavior needs PhpUnit extension (#905) by @nikophil
6a0b4ac docs: improve docs for in-memory repositories (#904) by @nikophil

Full Change List