Highlights
- Bump the minimum requirements to Symfony 7.4+ and PHP 8.2+
- New
make:decoratormaker to create service decorators. make:commandnow creates invokable commands by default and asks for the arguments and options.make:entitygains--fieldand--relationoptions to add fields and relations without prompting, adds PHP 8.4 property hooks support, and applies thegenerate_final_entitiesconfiguration to generated entities.make:twig-extensionnow generates attribute-based Twig extensions.make:crudadds a--controller-classoption.- Fixed crashes under
--no-interactionin several makers (CRUD, controller, custom security, form-login, registration-form, reset-password, schedule, twig-extension, webhook).
What's Changed
- [Validator] Fix PHPDoc of generate file by @lyrixx in #1792
- [make:entity] Fix PHP 8.4 property hooks support by @Amoifr in #1793
- [MakeEntity] Remove dead is_string() branch in generate() by @Amoifr in #1798
- [MakeEntity] Apply the generate_final_entities config to generated entities by @Amoifr in #1799
- Redefine the scope of MakerBundle by @GromNaN in #1800
- Bump minimum Symfony version to 7.4 and PHP 8.2 by @GromNaN in #1803
- Dump sequences of mappings compactly regardless of the symfony/yaml version by @Amoifr in #1805
- Remove the PHP CS Fixer integration by @Amoifr in #1804
- [Tests] Fix CI failures in invokable controller test by @GromNaN in #1796
- [make:command] Create invokable command by default by @seizan8 in #1746
- [make:webhook] generate final classes by @MrYamous in #1637
- Fix the failing tests on 1.x by @wachterjohannes in #1811
- [make:crud] Fix the crash under --no-interaction and add --controller-class by @wachterjohannes in #1814
- [make:controller] Honour --with-tests under --no-interaction by @wachterjohannes in #1815
- [make:entity] Stop the second relation from overwriting the entity by @wachterjohannes in #1812
- [make:entity] Add a --field option to add fields without prompting by @wachterjohannes in #1810
- [make:entity] Add a --relation option to add relations without prompting by @wachterjohannes in #1813
- [make:decorator] Add new maker to create decorator by @GromNaN in #1807
- In Test.ResetPasswordController.tpl.php fetch the email body directly rather than using toString #1 by @florentdestremau in #1669
- [make:security:form-login] Fix the crash under --no-interaction by @wachterjohannes in #1818
- [make:webhook] Fix the crash under --no-interaction by @wachterjohannes in #1817
- [make:security:custom] Fix the crash under --no-interaction by @wachterjohannes in #1816
- [make:twig-extension] Generate attribute-based Twig extensions by @seb-jean in #1822
- [docs] Add AGENTS.md with guidelines for non-interactive makers by @wachterjohannes in #1824
- [make:reset-password] Fix the crash under --no-interaction by @wachterjohannes in #1819
- [make:registration-form] Fix the crash under --no-interaction by @wachterjohannes in #1820
- [make:command] Ask for the arguments and the options by @Amoifr in #1825
- [make:schedule] Fix the crash under --no-interaction by @wachterjohannes in #1826
- [make:message] Fix the crash under --no-interaction by @wachterjohannes in #1828
- [Security] Recognize "custom_authenticators" in InteractiveSecurityHelper by @wachterjohannes in #1827
- [make:entity] Fix
--with-uuidand--with-ulidbeing ignored when name is passed as argument by @Amoifr in #1795 - [make:*] Fix crash when PHPUnit is not installed by @GromNaN in #1833
- [make:crud] Fix crash when the entity class name is left blank by @GromNaN in #1831
New Contributors
- @Amoifr made their first contribution in #1793
- @seizan8 made their first contribution in #1746
- @wachterjohannes made their first contribution in #1811
- @florentdestremau made their first contribution in #1669
Full Changelog: v1.67.0...1.68.0