This week, Symfony 5.4.37, 6.4.5 and 7.0.5 maintenance versions were released. Meanwhile, in preparation for PHP 8.4 release at the end of 2024, we started testing all Symfony versions with it and we already fixed some deprecations.
Symfony development highlights
This week, 31 pull requests were merged (18 in code and 13 in docs) and 24 issues were closed (18 in code and 6 in docs). Excluding merges, 20 authors made 1,654 additions and 2,555 deletions. See details for code and docs.
- 5bdddc2: [FrameworkBundle] fix PHP 8.4 deprecation on ReflectionMethod
- 5f78910: [AssetMapper] throw exception in Javascript compiler when PCRE error
- 0523300: [HttpClient] preserve float in JsonMockResponse
- e43b198: [Messenger] handle AMQPConnectionException when publishing a message
- 04652b7: [Validator] normalize before reducing keys in UniqueValidator
- f9621d3: [Validator] backport NoSuspiciousCharactersValidator tests
- 24cf1eb: [AssetMapper] remove undefined $path variable
- 1246890: [Security] ignore empty username or password login attempts
- ca5366a: [String] leverage Randomizer::getBytesFromString()
- 86bdd82: [Clock] rename get/setMicroseconds() to get/setMicrosecond()
- de948d3: [HttpKernel] improve error reporting when requiring the wrong Request class
- fabdf04: [AssetMapper] create PreAssetsCompileEvent using SymfonyStyle
- d7b9240: [Console] document argv arrays for static analysis
Newest issues and pull requests
- Add support for Hidden Options in Console
- Subject of TemplatedEmail should also be in a template
- [Messenger] enhance the retry command
- [Serializer] Add XmlEncoder::CDATA_WRAPPING_PATTERN context option
- Enable PHP 8.4 in the CI and make tests green
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) Cosmic Coding with Symfony 7: Twig Template Inheritance
- (Video) Cosmic Coding with Symfony 7: Debugging with the Amazing Profiler
- (Video) Cosmic Coding with Symfony 7: Creating JSON API Endpoints
They talked about us
- Symfony Station Communiqué - 08 March 2024
- Getting Symfony app ready for Swoole, RoadRunner, and FrankenPHP (no AI involved)
- Modernizing PHP apps using DDD with Symfony
- Symfony — how to inject a service by interface and argument name
- Month of Sylius: February 2024
- Forcer le redémarrage d’un worker 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.
Sponsor the Symfony project.