- [make:test] Added a new command that interactively asks you between several different styles of test classes. See #807 thanks to @dunglas.
- [make:unit-test] Deprecated the maker in favor of
make:test. - [make:functional-test] Deprecated the maker
- Sort entity auto-completion in various commands - thanks to @zorn-v
- [make:registration-form] Added a new question to generate code that will allow users to click on the "verify email" link in their email without needing to be authenticated - #776 thanks to @jrushlow!
- [make:auth] Added support to make:auth for the new "authenticator" security mode in Symfony 5.2 - #736 thanks to @jrushlow!
- Add support for doctrine/inflector v2 (v1 is still allowed) - #758 thanks to @jrushlow!
- [make:entity] Fixed setting a null value for OneToMany - #755 thanks to @Kocal!
- Use PHP 8 Route attributes when using PHP 8 - #725 thanks to @jrushlow!
- Improve version detection by reading config.platform.php - #728 thanks to @jrushlow!
- Added experimental PHP 8 support. The bundle now allows php 8 and all maker commands (whose dependencies allow PHP 8) now having passing tests.
-
[make:entity] Optimized how the
removeXXXX()methods are generated for relationships - #675 thanks to @mhabibi! -
[make:serializer:normalizer] Generated a better template, trying to guess the class you might be normalizing - #672 thanks to @BatsaxIV
-
[make:docker:database] When using MySQL, a "main" database is now created automatically for you - #656 thanks to @robmeijer!
-
[make:voter] Better generated entity "guess" - #658 thanks to @yahyaerturan!
-
[make:command] Use the new Command::SUCCESS when available - #664 thanks to @Chi-teck!
- [make:docker:database] Added a new command to generate a database service
in your
docker-compose.yamlfile - #640 thanks to @jrushlow!
- Added "email verification/confirmation" option to
make:registration-form- see #603 thanks to @jrushlow!
- Reverted support for
doctrine/inflector2.0 - #611 thanks to @weaverryan
-
PHP 7.1 is now the required minimum version - #598 thanks to @weaverryan
-
MakerBundle now allows
doctrine/inflector2.0 - #600 thanks to @alcaeus
-
[make:entity] Generated entities will now use the RelationName::class syntax when generating relationships (e.g.
targetEntity=RelationName::class) - #573 thanks to @rogeriolino. -
When listing generated files in the console, if a file link formatter is configured, the links will now be clickable - #559 thanks to @l-vo.
-
[make:entity] Added UUID and GUID default type to entity maker - if you name a field
uuidorguid, the Maker will guess those types by default - #593 thanks to @thomas-miceli.
-
[make:reset-password] New
make:reset-passwordto generate an entire "reset password" controller, forms, template setup - #567 thanks to @jrushlow and @romaricdrigon -
[make:message] New
make:messagecommand to generate a Messenger messaage & handler class - #338 thanks to @nikophil -
[make:messenger-middleware] New
make:messenger-middlewarecommand to generate a middleware for Messenger
- Added support for Symfony 5
-
[make:functional-test] Use Panther when available - #417 thanks to @adrienlucas
-
Allow rehashing passwords when possible and needed - #389 thanks to @nicolas-grekas
-
Use
[make:*-test]Use the new WebTestAssertionsTrait methods in the generated functional tests - #381 thanks to @adrienlucas -
Add a agree terms checkbox to
make:registration-form- #394 thanks to @ismail1432 -
Template generation respects
twig.default_path- #346 thanks to @LeJeanbono -
[Serializer] Normalizer now implements CacheableSupportsMethodInterface with condition - #399 thanks to @jojotjebaby
-
Deprecate Argon2i encoder used in
make:userand useautoinstead - #398 thanks to @nicolas-grekas -
[make:auth] Added logout support and help for logged in user - in #406 thanks to @St0iK
-
Use new event class names instead of strings in
make:event-subscriber- in #403 thanks to @jojotjebaby
- Add
make:registration-formcommand - #333 thanks to @weaverryan
-
Add
make:serializer:normalizercommand - #298 thanks to @lyrixx -
Add a
--no-templateoption tomake:controllerto skip generating a template - #280 thanks to @welcoMattic -
Add support for rendering additional date types in make:crud
- #241 thanks to @sadikoff
-
Better errors when trying to use reserved words for classes
- #306 thanks to @SerkanYildiz
- Allow make:form to work with non-entities - #301 thanks to @ckrack
-
make:auth can now generate an entire form login system with authenticator, login form and controller! #266 thanks to @nikophil
-
make:auth now registers your guard authenticator in your security.yaml file automatically - #261 thanks to @nikophil
-
Generate more explicit voter attribute names - #283 thanks to @lyrixx
-
Fixing incorrect dependency for make:crud - #256 thanks to @ckrack
-
Fix self-referencing relation issue - #278 thanks to @codedmonkey
-
Fix edge-case bad template name in make:crud - #286 thanks to @thlbaut
-
Added
make:usercommand that generates aUserclass, generates a user provider (when needed) and configures your theprovidersandencoderssection in yoursecurity.yamlfile - #250 thanks to @weaverryan -
Properly extend
AbstractControllerand use core@Routeannotation inmake:crud- #246 thanks to @royklutman -
Fixed a bug when a class name contained the namespace
App\- #243 thanks to @gmanen -
Fix bug with
make:entitywhen generating inside a sub-directory - #245 thanks to @nikophil
-
Fixing bad empty line when source file uses tabs - #238 thanks to @weaverryan
-
Str case mismatch - #190 thanks to @localheinz
-
Preserve existing class metadata - #197 thanks to @ro0NL
-
Fixing a bug where having relativizePath failed - #214 thanks to @weaverryan
-
Do not prefix Command Class Name by 'App' if the prefix is app: - #205 thanks to @lyrixx
-
make:entity: Add return type to getId() - #215 thanks to @gharlan
-
Don't make Twig filters safe for HTML by default - #222, #202 thanks to @lyrixx
-
Remove support for the deprecated json_array Doctrine type - #224 thanks to @javiereguiluz
-
Extend from AbstractController when using Symfony 4.1 or higher - #221 thanks to @javiereguiluz
-
Don't use :contains in the functional test tpl - #226 thanks to @dunglas
-
Before 1.5, the
App\namespace prefix was always assumed so that when you type a short class name, it is converted into a full class name with this prefix. Now, this is configurable #173 thanks to @upyx -
Added an option to to
make:enityto make your class automatically an ApiPlatform resource. Pass--api-resource#178 thanks to @dunglas -
Fixed
make:entitywhen your class uses traits or a mapped super class #181 thanks to @andrewtch -
Improved messages when you need to pass a fully-qualified class name #188 & #171 - thanks to @sadikoff and @LeJeanbono
-
Fixed a bug where
make:crudwould not render the correct form names when your property included an underscore.
-
Removed our tests from the archive to avoid polluting the user's auto-completion of classes #147
-
Fixed some minor bugs! #150 #145
- Drastically improved
make:entitycommand, which now supports adding fields, relationships, updating existing entities, and generating (with the--regenerateflag) missing properties/getters/setters (effectively replacesdoctrine:generate:entities)- thanks to @weaverryan in #104
-
New maker command!
make:crud- thanks to @sadikoff in #113. -
Greatly improved
make:formcommand that auto-adds fields if your form is bound to an entity class - thanks to @sadikoff in #113.
-
[BC BREAK] The MakerInterface changed:
getParameters(),getFiles()andwriteNextStepsMessage()were removed andgenerate()was added in their place. We recommend extendingAbstractMakerinstead of implementing the interface directly, and use$this->writeSuccessMessage()to get the normal "success" message after the command #120 via @weaverryan -
Added new
make:migrationcommand, which wraps the normaldoctrine:migrations:diffcommand #97 via @weaverryan -
Added new
make:fixturescommand to generate an empty fixtures class #105 via @javiereguiluz -
Added PHPDoc to generated entity repositories so that your IDE knows what type of objects are returned #116 @enleur
-
Allowed generation of all classes into sub-namespaces #120 via @weaverryan