MyGit

v1.59.0

symfony/maker-bundle

版本发布时间: 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:

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

Bug

New Contributors

Diff: https://github.com/symfony/maker-bundle/compare/v1.58.0...v1.59.0

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-04-28发行的版本