v1.34.0
版本发布时间: 2021-09-27 22:32:59
symfony/maker-bundle最新发布版本:v1.61.0(2024-08-30 06:50:41)
Hi Makers!
This release contains various features - but one big one in particular! The ability to use make:entity
to generate code using PHP 8 attributes. If you're using PHP 8 (and have recent enough versions of all the underlying libraries), MakerBundle should now generate attributes instead of annotations in all situations (if you an annotation is still generated somewhere, please open an issue).
Note: To use attribute with Doctrine, remove the type: annotation
line in your config/packages/doctrine.yaml
(or set it to attribute
, but without any type
, Doctrine will detect if attributes are supported).
September 27th, 2021
Feature
- #978 - Adding Entity attribute support - @simonmarx, @geekimo, @adlpz, @weaverryan, @jrushlow
- #970 - make PhpCompatUtil::getPhpVersion() public - @nikophil
- #968 - [make:entity] APIP: use new attribute if exists - @nikophil
- #963 - add return types for symfony 6 - @jrushlow
- #925 - [templates] Add void return types - @seb-jean
- #923 - use password hasher for make:registration & make:reset-password, includes other improvements - @jrushlow
Bug Fix
- #974 - Fix method call definition - @ajgarlag
- #973 - Fix we we typo - @karser
- #933 - [make:entity] Remove deprecated json_array type from available list types. - @bdaler
- #930 - Add all missed dependencies to make:reset-password - @upyx
- #870 - [make:crud] Fix templates path use in include - @leblanc-simon
Diff: https://github.com/symfony/maker-bundle/compare/v1.33.0...v1.34.0
Happy making!