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
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
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
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
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
Symfony 6.1.0-BETA2 has just been released. Here is the list of the most important changes since 6.1.0-BETA1: feature #45282 [Serializer] Support canners in object normalizer (@rmikalkenas) feature #46157 [Routing] Remove variadic constructor signature (@wouterj) 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 f
Contributed by Mathias Arlaud in #43973.
The Serializer component allows you to pass some context information to the serializing and deserializing process. For example, to ignore certain attributes when serializing, you can use the following code:
$serializer->serialize($person, 'json', ['ignored_attributes' => ['age']]);
// Symfony also defines publ
We recently announced the first selected speakers and talks at SymfonyWorld Online 2022 Summer Edition conference. Read our previous blog post to discover who are the first speakers scheduled and the talks they will share with the Symfony community..
Today, we're very pleased to announce more speakers and talks of the upcoming international online conference:
Mathias Arlaud, Developer, will talk about "API Platform, third act.. At Les Tilleuls, we love
Using PHP BackedEnum as Route Requirements
Contributed by Thomas Calvet
in #45803.
In PHP, backed enumerations are enumerations where all its elements are backed by some scalar value. This makes them useful to restrict the possible values of some routing parameter. In previous Symfony versions, you had to create the requirements manually using public constants:
This week, Symfony development focused on the upcoming Symfony 6.1 version, finishing some new features for it and polishing its already merged new features.
Symfony development highlights
This week, 31 pull requests were merged (25 in code and 6 in docs) and 23 issues were closed (16 in code and 7 in docs) by 24 authors. See details for code and docs.
4.4 changelog:
4e63f55: [VarDumper, WebProfilerBundle] replace deprecated String.prototype.substr()