A Week of Symfony #822 (26 September - 2 October 2022)

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.

4.4 changelog:

  • 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

5.4 changelog:

  • 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

6.0 changelog:

  • 540425a: [DependencyInjection] EnvPlaceholderParameterBag::get() can't return UnitEnum

6.1 changelog:

  • 3810eaa: [Mailer] apply the default value of 512 for max depths in Mailjet

6.2 changelog:

  • 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

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:

They talked about us

Call to Action

            <hr style="margin-bottom: 5px" />
            <div style="font-size: 90%">
                <a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
            </div>

https://symfony.com/blog/a-week-of-symfony-822-26-september-2-october-2022?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

Created 2y | Oct 2, 2022, 9:20:07 AM


Login to add comment

Other posts in this group

Back on the inspiring SymfonyCon Vienna 2024!

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

Jan 31, 2025, 12:30:18 PM | Symfony
SymfonyLive Paris 2025 : Reveal of workshop topics!

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.

💻

Jan 30, 2025, 8:50:03 AM | Symfony
Get Symfony news on your favorite social network

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

Jan 29, 2025, 2:20:10 PM | Symfony
SymfonyLive Berlin 2025: Demystify the magic of the Container

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

Jan 29, 2025, 2:20:10 PM | Symfony
Twig CVE-2025-24374: Missing output escaping for the null coalesce operator

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

Jan 29, 2025, 9:40:06 AM | Symfony
Symfony 6.4.18 released

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

Jan 29, 2025, 9:40:05 AM | Symfony
Symfony 7.1.11 released

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

Jan 29, 2025, 9:40:05 AM | Symfony