Releases: symfony/maker-bundle
make:entity PHP 8 Attribute Support
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: v1.33.0...v1.34.0
Happy making!
Better Symfony 5.3 support & various bug fixes
Hi Makers!
We continue to improve MakerBundle to generate the most up-to-date code for Symfony 5.3! This releases contains 2 improvements for new 5.3 features.
v1.33.0
June 30th, 2021
Feature
- #895 - [make:crud] send the proper HTTP status codes and use renderForm() when available - @dunglas
- #889 - [make:user] Use password_hashers instead of encoders - @wouterj
Bug Fix
- #913 - [make:registration] conditionally generate verify email flash in template - @jrushlow
- #881 - [make:entity] Fix error when API-Platform is installed. - @MichaelBrauner
Diff: v1.32.0...v1.33.0
Happy making!
Fixes for Symfony 5.3 & Other Various things
Hi Makers!
This release contains a few bug fixes specific to symfony 5.3 and various other little goodies:
June 18th, 2021
Feature
- #877 - [make:entity] Default to "datetime_immutable" when creating entities - @nicolas-grekas
Bug Fix
- #899 - Use proper name for parameter of upgradePassword - @Tobion
- #896 - Fix keys not found when surrounded by quotes - @valentinloiseau
- #890 - [make:user] Keep implementing deprecated username methods - @wouterj
Diff: v1.31.1...v1.32.0
Happy making!
cve-2021-21424 Prevent user enumeration for Symfony 3.4
security #cve-2021-21424 Prevent user enumeration (jrushlow) - implemented for a version compatible with Symfony 3.4
cve-2021-21424 Prevent user enumeration
CHANGELOG
security #cve-2021-21424 Prevent user enumeration (chalasr)
make:entity UX Turbo Support, Symfony 5.3 support, more PHP 8 support
Hi Makers!
This release contains a large number of enhancements, especially related to supporting Symfony 5.3 features and PHP 8 in more places:
Features:
#864 - [make:command] template: add void return type to configure method - @duboiss
#862 - [make:user] implement getUserIdentifier if required - @jrushlow
#860 - Add support for Symfony UX Turbo - @dunglas
#859 - use attributes for API Platform when using PHP 8+ - @dunglas
#855 - [reset-password] allow anyone to access check email - @jrushlow
#853 - [make:voter] generate type hints - @jrushlow
#849 - [make:user] user entities implement PasswordAuthenticatedUserInterface - @jrushlow
#826 - Add autocomplete html tag to forms - @duboiss
#822 - [make:command] lets use attributes if possible - @jrushlow
Diff: v1.30.2...v1.31.0
Happy making!
make:entity - one more fix for DoctrineBundle 2.3 and greater
Hi Makers!
This release contains one MORE small fix for make:entity
when used with DoctrineBundle 2.3 and higher. This fixes #845 where, in some cases, the fix from version 1.30.1 was incomplete.
See #847 for the fix.
Diff: v1.30.1...v1.30.2
Happy making!
make:entity Fix for DoctrineBundle 2.3 and greater
Hi Makers!
This release contains one small fix for make:entity
when used with DoctrineBundle 2.3 and higher.
See #844 for the fix and #841 for more details.
Diff: 1.30.0...v1.30.1
Happy making!
make:crud Customizable controller name
Hi Makers!
This release contains a few small features - both for make:crud:
-
[make:crud] Ask a new question - controller name - to allow that to
be customized - #840 thanks to @weaverryan -
[make:crud] Make the delete form submit via a normal POST request
instead of delete - #825 thanks to @jrushlow
Diff: 1.29.1...v1.30.0
Happy making!
Tiny bug fix with generated variable casing
Hi Makers!
This release contains one bug fix for make:auth
with an upper case variable name - see #812 - thanks @jrushlow
Diff: 1.29.0...v1.29.1
Happy making!