Skip to content

Releases: zenstruck/foundry

v1.32.0

11 May 07:28
Compare
Choose a tag to compare

27b4d7f feat: allow ModelFactory::findOrCreate() in unit tests (#461) by @nikophil
68c6a5e ci: add Symfony 6.3 to test matrix (#459) by @kbond
912f134 fix: makefile minor fixes (#451) by @nikophil
d8fafed minor: improve makefile (#449) by @nikophil
9cce6dc docs: add static ide hint to stories (#448) by @adrianrudnik

Full Change List

v1.31.0

27 Mar 23:25
Compare
Choose a tag to compare

ac35acf fix: nested factories not persisting should not throw error (#444) by @nikophil
d346c68 feat: Have delayFlush return the callback's return (#442) by @HypeMC

Full Change List

v1.30.3

22 Mar 17:11
Compare
Choose a tag to compare

c31d653 fix(RepositoryProxy::find()): allow not entity object in (#441) by @nikophil

Full Change List

v1.30.2

22 Mar 11:52
Compare
Choose a tag to compare

2f71013 fix: allow any object passed as find() criteria (#440) by @nikophil

Full Change List

v1.30.1

21 Mar 13:32
Compare
Choose a tag to compare

fba0933 fix: regression from embedded object in findOrCreate function (#438) by @nicolasne, Nicolas Nénon, @kbond

Full Change List

v1.30.0

20 Mar 13:37
Compare
Choose a tag to compare

c5ca551 refactor: deprecate AnonymousFactory class and factory() helper (#436) by @nikophil
837dbf6 fix(global state): register story as service in StoryManager (#434) by @nikophil
230f75e feat: findOrCreate() can use embeddables (#432) by @nikophil
cacf9ea minor: add conflict for doctrine/mongodb-odm for false deprecation (#435) by @kbond
6cc9541 fix: running array_values() on array attribute (#435) by @kbond
083a9b9 bug: add failing test for attribute that is array (#435) by @kbond
0094f09 refactor: simplify atrtibutes normalization (#423) by @nikophil
d8a94ce doc: Add introduction to index.rst for symfony.com accessibility (#429) by @GromNaN

Full Change List

v1.29.0

28 Feb 15:54
Compare
Choose a tag to compare

041b597 feat: add LazyValue to calculate attribute values only when needed (#427) by @kbond, @mpdude
5f4f679 feat(bundle): allow registering custom Faker Providers (#425) by @kbond
b0bd5cb fix: restore Factory::$cascadePersist (#424) by @nikophil
f8db2af minor: remove Factory::$cascadePersist (#422) by @nikophil
edcd083 fix(doc): return type syntax (#420) by @benblub, @OskarStark
bfb1134 feat: validate generate factory with static analysis (#419) by @nikophil
a7502e7 docs: show how to document magic methods in stories (#418) by @nikophil
bbc3b62 fix(ci): don't run fixcs/sync-with-template on forks (#417) by @kbond
c409dc7 minor(ci): drop testing unsupported Symfony versions (6.0/6.1) (#417) by @kbond
626acba fix: foundry should work witout maker bundle (#416) by @nikophil
0ff998a chore: migrate phpunit config-file (dama) for phpunit 9 format (#413) by @Chris53897, @Chris8934
30e0bdb feat(make:factory): match directory/namespace structure (#411) by @nikophil
a6d5ead docs: Replace annotations with attributes in docs (#412) by @ker0x

Full Change List

v1.28.0

24 Jan 10:44
Compare
Choose a tag to compare

e54c757 fix: remove type in closure in RepositoryProxy::proxyResult() (#410) by @nikophil
6f54bbb chore: easy way to require lowest deps (#407) by @nikophil
0a4b4ec feat: drop support of symfony 4, remove deprecation for console/command (#398) by @Chris53897, @Chris8934
467f62f feat(make:factory): handle name collision (#402) by @nikophil
1c96c86 chore: migrate phpunit config-file for phpunit 9 format (#404) by @Chris53897, @Chris8934
aac5aba docs: fix spelling of annotations in CHANGELOG.md (#403) by @Chris53897, @Chris8934
2875dd7 feat(make:factory): list embeddables (#400) by @nikophil
3a40f1a minor: meaningful error for faker in data provider (#399) by @nikophil
48398f1 feat(make:factory): default value for enum types (#393) by @nikophil
6cf06c4 tests: reactivate self deprecations (#392) by @nikophil

Full Change List

v1.27.0

09 Jan 14:40
Compare
Choose a tag to compare

7b97ac2 feat: add $criteria param to RepositoryAssertions::empty() (#391) by @nikophil

Full Change List

v1.26.0

29 Dec 20:16
Compare
Choose a tag to compare

79913c3 feat: create parameter to RepositoryAssertions::count() methods (#390) by @nikophil
4df0f40 chore: improve makefile (#382) by @nikophil
49da6a0 feat(make:factory): use autocompletion for no persistence classes (#383) by @nikophil

Full Change List