Releases: symfony/maker-bundle
Bug fix for doctrine/persistence 2
Hi Makers!
This is a tiny release that contains one more bug fix to support doctrine/persistence 2 - see #668
Happy making!
Bug fix for new DoctrineBundle, various new features
Hi Makers!
This release contains a bug fix that caused a problem with make:entity
when using DoctrineBundle > 2.1.1 - see #667. The release also comes with several new features:
-
[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!
Happy making!
Added make:docker:database for docker-compose.yaml
Hi Makers!
This release adds one new maker command: make:docker:database
- which generates a database service into a docker-compose.yaml
file. This works super well if you use the Symfony binary as your local web server. You can find all the details while running the command.
- [make:docker:database] Added a new command to generate a database service in your
docker-compose.yaml
file - #640 thanks to @jrushlow!
Happy Making!
Minor bug fixes to make:reset-password
New Email Confirmation for make:registration-form!
Hi makers!
This release includes a few bug fixes and one shiny new feature!
- Added "email verification/confirmation" option to
make:registration-form
- see #603 thanks to @jrushlow!
This feature uses the new https://github.com/SymfonyCasts/verify-email-bundle
Changes:
Happy Making!
Drop support for doctrine/inflector 2
Hi makers!
This is a tiny release that reverts aa change in v1.17.0. Specifically, this release removes support for doctrine/inflector
2.0. That may seem odd (and it is!) but allowing support made it likely that installing MakerBundle and then other libraries (like doctrine/orm
) would fail. See #611 for the change and #610 for more information.
Happy making!
House keeping: PHP 7.1 now required, support for doctrine/inflector 2
Hi Makers!
This is a small release that requires/allows some newer versions of things:
-
PHP 7.1 is now the required minimum version - #598 thanks to @weaverryan
-
MakerBundle now allows
doctrine/inflector
2.0 - #600 thanks to @alcaeus
Happy making!
Support for DoctrineMigrationsBundle 3.0 & make:entity improvements
Hi friends!
This release contains support for the upcoming DoctrineMigrationsBundle 3.0 release and a few nice improvements:
-
[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
fielduuid
orguid
, the Maker will guess those types by default - #593
thanks to @thomas-miceli.
Changes: v1.15.1...v1.16.0
Happy making!
Bug fix for make:entity and older ManagerRegistry
Hi friends!
Version 1.15.0 introduced a bug where make:entity
may generate an invalid Repository class when using DoctrineBundle 1.11 or lower.
- bug #591 Fixing a bug where the wrong ManagerRegistry was sometimes used in repositories - thanks to @weaverryan
- bug #588 fixed missing doctrine dependency - thanks to @jrushlow
Happy making!
New Makers: make:reset-password, make:message & more!
Hi friends!
This new release packs in 3 new Maker commands that I'm very excited about:
-
[make:reset-password] New
make:reset-password
to generate an
entire "reset password" controller, forms, template setup - #567
thanks to @jrushlow and @romaricdrigon -
[make:message] New
make:message
command to generate a
Messenger messaage & handler class - #338 thanks to @nikophil -
[make:messenger-middleware] New
make:messenger-middleware
command to generate a middleware for Messenger
Enjoy and happy making!