Symfony News

A Week of Symfony #732 (4-10 January 2021)

This week, Symfony added support for binary/negatable options in console commands and introduced a feature in PhpUnitBridge to log deprecations into a file. In addition, it fixed some PHP 8 compatibility in DependencyInjection component and added future PHP 8.1 compatibility in VarDumper component.

Symfony development highlights

This week, 75 pull requests were merged (50 in code and 25 in docs) and 82 issues were closed (58 in code and 24 in docs). Excluding merges, 28 authors made 2,954 additions and 1,454 deletions. See details for code and docs.

4.4 changelog:

  • e8d5d29: [WebProfilerBundle] take query and request parameters into account when matching routes
  • ef11c2c: [TwigBridge] removed full head content in HTML to text converter
  • 1dead9a: [Finder] applied the sort callback on the whole search result
  • e1b81d5: [DependencyInjection] do not break when loading schemas from network paths on Windows
  • eb74e5e: [HttpFoundation] parse cookie values containing the equal sign
  • a147705: [DependencyInjection] fixed InvalidParameterTypeException for function parameters
  • d223a5e: [VarDumper] fixed mutating $GLOBALS while cloning it
  • 3ee310f: [DependencyInjection] support PHP 8 builtin types in CheckTypeDeclarationsPass
  • 4cba31e: [Yaml] quote all dumped unicode spaces

5.1 changelog:

  • b76d560: [FrameworkBundle] dump abstract arguments
  • 929b4b5: [Validator] propagate groups to nested constraints
  • 1dead9a: [Finder] apply the sort callback on the whole search result
  • 6a953f4: [Uid] inline UuidV*::TYPE constants
  • dcd3bad: [Uid] use the Uuid constructor when reconstructing an Ulid from its RFC-4122 version

5.2 changelog:

  • 467d8d2: [FrameworkBundle] rename parameter of magic method configureContainer

5.x changelog:

  • 1e8fe94: [PropertyAccess] throw type error when incompatible types are passed
  • 85af7a2: [FrameworkBundle] fixed UidNormalizer priority
  • 70ed003: [Lock] created flock directory
  • 47e4b8e: [WebProfilerBundle] possibility to dynamically set mode
  • a0bbf53, eb3aa16: [Console] support binary / negatable options
  • 80bde1e: [PhpUnitBridge] added log file option for deprecations
  • fe91b86: [Notifier] added Dsn::getRequiredOption()
  • 4e0d424: [Serializer] add UidNormalizer normalization formats

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 4.21.4, 4.21.5 and 4.21.6 versions with the following changes:

  • Fix the Content-Length header of the toolbar modified and sent by the local web server
  • Fix empty response are converted to a 1 byte response by local web server
  • Fix Docker support when DOCKER_HOST is set to a unix:// path
  • Fix support for wildcard domains
  • Fix server:start when PHP FPM is already running
  • Fix server:start issue when an old PID file still exists
  • Remove stopped workers from output in server:status
  • Fix early logs not displayed when streaming logs of the local web server
  • Fix using plain PHP files with local web server not running PHP FPM
  • Fix log in the header of HTTP responses
  • Fix randomly missing RABBITMQ_/MAILER_ env var (local web server)
  • Fix missing headers in responses (local web server)

Newest issues and pull requests

They talked about us

Call to Action


Sponsor the Symfony project.


About us

What a Symfony developer should know about the framework: News, Jobs, Tweets, Events, Videos,...

Find us on Twitter

Find us on Facebook

ADS