Releases: symfony/maker-bundle
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!
Generated Controller Improvements, Translations, API Platform 3.0 Tests, & Some Bug Squashing
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
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
- #1062 - [MakeRegistration] add support for verify email attributes - @jrushlow
- #1059 - [make:reset-password] Translate exception reasons provided by ResetPasswordBundle - @bocharsky-bw
- #1057 - [Voter] Refactor attributes - @mdoutreluingne
- #1040 - [make:entity] Changing getter PHPDoc return type on Collection - @mehdibo
Bug Fix
- #1060 - Add missing Passport use statement - @bocharsky-bw
- #1032 - [reset-password] Coding standards - Twig - @seb-jean
- #1031 - [verify-email] Coding standards - Twig - @seb-jean
- #1027 - Fixing wrong messaging in make:auth about checking password in final steps - @weaverryan
- #985 - [make:auth] fix security controller attributes - @jrushlow