This week, Symfony 4.4.46, 5.4.13, 6.0.13 and 6.1.5 maintenance versions were released. Meanwhile, we continued merging new features into the upcoming Symfony 6.2 version: simplified adding MIME parts to email messages, allow creating lazy-loading classes using constructors, redesigned the mailer panel in the Profiler, and added an option to make the YamlEncoder indentation configurable.
Symfony development highlights
This week, 45 pull requests were merged (30 in code and 15 in docs) and 21 issues were closed (16 in code and 5 in docs). Excluding merges, 35 authors made 6,963 additions and 1,263 deletions. See details for code and docs.
- 99e9733: [Ldap] do not run ldap_set_option on failed connection
- a91e213: [HttpFoundation] fix BinaryFileResponse content type detection logic
- 289d6b4: [WebProfiler] fix overflow issue in Forms panel
- caad8ec: [Serializer] fixed framework.serializer.default_context is not working for JsonEncoder
- 65dd59a: [FrameworkBundle] filter out trans paths that are covered by a parent folder path
- a5f8bb2: [FrameworkBundle] fix passing serializer.default_context option to normalizers
- 885994e: [Security] fix login URL matching when app is not run with URL rewriting or from a sub folder
- ef3df52: [Notifier] throw exception on error-response from Expo API
- 2852cdb: [FrameworkBundle] allow to specify null for exception mapping configuration values
- 540425a: [DependencyInjection] EnvPlaceholderParameterBag::get() can't return UnitEnum
- 3810eaa: [Mailer] apply the default value of 512 for max depths in Mailjet
- 59da7ea: [DependencyInjection] deprecate numeric parameter names
- 527e30f: [Mime] simplify adding Parts to an Email
- 4c6049e: [VarExporter] allow creating lazy-loading classes using constructors
- c304930: [Serializer] add context option to configure the indentation of nested nodes for YamlEncoder
- b7bc764: [Console] allow limiting the height of a console section
- edbd043: [Validator] add the getCause() to the ConstraintViolationInterface
- 23f0b0f: [Dotenv] remove code for legacy Process component versions
- 70e0b99: Updae Norwegian translations
- d13a183: [Validator] add option to check file extension
- cc4003b: [WebProfilerBundle] update the mailer panel
- 180c4f8: [Messenger] add dedicated method for disabling instead of passing boolean flags
- 7d3c0b8: [Messenger] deprecate MessageHandlerInterface and MessageSubscriberInterface
- d9462d9: [Form, PropertyAccess] allow optional property accesses
- 1b3b14c: [FrameworkBundle] make the Router cache_dir configurable
Newest issues and pull requests
- [RFC] Improve Translation Providers usage in cloud native environment
- Using Infection for Mutation Testing
- Add constants for RFC 8631 to WebLink component
Symfony CLI
Symfony CLI is a must-have tool when developing Symfony applications on your local machine. It includes the Symfony Local Server, the best way to run local Symfony applications. This week Symfony CLI released its new 5.4.14 version with the following changes:
- Remove support for Fury (@fabpot)
- Fix psh service sorting (@fabpot)
- Bump Go to 1.19 (@tucksaun)
SymfonyCasts Updates
SymfonyCasts is the official way to learn Symfony. Select a track for a guided path through 100+ video tutorial courses about Symfony, PHP and JavaScript.
These were some of the most relevant SymfonyCasts updates of the week:
- (Video) Doctrine, Symfony 6 & the Database, Chapter 16: Flash Message & Rich vs Anemic Models
- (Video) Doctrine, Symfony 6 & the Database, Chapter 17: Doctrine Extensions: Timestampable
- (Video) Doctrine, Symfony 6 & the Database, Chapter 18: Clean URLs with Sluggable
- (Video) Doctrine, Symfony 6 & the Database, Chapter 19: Simple Doctrine Data Fixtures
- (Video) Doctrine, Symfony 6 & the Database, Chapter 20: Foundry: Fixtures You'll Love
They talked about us
- CQRS Principle with Symfony Messenger
- Emojis are new Symfony’s best friends!
- Getting Doctrine's ChangeSet in a postUpdate event
- Definiendo librerías externas en Symfony
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.
<hr style="margin-bottom: 5px" />
<div style="font-size: 90%">
<a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
</div>
Login to add comment
Other posts in this group
We were absolutely thrilled to gather with the incredible Symfony community for the first time in Vienna, Austria, from December 5th to 6th, surrounded by the warm and festive atmosphere of the
SymfonyLive Paris 2025, conference in French language only, will take place from March 27 to 28! The schedule is currently being revealed as we go along. More details are available here.
💻
Symfony has been active on X, Mastodon, and Bluesky for some time, but until recently, not all platforms received equal attention. Since Twitter (now X) was our first social network, all blog posts we
SymfonyLive Berlin 2025, conference held in English, will take place from April 1 to 4! The schedule is being revealed gradually. More details are available here.
As we are now unveiling th
Affected versions
Twig versions >=3.16.0,<3.19.0 are affected by this security issue.
The issue has been fixed in Twig 3.19.0.
Description
When using the null coalesce operator (??), output esc
Symfony 6.4.18 has just been released. Here is the list of the most important changes since 6.4.17:
bug #58889 [Serializer] Handle default context in Serializer (@Valmonzo)
bug #59631 [HttpClient
Symfony 7.1.11 has just been released. Here is the list of the most important changes since 7.1.10:
bug #58889 [Serializer] Handle default context in Serializer (@Valmonzo)
bug #59631 [HttpClient