Releases: symfony/maker-bundle
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!
A couple small bug fixes and the usage of the `add()` method for collections.
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
- #1154 - [make:entity] remove empty parenthesis on
id
- @jrushlow - #1153 - [make:registration-form] Fix escape text-strings - @mdoutreluingne
Diff: v1.44.0...v1.45.0
Enjoy!
Entity Property Types, Better Subscribers, and Improved UID support - all done without PHP 7
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
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
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
Diff: v1.41.0...v1.42.0
Enjoy!
A plethora of features and bug fixes...
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
- #1108 - [make:test] Removal of the condition requiring a php version < 8.1 - @mdoutreluingne
- #1087 - change signature method add/remove repository - @JB-oclock
- #1054 - make:entity Use the namespace instead of the full class name for MappingDriver - @michaelphillpotts
- #903 - [make:auth] use userIdentifier instead of username on login_form - @seb-jean
Diff: v1.40.1...v1.41.0
Enjoy!
Fix Uninstallable Dependencies in 5.4
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
- #1102 - Lower symfony/finder & symfony/yaml requirements - @bobvandevijver
Diff: v1.40.0...v1.40.1
Enjoy!
Minimum Symfony 5.4.7 LTS, Doctrine Fixes, & just a little housekeeping!
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
Diff: v1.39.0...v1.40.0
Enjoy!
Small fix and features for Repositories, Twig, & Docker templates!
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
- #1084 - [make:docker:database] Fix link docker compose file ports - @mdoutreluingne
Diff: v1.38.0...v1.39.0
Enjoy!