Skip to content

Releases: zenstruck/foundry

v1.7.1

06 Feb 14:17
6bab709
Compare
Choose a tag to compare
  • 6bab709 [bug] fix unmanaged many-to-one entity problem (fixes #114) (#117) (Kevin Bond)
  • b92a69a [minor] adjust cs-check gh action and fix cs (#116) (Kevin Bond)

v1.7.0

17 Jan 17:15
9d42401
Compare
Choose a tag to compare
  • 149ea48 [feature] Remove "visual duplication" of ModelFactory::new()->create() (#111) (Wouter J)
  • 0c69967 [feature] Added ModelFactory::randomOrCreate() (#108) (Wouter J)
  • 574c246 [minor] use zenstruck/callback for Proxy::executeCallback() (#107) (Kevin Bond)
  • 07f1ffe [minor] apply suggested psalm fix (#102) (Kevin Bond)
  • e53b834 [minor] enable code coverage action to work with xdebug 3 (Kevin Bond)
  • 6ea273b [minor] psalm-suppress InternalMethod (Kevin Bond)
  • 1dbbab8 [minor] add codecov badge (#98) (Kevin Bond)
  • 77f7ce0 [minor] switch to codecov (Kevin Bond)
  • f269dc4 [minor] use ramsey/composer-install in static-analysis job (#97) (Kevin Bond)
  • 0ca5479 [minor] Streamline GitHub CI by using ramsey/composer-install (#96) (Wouter J)
  • 8511d7a [minor] Re-enable Psalm and fixed annotations (#95) (Wouter J)

v1.6.0

07 Dec 13:45
5085bf1
Compare
Choose a tag to compare
  • c3f38d2 [minor] use local kernel instance in Factories and ResetDatabase traits (Kevin Bond)
  • 88db502 [doc] document the need to create test client before factories (Kevin Bond)
  • bf4d47a [bug] ensure foundry isn't rebooted in DatabaseReset (Kevin Bond)
  • 1b6231a [bug] ensure kernel shutdown after ResetDatabase::_resetSchema() (Kevin Bond)
  • 63c8eb7 [minor] disable psalm static analysis pending fix (Kevin Bond)
  • e4d0a06 [doc] Added another relation example to Many-To-One (#93) (Ryan Weaver)
  • 596af47 [minor] support php8 (Kevin Bond)
  • 2d574a5 [doc] Added docs for ModelFactory::new() (#91) (Tobias Nyholm)
  • 6bd3195 [doc] Update link to faker (#90) (Tobias Nyholm)
  • 338f6c8 [minor] Do not turn Psalm PHPdocs into comments (Wouter de Jong)
  • dfc4388 [minor] Fixed issues found by Psalm level 4 (Wouter de Jong)
  • 99aa22a [minor] Suppress nullable Psalm level 5 error (Wouter de Jong)
  • e4ea180 [minor] Fixed issues found by Psalm level 6 (Wouter de Jong)
  • 72c2e77 [minor] Added Psalm templated annotations (Wouter de Jong)
  • 48572ce [minor] Installed Psalm and configured GitHub Workflow (Wouter de Jong)
  • 0476572 [minor] Update docs with PHP file config (#87) (TavoNiievez)
  • 66d0025 [minor] Use PHP CS Fixer udiff to only show snippets (Wouter de Jong)
  • 8ecb162 [minor] Use consistent spacing in GitHub Actions config (Wouter de Jong)
  • 7e90a05 [minor] Only run one build with prefer-lowest (Wouter de Jong)

v1.5.0

10 Nov 13:53
8364424
Compare
Choose a tag to compare
  • 3b36c9f [minor] deprecate using snake/kebab-cased attributes (Kevin Bond)
  • 3ecd4f6 [minor] set min version of symfony/maker-bundle to 1.13.0 (Kevin Bond)
  • 3c0e149 [minor] swap phpunit for phpunit-bridge mark deprecated tests (Kevin Bond)
  • 4292d02 [bug] fix typo (Kevin Bond)
  • de1fb41 [minor] trigger deprecations for other deprecated code (Kevin Bond)
  • 5134347 [minor] deprecate "optional:" & "force:" attribute prefixes (Kevin Bond)
  • def8ebc [feature] define extra attributes/forced properties on Instantiator (Kevin Bond)
  • da504e0 [bug] boolean nodes should default to false instead of null (#83) (Kevin Bond)
  • c376fef [minor] sort available entities (#80) (Wouter J)
  • d3a32cf [minor] add static return annotations (#79) (Michel Hunziker)
  • 77a3583 [minor] run test suite on PostgreSQL (#51) (Kevin Bond)
  • 8db03c8 [minor] change faker lib used (#70) (Kevin Bond)
  • 188eb63 [minor] disable dependabot (Kevin Bond)
  • ea8fefe [minor] bump actions/cache from v1 to v2.1.2 (#69) (dependabot[bot])
  • bd5249d [minor] update shivammathur/setup-php requirement to 2.7.0 (#68) (dependabot[bot])
  • 800fae7 [minor] update actions/checkout requirement to v2.3.3 (#67) (dependabot[bot])
  • 0252e90 [minor] add dependabot for github actions (Kevin Bond)
  • 537b2fd [bug] RepositoryProxy::findOneBy() with $orderBy checks inner repo (Kevin Bond)
  • 9302855 [minor] RepositoryProxy::truncate() compatible with any ObjectManager (Kevin Bond)
  • 9fe12e5 [minor] have RepositoryProxy implement \Countable & \IteratorAggregate (Kevin Bond)
  • 1c43645 [feature] improve RespositoryProxy::first() and add last() (#64) (Mathieu Piot)
  • f9418ac [bug] add $orderBy param to RepositoryProxy::findOneBy() (#63) (Mathieu Piot)

v1.4.0

20 Oct 19:46
ea8430f
Compare
Choose a tag to compare
  • d5cab62 [doc] fixes (Kevin Bond)
  • 4eb546c [doc] document non-Kernel testing (Kevin Bond)
  • c8040f7 [doc] document using in PHPUnit data providers (Kevin Bond)
  • fce3610 [minor] throw helpful exception if creating service factories w/o boot (Kevin Bond)
  • a904e41 [minor] throw helpful exception if using service factories w/o bundle (Kevin Bond)
  • 1efc502 [minor] throw helpful exception if using service stories without bundle (Kevin Bond)
  • a5d4154 [feature] remove ->withoutPersisting() requirement in pure unit tests (Kevin Bond)
  • aef9123 [feature] allow Factories trait to be used in pure units tests (Kevin Bond)
  • 732e616 [minor] deprecate TestState::withoutBundle() (Kevin Bond)
  • d2c8b47 [bug] ensure Foundry is "shutdown" after each test (Kevin Bond)
  • f3cc0c3 [bug] allow model factories to be created in dataProviders (Kevin Bond)
  • b80d778 [doc] adding a link to SymfonyCasts (#60) (Ryan Weaver)
  • e37f492 [minor] add script to run all test configurations locally (Kevin Bond)

v1.3.0

14 Oct 19:29
fd433b1
Compare
Choose a tag to compare
  • fd433b1 [feature] allow factories to be defined as services (#53) (Kevin Bond)
  • e686a08 [minor] remove dead debug code (Kevin Bond)
  • aaf6ab4 [bug] fix typo in Factory stub (fixes #52) (Kevin Bond)

v1.2.1

12 Oct 14:29
ecf674a
Compare
Choose a tag to compare
  • ecf674a [doc] note that the ResetDatabase trait is required for global state (Kevin Bond)
  • b748615 [minor] ensure coverage jobs use dama bundle (Kevin Bond)
  • d4e3a2e [bug] sqlite does not support --if-exists (fixes #46) (Kevin Bond)
  • 1138cf0 [minor] add sqlite tests (Kevin Bond)
  • 91a6032 [minor] adjust github actions to use DATABASE_URL env var (Kevin Bond)

v1.2.0

08 Oct 13:41
e7b8481
Compare
Choose a tag to compare
  • e7b8481 [feature] add FactoryCollection object to help with relationships (#38) (Kevin Bond)

v1.1.4

07 Oct 14:18
Compare
Choose a tag to compare
  • 60e6881 [bug] allow RepositoryProxy::proxyResult() to handle doctrine proxies (Kevin Bond)

v1.1.3

28 Sep 12:19
Compare
Choose a tag to compare
  • 118186d [bug] ensure all attributes passed to afterPersist events (fixes #31) (Kevin Bond)
  • f054e3c [bug] allow array callables in Proxy::executeCallback() (Kevin Bond)