Releases: symfony/maker-bundle
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
More Symfony 6 compat: allow deprecations-contract 3
Hi Makers!
This release contains two more fixes to smooth usage on Symfony 6. However, there may still be some dependency issues that cause problems when installing Maker on Symfony 6. We're checking into that.
v1.36.4
November 30th, 2021
Bug Fix
- #1023 - Allow deprecation-contracts 3 - @derrabus
- #1026 - preventing Guard auth method from exploding in 6.0 - @weaverryan
Diff: v1.36.3...v1.36.4
Happy making!
Fix for make:reset-password generated controller code
Hi Makers!
This release contains one fix for a recent regression in the controller code generated for make:reset-password
.
v1.36.3
November 22nd, 2021
Bug Fix
Diff: v1.36.2...v1.36.3
Happy making!
Fixing PHP 8.1 deprecations
Hi Makers!
This release contains two small fixes to improve PHP 8.1 compat.
v1.36.2
November 22nd, 2021
Bug Fix
Diff: v1.36.1...v1.36.2
Happy making!
Fixing autoloading warning during install
Hi Makers!
This release contains one tiny fix to prevent an autoload warning while installing the bundle.
v1.36.1
November 16th, 2021
Bug Fix
- #1014 - hiding php8 file so it doesn't throw autoloading warning - @weaverryan
Diff: v1.36.0...v1.36.1
Happy making!
Make Symfony 4.4 minimum version + Many Minor Code Generation Fixes
Hi Makers!
This release contains an overhaul of our testing system, which allowed us to find and fix various code generation bugs, mostly related to generating deprecated code on newer Symfony versions. In other words, it's a nice release.
v1.36.0
November 16th, 2021
Feature
- #1010 - Raising minimum Symfony version to 4.4 & refactoring of internal test classes - @weaverryan
Bug Fix
- #1010 - Various fixes for deprecated code that was generated & fixes for Symfony 6 - @weaverryan
- #993 - Avoid iterating on null for DoctrineBundle 2.2 and lower - @weaverryan
- #1004 - Fix FQCN of 'security.authentication.success' event - @AlexBevilacqua
Diff: v1.35.0...v1.36.0
Happy making!
Symfony 6 Support
Hi Makers!
This release contains 1 bug fix and support for Symfony 6!
November 12th, 2021
Feature
Bug Fix
- #992 - Renaming variable $userPasswordHasherInterface -> $userPasswordHasher - @weaverryan
Diff: v1.34.1...v1.35.0
Happy making!
Fix bug for JSON_ARRAY with doctrine/dbal 3
Hi Makers!
This release contains 2 bug fixes, one for doctrine/dbal 3 that makes running make:entity no fun!
October 17th, 2021
Bug Fix
- #991 - Check if json_array type exists before unsetting it - @HypeMC
- #988 - Fixed typo in Security52EmptyAuthenticator - @lyrixx
Diff: v1.34.0...v1.34.1
Happy making!
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!