A Week of Symfony #927 (30 September – 6 October 2024)

This week, Symfony 7.2 entered into its stabilization period before its final release at the end of November 2024. Some of the new features merged this week include: support for Mailtrap webhook, a new utility method in the String component, support for a new logical operator in the ExpressionLanguage component, and a new way to sort the extracted translatable contents.

Symfony development highlights

This week, 33 pull requests were merged (24 in code and 9 in docs) and 29 issues were closed (13 in code and 16 in docs). Excluding merges, 18 authors made additions and deletions. See details for code and docs.

5.4 changelog:

e6e545c: [WebProfilerBundle] do not base services on PHPUnit mocks
18ad416: [Security] fix serialized object representation in tests
908a91f: [HttpKernel] correctly merge max-age/s-maxage and Expires headers
2d324e5: [FrameworkBundle] fix displayed stack trace when session is used on stateless routes

6.4 changelog:

2de4387: [Serializer] collect denormalization errors for variadic params
f5a5104: [Serializer] fix ObjectNormalizer gives warnings on normalizing with public static property

7.2 changelog:

10ac244: [Contracts] closure to arrow functions
87ac37b: [Mailer, Webhook] Mailtrap webhook support
434e901: [String] add the AbstractString::kebab() method
40d0089: [FrameworkBundle] never hash the empty decryption key to compute kernel.secret
d02ab3f: [ExpressionLanguage] add support for logical xor operator
0869295: [Notifier] allow jolicode/jolinotif 3
baa08d6: [Notifier] add support for label parameter in GatewayAPI
22213fc: [Translation] allow sort when extracting translation files
590f629: [Console] use assertSame for input tests

Newest issues and pull requests

[TwigBridge] Improve error rendering when running tests
Add option to prevent pre-filling translations
[Config] Add StringNode
[TwigBridge] Update main.css email stylesheet to latest foundation-emails release

They talked about us

Consuming HTTP Streams in PHP with Symfony HTTP Client and Ollama API
Small Swoole Entity Manager Bundle
Symfony Event Dispatcher Component: How It Works
Backup and Restore Command for Symfony Migrations
How to Create a Custom Symfony Bundle in Symfony
Administrer une entité custom dans un back-office Sylius
Désactiver des routes Symfony en production

Call to Action

Follow Symfony on X, on Mastodon, on Bluesky and on Threads and share this article.
Subscribe to the Symfony blog RSS and never miss a Symfony story again.

Sponsor the Symfony project.

Symfony Blog

Read More

Latest News

PHP-Releases

PHP 8.4.1 released!

PHP 8.1.31 released!

PHP 8.3.14 released!

PHP 8.2.26 released!

Generated by Feedzy