Symfony 6.0.0-BETA2 has just been released. Here is a list of the most important changes: bug #44051 [Notifier] Fix package name (@fabpot) bug #44050 [Notifier] Fix package names (@fabpot) bug #44042 Fix DateIntervalToStringTransformer::transform() doc (@BenMorel) bug #44034 [Yaml] don't try to replace references in quoted strings (@xabbuh) bug #44013 [ErrorHandler] fix parsing @param with dollars in the description (@nicolas-grekas) bug #44010 [DependencyInjection] fix auto-ref
Symfony 5.4.0-BETA2 has just been released. Here is a list of the most important changes: bug #44042 Fix DateIntervalToStringTransformer::transform() doc (@BenMorel) bug #44034 [Yaml] don't try to replace references in quoted strings (@xabbuh) bug #44013 [ErrorHandler] fix parsing @param with dollars in the description (@nicolas-grekas) bug #44010 [DependencyInjection] fix auto-refresh when inline_factories is enabled (@nicolas-grekas) bug #44028 [ErrorHandler] Fix FlattenExcept
This week, Symfony development activity focused on polishing and tweaking the upcoming Symfony 5.4 and 6.0 releases (both will be published before the end of this month). In addition, Symfony announced a new sponsoring program for SaaS providers to back their Symfony bridges.
Symfony development highlights
This week, 39 pull requests were merged (26 in code and 13 in docs) and 43 issues were closed (33 in code and 10 in docs). Excluding merges, 21 authors made 509 additions an
The Symfony Validator component provides tens of validators to validate that a given value matches some expected constraints (e.g. not blank, being a valid IP address, being a string shorter than 255 characters, etc.) In Symfony 5.4 we've expanded that list with two new validators/constraints.
CIDR Validator
Contributed by Sorin Pop
in #43593.
This checks that a value is a valid CIDR (Cl
Contributed by Jérémy Derussé in #43066.
Security Voters are the recommended way to check for permissions in Symfony applications. They allow to centralize the permission logic so you can reuse it from controllers, templates and services. During runtime, whenever Symfony finds a isGranted() method call, it iterates over all the voters, and stops when the configured access decision strateg
Contributed by Alexandre Daubois in #41994.
In Symfony 5.2 we added a feature to define validation constraints as PHP attributes. Attributes were very recent at that time, because they had just been added to PHP 8.0. The only caveat was that you couldn't nest PHP attributes, so you couldn't use them with constraints such as AtLeastOneOf and Collection. Thankfully, PHP 8.1, released on Nov
Symfony 5.4.0-BETA1 has just been released. Here is a list of the most important changes: feature #43916 [PropertyInfo] Support the list pseudo-type (@derrabus) feature #43850 Add completion for DebugConfig name and path arguments (@eclairia, @Adrien Jourdier) feature #43838 feat: add completion for DebugAutowiring search argument (@eclairia, @Adrien Jourdier) feature #38464 [Routing] Add support for aliasing routes (@Lctrs) feature #43923 [Console] Open CompleteCommand for cust
Symfony 6.0.0-BETA1 has just been released. Here is a list of the most important changes: feature #43916 [PropertyInfo] Support the list pseudo-type (@derrabus) feature #43850 Add completion for DebugConfig name and path arguments (@eclairia, @Adrien Jourdier) feature #43838 feat: add completion for DebugAutowiring search argument (@eclairia, @Adrien Jourdier) feature #38464 [Routing] Add support for aliasing routes (@Lctrs) feature #43923 [Console] Open CompleteCommand for cust
This week, Symfony 5.4.0-BETA1 and 6.0.0-BETA1 versions were published in preparation for their final release at the end of November 2021. We also published the first articles about the new features of Symfony 5.4. Lastly, we announced more speakers for the upcoming SymfonyWorld Online 2021 Winter Edition conference (December 9-10, 2021).
Symfony development highlights
This week, 74 pull requests were merged (63 in code and 11 in docs) and 41 issues were closed (33 in code and
Symfony Controllers are the "glue code" that runs some logic and calls some services to serve each application route. They are a very stable piece of software that we rarely change. However, in Symfony 5.4 we've made some changes to controllers that may impact your applications.
Deprecated the Request::get() Method
Contributed by Roland Franssen
in #42392.
The Symfony Request Object is a