This week, Symfony development activity focused on fixing bugs. Meanwhile, the upcoming Symfony 5.2 version added a feature to turn HttpClient responses into PHP streams and the Symfony Profiler added a new Session profiling feature. Lastly, SymfonyInsight announced a free webinar about setting up quality processes with Symfony.

Symfony development highlights

This week, 48 pull requests were merged (27 in code and 21 in docs) and 19 issues were closed (13 in code and 6 in docs). Excluding merges, 31 authors made 1,858 additions and 3,921 deletions. See details for code and docs.

3.4 changelog:

  • 034be44: [Debug] fixed throwing from __toString() in ErrorHandler
  • 52ddce1: [Validator] fixed validating lazy properties that evaluate to null
  • 9f6acd5: [Console] do not check for "stty" using "exec" if that function is disabled

4.4 changelog:

  • 4e16dfd: [Messenger] fixed compatibility with Doctrine DBAL 3.0
  • 78e6fc4: [Translation] fixed caching of parent locales file in translator
  • f024382: [HttpClient] fixed http_version option usage in CurlHttpClient
  • ee0e37b: [HttpClient] fixed parsing response headers in CurlResponse
  • fec2331: [Console] always use stty when possible to ask hidden questions
  • 3270726: [HttpClient] fixed promise behavior in HttplugClient

5.1 changelog:

  • 842a793: [PropertyAccess] removed unneeded inflector component dependency

Master changelog:

  • 3ce4391: [Console] changed default ProgressBar redraw frequency to 25fps
  • d555112: [HttpClient] added StreamableInterface to ease turning responses into PHP streams
  • 187b66b: [VarDumper] improved rendering HTML
  • 501542a: moved event alias mappings to their components
  • d8082fa: [HttpClient] added MockResponse::getRequestMethod() and getRequestUrl() to allow inspecting which request has been sent
  • 5b6139f: [Workflow] added function (and Twig extension) to retrieve a specific transition
  • 8cc90b9: [HttpKernel, WebProfilerBundle] added session profiling
  • 98e6a93: [HttpClient] always yield a LastChunk in AsyncResponse on destruction

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.16.4 and 4.16.5 versions with the following changes:

  • Fix zero exit code when running env:deactivate exit with an error
  • Fix missing directory creation when saving proxy.json
  • Alias SYMFONY_DEFAULT_ROUTE_URL to SYMFONY_PROJECT_DEFAULT_ROUTE_URL
  • Introduce SYMFONY_APPLICATION_DEFAULT_ROUTE_URL`
  • Make PHP 7.4 the default PHP version when initializing a project
  • Fix php-ext-install fails activating extension if php.ini does not end with a new line

Newest issues and pull requests

They talked about us

Call to Action

Published in #A week of symfony