A Week of Symfony #945 (3-9 February 2025)

This week, the upcoming Symfony 7.3 version improved the server event streaming, introduced a new DeduplicateMiddleware in Messenger and added an option to disable translation. In addition, Symfony announced the full schedule for SymfonyDay Chicago event and a new event in Montreal (Canada).

Symfony development highlights

This week, 48 pull requests were merged (41 in code and 7 in docs) and 39 issues were closed (34 in code and 5 in docs). Excluding merges, 24 authors made 3,388 additions and 942 deletions. See details for code and docs.

6.4 changelog:

819e3e8: [Process] fix process status tracking
1b14777: [HttpClient] fix uploading files > 2GB
2537633: [HttpClient] fix buffering AsyncResponse with no passthru
0beb17a: [Mime] use isRendered method to ensure we can avoid rendering an email twice
c33333b: [HttpClient] pass CURLOPT_INFILESIZE_LARGE only when supported
25dd52e: [Security] return null instead of empty username to fix deprecation notice
06b9c31: [DependencyInjection] fix env default processor with scalar node

7.2 changelog:

2005049: [TypeInfo] fix promoted property phpdoc reading
1315804: [HttpClient] fix retrying requests with Psr18Client and NTLM connections
c633647: [Lock] fix Predis error handling
c6ae4ad: [Serializer] handle default context in named Serializer

7.3 changelog:

ecb9728: [FrameworkBundle] fix compat with AsCommand attributes from symfony/console < 7.3
5a09d52: [Security] deprecate UserInterface & TokenInterface’s eraseCredentials()
dc38bb0: [Yaml] fix Yaml::DUMP_COMPACT_NESTED_MAPPING does not apply when dumping sequences
7e9ecaf: [Serializer] register named normalizer & denormalizer aliases
a1126e7: [Scheduler] try reading the command name from the AsCommand attribute first
277486a: [Scheduler] normalize TriggerInterface as string
e08f9af: [Serializer] add NumberNormalizer
bc08cb4: [Validator] add support for the otherwise option in the When constraint
cb0a724: [Serializer] correct all implementations of the NormalizerInterface to have the correct method signature
c4ee8fd: [HttpKernel] support Uid in #[MapQueryParameter]
3974926: [RateLimiter] add RateLimiterFactoryInterface
b27f2ec: [HttpFoundation] streamlining server event streaming
201747b: [Scheduler] add MessageHandler result to the PostRunEvent
0b9c488: [Messenger] introduce DeduplicateMiddleware
e04b670: [Security] add a normalization step for the user-identifier in firewalls
e50af3d: [Messenger] add bury_on_reject option to Beanstalkd bridge
52040af: [FrameworkBundle, Validator] add framework.validation.disable_translation option
0b82a67: fix return type of mock factory in Redis ConnectionTest
8cc528f: [FrameworkBundle] fix compatibility with symfony/scheduler < 7.3
9ad4353: [Scheduler] make newly added constructor argument optional

Newest issues and pull requests

[RFC] Attribute-based Interception for Service Methods
[RFC] The future of Webpack Encore, Webpack Encore Bundle, and Node.js usage inside a Symfony app
[Translator] Interpolate HTML components in translations
[Yaml] allow forcing quotes with dump() even if they’re technically not required
[AssetMapper] Disable Versioning in Dev

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.10.7,
version with the following changes:

Fix Docker containers are not detected with Docker Desktop 4.38.0 (@tucksaun)
Updated the PHP 8.2.x versions to the (current) PHP 8.4.x in de local:php:list text output (@cafferata)
Update fixtures (@fabpot)
Bump pm.max_children from 5 to 100 (@fabpot)

Symfony Jobs

These are some of the most recent Symfony job offers:

Lead Symfony Developer at E-Liberty
Full-time – €40,000 – €60,000 / year
Remote + part-time onsite (Chambery, France)
View details
Lead Symfony Developer at Moodle
Full-time – €50,000 – €62,000 / year
Full remote
View details
Backend Symfony Developer at Cobbleweb
Full-time – €40,000 – €60,000 / year
Full remote
View details

You can publish a Symfony job offer for free on symfony.com.

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.

This week, SymfonyCasts published the following updates:

(Video) Symfony 7 – Mailer and Webhook with Mailtrap: CSS in Email
(Video) Symfony 7 – Mailer and Webhook with Mailtrap: Real Email Styling with Inky & Foundation CSS

They talked about us

Symfony Station Communiqué – 07 February 2025
Type-Safe Identifiers with Symfony and Doctrine: Using Dedicated ID Classes
Flexible authentication parameters in multi-tenant environments with Symfony
TypeScript Symfony Expression Language
When Symfony event listeners go wild!

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.3.17 released!

PHP 8.4.4 released!

PHP 8.2.27 released!

PHP 8.1.31 released!

Generated by Feedzy