Releases: symfony/maker-bundle
Add support PHP Parser 5 & for the upcoming Twig v4.0
Howdy!
We've added support for PHP Parser v5 & to make room for Twig v4, we've dropped support for Twig v2 which reached it's EOL last year. With a few other minor features, we've managed to squash a bug or two along the way...
v1.53.0
February 1st, 2024
Feature
- #1423 - [dx] drop twig 2.x support && open the door for 4.x - @jrushlow
- #1417 - Compatibility to dependency php parser v5 - @drieschel
- #1414 - Proper annotation for generated validator constraint - @zorn-v
- #1407 - New Name of Docker compose file - @Xbirdfr
Bug
- #1419 - [make:controller] remove CodeExtension::getFileLink() call when generating twig templates - @jrushlow
- #1403 - Doctrine make:fixtures - Remove extra semicolon - @MrYamous
- #1342 - fix missing blank space in Repository.tpl.php - @OleksiiBulba
Diff: v1.52.0...v1.53.0
Enjoy!
v1.52.0 Symfony 7 Support
Hi Makers!
This release contains support for Symfony 7 along with a setup of other features and bug fixes.
Features
- Use TwigComponent HTML syntax by @smnandre in #1368
- [make:listener] Add global command for listener and subscriber by @StevenRenaux in #1366
- make the MakerFileLinkFormatter compatible with Symfony 7 by @xabbuh in #1383
- Add relations to entity form generation by @maelanleborgne in #1373
Bug Fixes
- Add more reserved keyword by @antalaron in #1343
- Entity Validator is accepting absolute namespaces by @Antarian in #1370
- Add collection as reserved keywords by @StevenRenaux in #1389
- fixing the generator of test when using make:crud by @HiroKX in #1381
New Contributors
- @smnandre made their first contribution in #1369
- @Antarian made their first contribution in #1370
- @StevenRenaux made their first contribution in #1366
- @xabbuh made their first contribution in #1385
- @HiroKX made their first contribution in #1381
- @maelanleborgne made their first contribution in #1373
Full Changelog: v1.51.1...v1.52.0
Happy making!
Fix use statements in make:fixtures
Hi Makers!
This release contains one bug fix to make:fixtures
. That's it!
New Contributors
Full Changelog: v1.51.0...v1.51.1
Happy making!
Modern Symfony support + Bug fixes
Hey Makers!
This release modernizes MakerBundle and fixes several deprecated code generations. The important details are:
- Min PHP version is now 8.1
- Min Symfony version is now 6.3
- Annotations support is completely dropped
Feature
- #1328 - Deleting save and remove methods from repositories - @mdoutreluingne
- #986 - Add RememberMeBadge - @bechir
- #1332 - Add conditional @implements tag to Doctrine repository template - @gremo
- #1325 - Fix English typo in reset password template - @pbek
New Contributors
- @alamirault made their first contribution in #1339
- @stipic made their first contribution in #1355
- @Chris53897 made their first contribution in #1353
- @necobm made their first contribution in #1358
Full Changes: v1.50.0...v1.51.0
Remember me support in make:auth + removal of repository save methods
Hey Makers!
This release contains several fixes and improvements across the board.
v1.50.0
Jul 10th, 2023
Feature
- #1328 - Deleting save and remove methods from repositories - @mdoutreluingne
- #986 - Add RememberMeBadge - @bechir
- #1332 - Add conditional @implements tag to Doctrine repository template - @gremo
- #1325 - Fix English typo in reset password template - @pbek
Bug
- #1322 - [make:crud] fix typo in Kernel::VERSION usage - @nacorp
- #1324 - Fix(Doctrine Repository template)/Avoid potential double call in save method - @mano-lis
- #1293 - [make:entity] don't set array field default value for nullable column - @Rootie
Diff: v1.49.0...v1.50.0
Enjoy!
Numerous Updates across many makers
Hey Makers!
This release contains a large number of updates & fixes across many makers (from over the past 6 months!).
v1.49.0
Jun 7th, 2023
Feature
- #1321 - Changing make:stimulus-controller to require StimulusBundle - @weaverryan
- #1309 - Apply
get_class_to_class_keyword
PHP-CS-Fixer rule - @seb-jean - #1276 - [make:migration] Change message when required package for migration doesn't exist. - @bdaler
- #1261 - [make:registration-form] use UniqueEntity attribute instead of annotation - @jrushlow
- #1253 - [make:migration] Add link to new migration files - @nicolas-grekas
- #1251 - [make:*] use php-cs-fixer to style/lint all generated php templates - @jrushlow
- #1244 - [make:security:form-login] new maker to use built in FormLogin - @jrushlow
- #1242 - [make:*] use static return type instead of self for setters - @jrushlow
- #1239 - Improve error messages to show PHP & XML configurations are not supported - @ThomasLandauer
- #1238 - [make:*] improve output messages for Symfony CLI users - @jrushlow
- #1237 - [make:registration-form] Print registration form errors - @comxd
Bug
- #1307 - [make:twig-component] handle upstream changes to how live components are rendered - @jrushlow
- #1270 - [make:authenticator] Core\Security or SecurityBundle\Security - Avoid deprecations in 6.2 - @nacorp
- #1265 - [make:crud] Make sensio/framework-extra-bundle an optional dependency - @acrobat
- #1264 - [make:controller] doctrine/annotations is not needed - @jrushlow
- #1262 - [make:reset-password] doctrine/annotations are not needed - @jrushlow
Diff: v1.48.0...v1.49.0
Enjoy!
Let's use `mixed` with `make:voter` and squash a few bugs along the way!
Howdy Makers!
This small release sets the mixed
type for the subject when using make:voter
to improve support with static analysis tools out of the box. We've also squashed few bugs in make: entity
, registration
, & controller
. Check out the Changelog for more details!
v1.48.0
November 14th, 2022
Feature
Bug
- #1232 - [make:entity] Minor: Consistent output formatting - @ThomasLandauer
- #1227 - [make:registration] Make router optional in MakeRegistrationForm constructor - @odolbeau
- #1226 - [make:controller] replace repository method add by save - @bechir
Diff: v1.47.0...v1.48.0
Enjoy!
Make your Twig-Extension in a folder...
Hi Makers!
Twig-Components shouldn't be the only ones staying organized... As such, generated make:twig-extension
are now stored in src/Twig/Extension
to keep things nice and tidy.
We've also smashed a couple bugs in make:serializer
& make:crud
. Plus, we've found and double smashed a tiny bug in make:registration-form
when using email verification... Check out the ChangeLog for more details!
v1.47.0
October 4th, 2022
Feature
Bug
- #1217 - [make:registration-form] render the raw signedUrl in the email template -
@jrushlow - #1210 - [make:serializer] use empty string in str_replace - @jrushlow
- #1209 - [make:crud] use save instead of add in
upgradePassword
- @seb-jean
Diff: v1.46.0...v1.47.0
Enjoy!
Make a Twig Component and a few other tweaks...
Howdy Makers!
For all of the UX
fans out there, and I'm sure that's everyone, we've added a new make:twig-component
! Hooray!!! Compatibility with API Platform v3 has been fixed & we've hoped to reduce confusion by renaming the add()
repository method to save()
when dealing with entities in make:crud
.
Thank you to all the contributors for the bugs that have been squashed and the new features that have been delivered!
v1.46.0
September 23rd, 2022
Feature
- #1204 - [make:crud] use save instead of add repository methods - @jrushlow
- #1202 - [reset-password] use higher level "options" in ChangePasswordFormType.tpl.php - @seb-jean
- #1019 - Add
make:twig-component
maker - @kbond
Bug
- #1199 - [make:entity] fix compatibility with api-platform 3.0 - @yobrx
- #1176 - [make:entity] Fix error while making blob in entity - @mdoutreluingne
Diff: v1.45.0...v1.46.0
Enjoy!
Doctrine bug fixes for Symfony 4.4 applications
Howdy Makers!
This is a maintenance release for users who are still on version 1.39.0
with Symfony 4.4. This release includes a couple of bug fixes for legacy annotations in Doctrine and in our DoctrineHelper
.
If you are still using MakerBundle v1.39.x, we strongly encourage you to upgrade to the latest version of Symfony to utilize the latest and greatest that MakerBundle has to offer!
Changelog
v1.39.1
September 13th, 2022
Bug
-
#1181 - [4.4] handle legacy Doctrine Persistence
AnnotationDriver - @jrushlow -
#1163 - fix attribute support in symfony 4.4 applications -
@spyridonas
Happy Making!