A Week of Symfony #897 (4-10 March 2024)


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.

5.4 changelog:

  • 5bdddc2: [FrameworkBundle] fix PHP 8.4 deprecation on ReflectionMethod

6.4 changelog:

  • 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

7.0 changelog:

  • 24cf1eb: [AssetMapper] remove undefined $path variable

7.1 changelog:

  • 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

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:

They talked about us

Call to Action

Sponsor the Symfony project.