New in Symfony 6.1: Configurable Semaphores

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

In Symfony 5.2 we introduced a Semaphore component as an alternative to the existing Lock component. According to the Wikipedia definition, a semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system. Broadly speaking, a s

3y | Symfony
New in Symfony 6.1: Serializer Profiling

Contributed by Mathias Arlaud in #45656.

The Symfony Serializer component design is based on the chain-of-responsibility pattern. That makes it hard to know which normalizers and encoders are used during the entire (de)serialization process. That's why in Symfony 6.1 we've added a new Serializer panel in the Symfony Profiler:

This feature decorates the serializer service

3y | Symfony
New in Symfony 6.1: Service Autowiring Attributes

Contributed by Kevin Bond in #45657 and #45783.

PHP attributes are arguably one of the new PHP features with more positive impact on how we develop applications. Attributes add structured, machine-readable metadata information in code. In Symfony we added support for them in: New in Symfony 5.2: Routing PHP attributes New in Symfony 5.2: Constraints as PHP attribute

3y | Symfony
New in Symfony 6.1: Service Decoration Attributes

Contributed by Hubert Lenoir and Robin Chalas in #45834,

46112.

The decorator pattern is a design pattern that allows to modify the behavior of an individual object without affecting the behavior of other objects from the same class. In Symfony applications, service decoration allows you to change the behavior of some service witho

3y | Symfony
The old Flex infrastructure is shutting down

In September 2021, we announced that we were transitioning the Flex infrastructure to a public Github repository. In November 2021, we wrote a blog post explaining how to transition (short version: upgrade to the latest symfony/flex version). Since then, I've been monitoring the number of downloads for the old Flex package versions on Packagist and the traffic on the private infrastructure. It took a while to see fewer downloads on Packagist, but the traffic was

3y | Symfony
A Week of Symfony #800 (25 April - 1 May 2022)

This week, Symfony 4.4.41, 5.4.8 and 6.0.8 maintenance versions were released. In addition, the second beta of Symfony 6.1 was published so you can test it in your real projects before its final release. Meanwhile, the SymfonyWorld Online 2022 Summer Edition conference announced new talks and speakers. Lastly, a big thank you to all of you who have been following this weekly summary for 800 consecutive weeks, making it one of the longest-running series in the ent

3y | Symfony
New in Symfony 6.1: Draft Emails

Contributed by Kevin Bond in #44311.

In HTML it's possible to create email links that, when clicked, open a new email message with some pre-filled information rather than linking to some other page:

Send email

Send email

However, sometimes you need to create a full email, with lots of contents and even file attachments. You can't do that

3y | Symfony
Symfony 4.4.41 released

Symfony 4.4.41 has just been released. Here is the list of the most important changes since 4.4.40: bug #46154 [Mailer] Restore X-Transport after failure (@zenas1210) bug #46171 [VarDumper] Fix dumping floats on PHP8 (@nicolas-grekas) bug #46170 Fix dumping enums on PHP 8.2 (@nicolas-grekas) bug #46143 [Cache] Prevent fatal errors on php 8 when running concurrently with TagAwareAdapter v6.1 (@sbelyshkin) bug #46149 Modify processing of uploaded files to be compat

3y | Symfony
Symfony 5.4.8 released

Symfony 5.4.8 has just been released. Here is the list of the most important changes since 5.4.7: bug #46154 [Mailer] Restore X-Transport after failure (@zenas1210) bug #46178 [DependencyInjection] Properly declare #[When] as allowed on functions (@nicolas-grekas) bug #46171 [VarDumper] Fix dumping floats on PHP8 (@nicolas-grekas) bug #46170 Fix dumping enums on PHP 8.2 (@nicolas-grekas) bug #46143 [Cache] Prevent fatal errors on php 8 when running concurrently w

3y | Symfony
Symfony 6.0.8 released

Symfony 6.0.8 has just been released. Here is the list of the most important changes since 6.0.7: bug #46154 [Mailer] Restore X-Transport after failure (@zenas1210) bug #46178 [DependencyInjection] Properly declare #[When] as allowed on functions (@nicolas-grekas) bug #46171 [VarDumper] Fix dumping floats on PHP8 (@nicolas-grekas) bug #46170 Fix dumping enums on PHP 8.2 (@nicolas-grekas) bug #46143 [Cache] Prevent fatal errors on php 8 when running concurrently w

3y | Symfony

Členovia



Vyhľadávanie