Skip to content

Releases: symfony/maker-bundle

Smashed bugs with a splash of DX

21 Feb 03:38
d344744
Compare
Choose a tag to compare

Howdy Makers!

This release squashes a few long standing bugs that were floating around out there. Notably, make:entity uses ux-turbo instead of the archived ux-turbo-mercure package. The "types wizard" in make:entity will only show the doctrine types that are available instead of a static list of possibly unavailable types. For the features, we've upgraded the bundled php-cs-fixer to v3.49.0, added a few docblocks to help with static analysis tools, and I supposed it was about time we stopped calling createView() on form objects in make:registration-form && make:reset-password

Big thanks to the community for creating issues and submitting PR's!

v1.55.0

February 20th, 2024

Feature

  • #1455 - [make:registration-form] Removal of the createView() method, as it is no longer required to render the form - @mdoutreluingne
  • #1452 - [make:entity] remove PhpCompatUtil constructor argument - @jrushlow
  • #1444 - [make:command] deprecate passing PhpCompatUtil to the constructor - @jrushlow
  • #1443 - [make:controller] deprecate passing PhpCompatUtil to the constructor - @jrushlow
  • #1429 - [make:*] upgrade bundled PHP-CS-Fixer to v3.49.0 - @jrushlow
  • #1411 - [make:user] Add phpdocs in class generated by make:user for PHPStan - @maelanleborgne
  • #1273 - [make:serializer:normalizer] Inject a NormalizerInterface instead of an ObjectNormalize - @mtarld

Bug

  • #1449 - [tests] fix broken assignment operator - addExtraDependencies() - @jrushlow
  • #1448 - [make:entity] only show supported types in cli wizard - @jrushlow
  • #1445 - [make:entity] use ux-turbo instead of ux-turbo-mercure - @jrushlow
  • #1422 - Generator verifies if class exists before altering class name - @Antarian
  • #1283 - don't install development files when adding maker-bundle to a project - @dmitryuk

Generated by Git Released

Diff: v1.54.0...v1.55.0

Enjoy!

Support DBAL 4.0 & ORM 3.0, So Long Symfony 6.3, & Bug Smashing...

06 Feb 21:25
a8523cf
Compare
Choose a tag to compare

Howdy Makers!

We're saying goodbye to Symfony 6.3 :( But are welcoming in support for doctrine/dbal 4.0 and doctrine/orm 3.0! For the Windows folks out there, we discovered that the bundled php-cs-fixer wasn't working as expected. Naturally, our bug smashing hammer was put to good use and generated PHP files are nice and tidy. Along with a handful of DX improvements, we've bumped the doctrine/orm and doctrine/doctrine-bundle composer requirements to 2.15 & 2.10 respectively.

Speaking of DX, we've completed a bit of housekeeping on the testing front. Windows tests are running on GitHub Actions instead of AppVeyor, and while adding a few development env's to phpunit.xml.dist, we cleaned things up a bit to play nicely with PHPUnit 9.6.

v1.54.0

February 6th, 2024

Feature

  • #1439 - [make:*] improve support for ORM 3.x / DBAL 4.x - @jrushlow
  • #1438 - Remove mentions of undefined Doctrine constants Types::ARRAY and Types::OBJECT - @njutn95
  • #1432 - [make:controller] use promoted parameter - @tacman
  • #1428 - [make:*] use Routing\Attribute* instead of Routing\Annotation* - @jrushlow
  • #1425 - [dx] require >= PHPUnit 9.6, update phpunit schema, deprecate skipOnSymfony7() - @jrushlow
  • #1421 - [make:*] drop Symfony 6.3 support - @jrushlow
  • #1418 - Determine events map dynamically - @HypeMC

Bug

Generated by Git Released

Diff: v1.53.0...v1.54.0

Enjoy!

Add support PHP Parser 5 & for the upcoming Twig v4.0

01 Feb 10:06
8d2f3f9
Compare
Choose a tag to compare

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

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

29 Nov 14:40
Compare
Choose a tag to compare

Hi Makers!

This release contains support for Symfony 7 along with a setup of other features and bug fixes.

Features

Bug Fixes

New Contributors

Full Changelog: v1.51.1...v1.52.0

Happy making!

Fix use statements in make:fixtures

18 Sep 18:18
Compare
Choose a tag to compare

Hi Makers!

This release contains one bug fix to make:fixtures. That's it!

  • Fix UseStatementGenerator usage in MakeFixtures.php by @beesofts in #1360

New Contributors

Full Changelog: v1.51.0...v1.51.1

Happy making!

Modern Symfony support + Bug fixes

12 Sep 18:12
v1.51.0
Compare
Choose a tag to compare

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

New Contributors

Full Changes: v1.50.0...v1.51.0

Remember me support in make:auth + removal of repository save methods

10 Jul 18:23
Compare
Choose a tag to compare

Hey Makers!

This release contains several fixes and improvements across the board.


v1.50.0

Jul 10th, 2023

Feature

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

07 Jun 13:12
Compare
Choose a tag to compare

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!

14 Nov 10:49
2e428e8
Compare
Choose a tag to compare

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

  • #1221 - [make:voter] Set type for subject in Voter template - @N-M

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...

04 Oct 15:05
e607f12
Compare
Choose a tag to compare

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

  • #1211 - [make:twig-extension] Change folder for Twig Extension - @seb-jean

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!