v1.59.0
版本发布时间: 2024-04-28 05:15:40
symfony/maker-bundle最新发布版本:v1.61.0(2024-08-30 06:50:41)
Howdy Makers,
One of the most notable changes to this release is the deprecation of make:auth
. Almost a year ago, we introduced make:security:form-login
in v1.49.0 and in this release we're introducing make:security:custom
to speed up making custom security authenticators. These two commands fill the gap that make:auth
would leave otherwise.
Along with a handful of other features, make:entity
no longer adds any of the @method
annotations to the entity class and if you're adding a relation to an entity with the same name as the "parent" entity - maker will help differentiate the two classes in the CLI output.
Aside from fixing the code generated by make:serializer:encoder
to match the interface signatures it uses, we've also introduced another new feature:
Experimental
We've added the ability to generate tests that should work out of the box for:
-
make:crud
-
make:registration
-
make:reset-password
-
make:security:form-login
To generate these tests, you can either answer y
|| yes
when the maker asks you "Do you want to generate PHPUnit tests?" Or simply pass --with-tests
when calling the command. Review the generated test, customize it to your needs, and finally run php bin/phpunit
. More tests for more makers are soon to follow!
Enjoy!
v1.59.0
April 27th, 2024
Feature
- #1523 [make:auth] deprecate command - @jrushlow
- #1522 [make:security:custom] create a custom authenticator - @jrushlow
- #1521 [make:reset-password] improve types for static analysis in userland - @jrushlow
- #1520 [make:entity] Simplify repository PHPDoc removes method annotations - @lyrixx
-
#1519 [make:registration] use "User" type in
EmailVerifier::class
- @jrushlow -
#1518 [make:registration] add
bool
type to User::isVerified - @jrushlow - #1515 [make:security:form-login] add ability to generate tests - @jrushlow
- #1512 [make:webhook] Rephrase comments to be more explicit + minor improvement of generated code - @maelanleborgne
- #1511 [make:entity] helper message with two classes having the same name under different namespaces - @jeromegxj
- #1497 [make:*] add ability to generate tests - @jrushlow
Bug
- #1525 [make:serializer:encoder] fix interface signature mismatch in template - @jrushlow
- #1516 [common] add missing class header - @jrushlow
New Contributors
- @jeromegxj made their first contribution in https://github.com/symfony/maker-bundle/pull/1511
Diff: https://github.com/symfony/maker-bundle/compare/v1.58.0...v1.59.0