New in Symfony 5.4: Filesystem Path Class

Contributed by Théo FIDRY in #41954.

The Filesystem component is a small utility component that provides functions related to the filesystem which are independent of the underlying operating system. Its scope is small, but it's so convenient that it has more than 200 million downloads. In Symfony 5.4 we're improving this component by adding a new Path class. This class provides utilities

3y | Symfony
New in Symfony 5.4: Configurable Exceptions

Contributed by Grégoire Pineau in #42244.

In Symfony applications, logging is available either via Symfony's built-in logger and or via the Monolog logger and its tight integration with Symfony. When using Monolog you can access to features such as excluding certain HTTP codes from logs and logging messages to different files. In Symfony 5.4 we've improved the logger with a new feature to

3y | Symfony
Symfony 6.0.0-BETA2 released

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

3y | Symfony
Symfony 5.4.0-BETA2 released

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

3y | Symfony
A Week of Symfony #776 (8-14 November 2021)

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

3y | Symfony
New in Symfony 5.4: New Validation Constraints

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

3y | Symfony
New in Symfony 5.4: Faster Security Voters

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

3y | Symfony
New in Symfony 5.4: Nested Validation Attributes

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

3y | Symfony
Symfony 5.4.0-BETA1 released

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

3y | Symfony
Symfony 6.0.0-BETA1 released

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

3y | Symfony

Members



Search