Skip to content

Releases: symfony/maker-bundle

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!

Make a Controller with a JsonResponse & improved enum support

17 May 15:47
e3f9a1d
Compare
Choose a tag to compare

Howdy Makers!

A small release that improves enum support, adds the ability to generate a controller that returns a JsonResponse, and we've up'd the ante on make:crud generated tests.


v1.43.0

May 17th, 2022

Feature

  • #1120 - [make:controller] Return a JsonResponse instead of a Response with --no-template - @l-vo
  • #1117 - [make:crud] adding repository counts for crud testRemove - @dr-matt-smith

Bug

  • #1118 - Fix errors when enable_authenticator_manager is not set - @l-vo
  • #1042 - [CSM] fix: Handle enum as values - @Geekimo

Diff: v1.42.0...v1.43.0

Enjoy!

A fix, a feature, and a test... Thats created with make:crud

09 May 19:50
fc9f6bc
Compare
Choose a tag to compare

Howdy Makers!

We've enhanced our support for Doctrine ORM v3.0, added support for "issers" when creating entities with bool type fields, and last but not least... πŸ₯ Whether your entity has a custom repository or leans on a stock EntityManagerInterface - we hope to improve your testing experience by generating functional tests alongside controllers generated with make:crud.

The ability to generate tests with make:crud is experimental in it's current form. We plan on adding better integration with Symfony's testing tools in the near future. If you have an idea or suggestion on how this could work better in your workflow, feel free to let us know or contribute with a PR.


v1.42.0

May 9th, 2022

Feature

  • #1114 - [make:entity] _em will be private in ORM 3.0, use getEntityManager() - @jrushlow
  • #456 - Use prefix "is" for getters on boolean fields - @MaximePinot
  • #307 - [make:crud][experimental] Add generated tests to make:crud - @ckrack

Bug

  • #1115 - [make:crud] fix broken controller with custom repository - @jrushlow

Diff: v1.41.0...v1.42.0

Enjoy!

A plethora of features and bug fixes...

04 May 16:34
4b994df
Compare
Choose a tag to compare

Howdy Makers!

You can use MakerBundle to get you started with Stimulus thanks to the make:stimulus-controller command! Legacy support for the Guard Security System & doctrine/orm < 2.10 has been dropped. But we've added stronger typing to many templates, made it a bit easier to contribute to MakerBundle by removing tons of legacy code, and finally we've squashed a handful of bugs that have been crawling around...

Thank you to everyone in our community who continue to help improve MakerBundle!


v1.41.0

May 4th, 2022

Feature

  • #1110 - [make:user] Don't add to passwork_hashers if default recipe is in use - @nicolas-grekas
  • #1109 - Add missing types in code templates - @nicolas-grekas
  • #1107 - [make:user] Legacy <= 5.3 & Doctrine Cleanup - @jrushlow
  • #1104 - [make:auth] drop guard support and legacy code cleanup - @jrushlow
  • #1075 - [make:stimulus-controller] New Stimulus controller Maker command - @JabriAbdelilah
  • #1028 - Add typed properties for make:reset-password and make:registration - @seb-jean
  • #872 - Use object typehint when generating entities - @HypeMC
  • #858 - [make:controller] avoid require doctrine/annotation when can use attributes - @Jibbarth

Bug

Diff: v1.40.1...v1.41.0

Enjoy!

Fix Uninstallable Dependencies in 5.4

23 Apr 19:45
adc846e
Compare
Choose a tag to compare

Howdy Makers!

Fixes the minimum version constraint for symfony/finder && symfony/yaml that prevented updating MakerBundle to the latest version.


v1.40.1

April 23rd, 2022

Bug

Diff: v1.40.0...v1.40.1

Enjoy!

Minimum Symfony 5.4.7 LTS, Doctrine Fixes, & just a little housekeeping!

22 Apr 18:53
bb92c67
Compare
Choose a tag to compare

Howdy Makers!

We are dropping new feature support for Symfony v4.4 - Symfony 5.4.7 is the minimum version supported going forward. We will still apply bug fixes to MakerBundle 1.39.x as issues arise until November 2022.

This release also fixes a few issues with MakerBundle and Doctrine, bumps the minimum PHP version to 7.2.5 & cleans up a few internals to help us improve MakerBundle going forward...


v1.40.0

April 22nd, 2022

Feature

  • #1098 - drop symfony 4.4 support bump minimum Symfony version to 5.4.7 - @jrushlow

Diff: v1.39.0...v1.40.0

Enjoy!

Small fix and features for Repositories, Twig, & Docker templates!

21 Apr 18:23
f2b99ba
Compare
Choose a tag to compare

Howdy Makers!

This small release is mainly about cleaning up some outdated links in Twig & Docker templates. But it does help static analysis tools better understand Entity Repositories by adding the @extends tag!

Please note this will be the last feature release with support for Symfony 4.4.


v1.39.0

April 21st, 2022

Feature

  • #1088 - Add @extends tag to Doctrine repository template. - @hhamon
  • #1080 - [make:twig-extension] reference twig 3.x docs in generated extension - @BahmanMD

Bug

Diff: v1.38.0...v1.39.0

Enjoy!

Generated Controller Improvements, Translations, API Platform 3.0 Tests, & Some Bug Squashing

24 Feb 21:09
143024a
Compare
Choose a tag to compare

Hi Makers!

We've squashed a few bugs and have added a few improvements including support for translating exception reasons in VerifyEmailBundle, API Platform 3.0 compliant test cases, improved route names in generated CRUD / Controllers, and finally the ability to use generated repositories instead of the EntityManagerInterface in a few cases!

v1.38.0

February 24th, 2022

Feature

  • #1076 - [make:registration-form] Translate reasons for VerifyEmailBundle if translator available - @bocharsky-bw
  • #1015 - Update ApiTestCase to be compliant with ApiPlatform v3.0 - @laryjulien
  • #1007 - [make:controller][make:crud] Make route names start with 'app_' - @robmeijer
  • #939 - [make:crud] Improve controller generation - @bdaler

Bug Fix

  • #1046 - [make:entity] Exclude inherited embedded class properties - @Vincz
  • #910 - [YamlSourceManipulator] Tweak regex pattern for regex key - @lubo13
  • #830 - [make:validator] Fix @var typehint comments - @mmarton

Diff: v1.37.0...v1.38.0

Happy making!

An eclectic variety of features and bug fixes

16 Feb 15:32
Compare
Choose a tag to compare

Hi Makers!

This release handles several bug fixes within MakerBundle and adds support for translating ResetPasswordBundle Exception messages, using constants instead of strings with make:voter, improved types for Collection getter methods in Entities, and support for attributes in make:registration!

Diff: v1.36.4...v1.37.0

Happy making!


CHANGELOG

v1.37.0

February 16th, 2022

Feature

Bug Fix