A Week of Symfony #899 (18-24 March 2024)


This week, the upcoming Symfony 7.1 version added features such as a method to return all tokens after the command name, support for new DOM extension classes in VarDumper, some design updates in the workflow profiler panel and a way to apply attribute configurator to child classes in dependency injection.

Symfony development highlights

This week, 58 pull requests were merged (45 in code and 13 in docs) and 33 issues were closed (26 in code and 7 in docs). Excluding merges, 35 authors made additions and deletions. See details for code and docs.

5.4 changelog:

  • b9b35dc: add more explicit nullable types for default null values
  • 998fa9d: make more nullable types explicit
  • 26ba359: [PropertyInfo] add test using deprecated reflection doc block feature to legacy group
  • 914ce1e: [Mime] use local PHP web server to test HTTP stream wrappers
  • afc658d: [Filesystem] preserve the file modification time when mirroring directories
  • 7ba3d8e: [Config] fix YamlReferenceDumper handling of array examples

6.4 changelog:

  • a5dc122: [VarExporter] add #[Ignore] to proxy-related methods to prevent them from being serialized

7.0 changelog:

  • ea80120: [HttpFoundation] allow array style callable setting for Request setFactory method
  • afc47ed: [Yaml] prefix examples with #

7.1 changelog:

  • a2fc092: [Console] add a way to use custom lock factory in lockableTrait
  • a51e675: [Console] allow to return all tokens after the command name
  • 1272c0d: [Workflow] add EventNameTrait to compute event name strings in subscribers
  • ca70200: [VarDumper] add support for new DOM extension classes in DOMCaster
  • b427471: [DependencyInjection] apply attribute configurator to child classes
  • e11d75c: [WebProfilerBundle] update the design of the workflow profiler panel
  • 0b99d83: [Messenger] allow extending attribute class AsMessageHandler
  • cd2fc45: [FrameworkBundle] remove custom handler for Workflow listener attributes

Newest issues and pull requests

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

  • 26d7521: Update docker/docker to v24.0.9 (@SerheyDolgushev)
  • f913653: Specify patch version in minimum go version (@SerheyDolgushev)
  • 254e759: Update toolbar injected HTML to prevent CSP violation (@tucksaun)
  • b74e7e5: Simplify code (@fabpot)
  • fc1c4a1: Bump Github action versions (@fabpot)

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.