Skip to content

Releases: symfony/maker-bundle

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!

Make a Twig Component and a few other tweaks...

23 Sep 13:31
682ce4f
Compare
Choose a tag to compare

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

Diff: v1.45.0...v1.46.0

Enjoy!

Doctrine bug fixes for Symfony 4.4 applications

13 Sep 18:19
30c8ac1
Compare
Choose a tag to compare

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!

A couple small bug fixes and the usage of the `add()` method for collections.

26 Jul 12:35
7ae4ff2
Compare
Choose a tag to compare

Howdy Makers!

Instead of appending an item to a collection using brackets $collection[] = $item, we now generate code that utilizes Doctrines add() method. We've also squashed a couple minor bugs in make:entity && make:registration-form.


v1.45.0

July 26th, 2022

Feature

  • #1136 - use method add() instead of [] in collection adder-method - @HKandulla

Bug

Diff: v1.44.0...v1.45.0

Enjoy!

Entity Property Types, Better Subscribers, and Improved UID support - all done without PHP 7

13 Jul 17:42
fa535d7
Compare
Choose a tag to compare

Hi Fellow Makers!!

This is a pretty significant release as we have dropped support for PHP 7, dropped entity annotation support, & bumped the minimum Doctrine version requirements. With all of that out of the way, we've added Typed properties and Doctrine Type Constants with type guessing to make:entity, better support for UUID & ULID's, & improved the generated Subscribers by using Kernel Event Constants in make:subscriber.

Behind the scenes we've removed a TON of legacy code, implemented better typing, & simplified out tests where possible to make it easier for you to contribute to MakerBundle!


v1.44.0

July 13th, 2022

Feature

  • #1147 - [make:entity] Property types, Types:: constant & type guessing - @weaverryan
  • #1139 - [make:entity] Improve uid support - @HypeMC
  • #1129 - [tests] bring test suite up to PHP8 standards - @jrushlow
  • #1128 - improve PHP 8 support w/ rector, removes legacy code, deprecates unused methods - @jrushlow
  • #1126 - drop annotation support with entities - @jrushlow
  • #1125 - [csm] strict typing && legacy code removal - @jrushlow
  • #1122 - drop PHP 7.x support - @jrushlow
  • #940 - [make:subscriber] Improve MakeSubscriber to use KernelEvents constant instead hardcoded event - @bdaler

Diff: v1.43.0...v1.44.0

Enjoy!