A Week of Symfony #845 (6-12 March 2023)


This week, the upcoming Symfony 6.3 version added features to create targeted value resolvers, to allow you to select the parser used in DomCrawler component, to support autowiring services as closures using attributes and to improve Serializer performance.

Symfony development highlights

This week, 65 pull requests were merged (32 in code and 33 in docs) and 35 issues were closed (16 in code and 19 in docs). Excluding merges, 29 authors made 4,750 additions and 1,148 deletions. See details for code and docs.

5.4 changelog:

  • 0caf9c3: [VarDumper] improve test coverage a bit
  • 4f2313d: [Translation] decouple TranslatorPathsPass from "debug." convention
  • f2ccff6: [Tests] replace setMethods() by onlyMethods() and addMethods()
  • 48f806a: [DependencyInjection] fix support binary values in parameters
  • 431b6ef: [Tests] remove occurrences of withConsecutive()
  • 626954d: [Mailer] STDOUT blocks infinitely under Windows when STDERR is filled

6.2 changelog:

  • fa72214: [Translation] wrap call to \Locale::setDefault from LocaleSwitcher in a class_exists call
  • 488a208: [Security] remove deprecated conditions in supports and authenticate methods of AccessListener
  • 48f806a: [DependencyInjection] fix support binary values in parameters

6.3 changelog:

  • 6858de9: [DoctrineBridge] deprecate doctrine schema subscribers in favor of listeners
  • 0c6012f: [DomCrawler] give choice of used parser
  • fd8b883: [Messenger] fix TransportNamesStamp deserialization
  • b6bf9de, f34aaf8: [HttpKernel] introduce targeted value resolvers
  • 898a723: [SecurityBundle] minor code cleanup in SecurityExtension
  • 2f1ccef: [DependencyInjection] add support for autowiring services as closures using attributes
  • 844df3e: [HttpKernel] add tests for #[TaggedIterator] & #[TaggedLocator] on controller arguments
  • 550b92f: [Messenger] make StopWorkerOnSignalsListener listen by default on SIGTERM and SIGINT
  • a7e0b05: [DependencyInjection] deprecate #[MapDecorated] in favor of #[AutowireDecorated]
  • 58052e9: [Serializer] add methods getSupportedTypes to allow better performance
  • ae7a65e: [Validator] add the exclude option to the Cascade constraint
  • 5c99187: [Security] add logout configuration for Clear-Site-Data header
  • c8920e9: [DependencyInjection] deprecate the @required annotation

Newest issues and pull requests

They talked about us

Call to Action

Sponsor the Symfony project.