New in Symfony 5.3: Service Autoconfiguration and Attributes

Service Autoconfiguration Using Attributes¶

        Contributed by 
        Nicolas Grekas 
        in #39804.

Service autoconfiguration allows to automatically apply certain configuration to your services, based on your service’s class. This is useful for example to apply certain service tag to classes that implement some interface (e.g. when you create a class implementing Twig\Extension\AbstractExtension,

4y | Symfony
New in Symfony 5.3: Logging Improvements

Reset Loggers on Messenger Workers¶

        Contributed by 
        Laurent Voullemier 
        in #40761.

One of the most important elements of the Messenger component are the workers that handle and process the messages. In Symfony 4.4 we improved workers to automatically clear the Doctrine entity manager after each message is processed (or failed) to avoid having issues with outdated entities. In Symfony 5

4y | Symfony
Meet the first selected speakers of SymfonyWorld 2021

SymfonyWorld 2021 will come soon! We're super pleased to welcome you for a week of Symfony from June 15 to June 18:

2-day online pre-conference workshops on June 15-16 2-day online conference with 2 tracks per day on June 17-18

Join us at the international online Symfony conference! The entire event, workshops and conference will be organized in English. Talks from the conference will have English subtitles. All talks will be available in replay as soon as the conference ends.

Meet now the

4y | Symfony
New in Symfony 5.3: Inlined Serialization Context

Contributed by Maxime Steinhausser in #39399.

The Serializer component provides a mechanism to configure the way data is serialized/deserialized: the context options. These options are passed as an optional argument of the serialize/deserialize methods. In Symfony 5.3 we’ve improved the serializer so you can define the context as part of the mapping information thanks to a new Seriali

4y | Symfony
Symfony 5.3.0-BETA3 released

Symfony 5.3.0-BETA3 has just been released. Here is a list of the most important changes:

feature #40947 [Translation] Added Crowdin Translation Provider (@andrii-bodnar) bug #41132 [Runtime] don’t display the shebang on the CLI (@nicolas-grekas) bug #41113 [Console] Fix Windows code page support (@orkan) bug #40902 [Security] Allow ips parameter in acces _control to accept comma-separated string (@edefimov) bug #40980 [TwigBridge] Fix HTML for translatable custom-file label in

4y | Symfony
A Week of Symfony #749 (3-9 May 2021)

This week, Symfony development activity focused on polishing Symfony 5.3 for its upcoming release and fixing some of the bugs reported for it. In addition, Symfony celebrated the SymfonyLive Online Spanish 2021 conference. The next official conference will be SymfonyWorld Online 2021 (June 17 - 18, 2021).

Symfony development highlights

This week, 63 pull requests were merged (48 in code and 15 in docs) and 47 issues were closed (41 in code and 6 in docs). Excluding merges, 46 authors made 5,33

4y | Symfony
New in Symfony 5.3: Configure Multiple Environments in a Single File

Contributed by Nicolas Grekas in #40214 and #40782.

Symfony defines different configuration environments so you can change your application behavior depending on where it’s run (e.g. locally in your development machine, in the production server, etc.) The options applied to bundles/packages in all environments are defined in config/packages/ and the specific options of eac

4y | Symfony
No te pierdas mañana la conferencia SymfonyLive Online Spanish Edition 2021

Nos vemos mañana, 7 de mayo, para la primera conferencia SymfonyLive Online Spanish Edition 2021: 1 día, 2 tracks con 11 charlas. Se trata de la primera conferencia oficial de Symfony en español 100% online, podrás descubrir todas las novedades de Symfony y su ecosistema. El replay completo de la conferencia estará disponible en cuanto termine la conferencia.

¿Todavía no estás inscrito/a? Te quedan solo unas horas para inscribirte y assistir a la conferencia en español y en directo. Puedes insc

4y | Symfony
New in Symfony 5.3: Improved Debug Commands

Debug console commands are one of the key parts of the Symfony debugging experience. In Symfony 5.3 we improved them with new features and new commands.

Debug Events by Event Dispatcher¶

        Contributed by 
        Timo Bakx 
        in #39276.

The recent features introduced in the Security component have changed the number of event dispatchers Symfony applications have by default. Each firewall now defin

4y | Symfony
New in Symfony 5.3: Session Service Deprecation

Contributed by Jérémy Derussé in #38616.

In Symfony applications you can access the session via the session service or its SessionInterface autowiring alias. This is convenient, but it’s technically wrong for some reasons:

Session is a data object (e.g. like the Request object) so there shouldn’t be a service defined for it in the container; Sessions are not part of the HTTP specific

4y | Symfony

Miembros



Buscar