A Week of Symfony #917 (22-28 July 2024)


This week, Symfony released maintenance versions 5.4.42, 6.4.10, 7.0.10 and 7.1.3. Meanwhile, the upcoming Symfony 7.2 version added a new polyfill for expectUserDeprecationMessage() method to add compatibility with PHPUnit 11 and improved the authenticators information in the security profiler panel.

Symfony development highlights

This week, 58 pull requests were merged (44 in code and 14 in docs) and 23 issues were closed (20 in code and 3 in docs). Excluding merges, 23 authors made 1,532 additions and 828 deletions. See details for code and docs.

5.4 changelog:

  • dbccb6b: [DependencyInjection] do not try to load default method name on interface
  • 72b9513: [PropertyInfo] fix nullable value returned from extractFromMutator on CollectionType
  • e507619: [Validator] properly set up constraint options in tests
  • 989e5f5: [ErrorHandler, VarDumper] remove PHP 8.4 deprecations
  • a123a45: [DoctrineBridge] fix messenger bus dispatch inside an active transaction
  • c0929d8: [Validator] treat uninitialized properties referenced by property paths as null
  • 31e3abf: [Translation] fx CSV escape char in CsvFileLoader on PHP >= 7.4
  • d4c681c: fix NO_COLOR empty value handling

6.4 changelog:

  • 9eb3fbb: [SecurityBundle] use firewall-specific user checkers when manually logging in users
  • 39aa1bd: [WebProfilerBundle] add word wrap in tables in dialog to see all the text in workflow listeners dialog
  • a123a45: [DoctrineBridge] fix messenger bus dispatch inside an active transaction
  • d628b75: [FrameworkBundle] move adding detailed JSON error messages to the validate phase
  • 6fe0729: [HttpFoundation] add tests for MethodRequestMatcher and SchemeRequestMatcher

7.1 changelog:

  • c2bafcd: [Security] update web-token/jwt-library version and adjust checker parameters
  • 72b9513: [PropertyInfo] fix nullable value returned from extractFromMutator on CollectionType

7.2 changelog:

  • b360af7: [Cache] add optional ClockInterface to ArrayAdapter
  • a980a46: [PhpUnitBridge] add ExpectUserDeprecationMessageTrait
  • 450113c: [FrameworkBundle] terminate with non-zero exit code when a secret could not be read
  • 04f9e6d: [Cache] use tempnam() instead of uniquid() to produce a temporary file
  • 5cb7c7b: make use of the @template annotation to improve type information
  • 6c7a6ff: [Security] pass the current token to the checkPostAuth() method of user checkers
  • c97bd94: [String] fix truncating in WordBefore mode with length after last space
  • d75465d: remove unused code and useless casts
  • 0d879fc: [Cache] stop defaulting to igbinary in DefaultMarshaller
  • 0234e05: [TypeInfo] add PhpDocAwareReflectionTypeResolver
  • 0ca5232: [SecurityBundle] improve profiler’s authenticators tab

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.