This week, Symfony 3.4.30, Symfony 4.2.11, and Symfony 4.3.3 maintenance versions were released. The 4.2.11 version is the last one in the 4.2 branch, so you are encouraged to upgrade to Symfony 4.3 as soon as possible. In addition, the second part of the schedule of the SymfonyCon Amsterdam 2019 conference was published.

Symfony development highlights

This week, 103 pull requests were merged (79 in code and 24 in docs) and 54 issues were closed (43 in code and 11 in docs). Excluding merges, 36 authors made 3,790 additions and 1,658 deletions. See details for code and docs.

3.4 changelog:

  • b8d03ca: [VarDumper] use \ReflectionReference for determining if a key is a reference (php >= 7.4)
  • e45c7a3: [FrameworkBundle] renamed internal WebTestCase to avoid confusion
  • 789c330: [Debug] added tests for custom ExceptionHandler handlers
  • 639041c: [Yaml] fixed inline handling when dumping tagged values
  • 1ce527a: [Console] fixed multiSelect ChoiceQuestion when answers have spaces

4.2 changelog:

  • e06b0f0: [Messenger] flatten collection of stamps collected by the traceable middleware
  • 5acd99c: [DoctrineBridge] added parameter type declarations to private methods
  • b00d988: [HttpKernel] clarified error handler restoring process

4.3 changelog:

  • 1fc080b: [HttpClient] rewind stream when using Psr18Client
  • 280fd7d: [HttpClient] fixed canceling responses in a streaming loop
  • 7fae78f: [Security/Core] aligned defaults for sodium with PHP 7.4
  • 61b0f79: [DependencyInjection] fixed performance issue with lazy autowire error messages
  • 5acd99c: [DoctrineBridge] added parameter type declarations to private methods
  • 90c6482: [Messenger] fixed Redis last error not cleared between calls

4.4 changelog:

  • 7dfc97b: [Mailer] improved exception message for unsupported scheme
  • e726161: removed hack to access class scope inside closures
  • 759f91c: [ErrorRenderer] fixed the priority order of the error renderers registration
  • 41c530f: [ErrorRenderer] made debug false by default and cleanup
  • 12f99c0: [ErrorRenderer] improved the exception page provided by HtmlErrorRenderer
  • 396f4be: [Routing] deprecated ServiceRouterLoader and ObjectRouteLoader in favor of ContainerLoader and ObjectLoader
  • 379b525: [ErrorRenderer] allowed disabling debug content in debug mode (preview mode)
  • 4045a13: [TwigBundle] deprecated error templates for non-html formats and using ErrorRenderer as fallback
  • f492ba5: [WebProfilerBundle] decoupled TwigBundle and used the new ErrorRenderer mechanism
  • 5af1a90: [Form] repeat preferred choices in list of all choices
  • 71687e0: [Form, Validator] generated accept attribute with file constraint and mime types option
  • 1ce527a: [Console] fixed multiSelect ChoiceQuestion when answers have spaces
  • fc14cb7: [Mailer] renamed mailer bridge transport classes
  • f6e93de: [ErrorHandler] decoupled from ErrorRenderer component
  • 86440a4: [Form] used a reference date to handle times during DST
  • 29ba2e1: [Console] improved performance when formatting long exception
  • 65f0d6f: [VarDumper] added support for Imagine/Image

Master changelog:

  • 0f84bd6: [SecurityBundle] removed the deprecated "switch_user.stateless" option

Symfony Local Server

Symfony Local Server, the best way to run Symfony applications on your local machine, released its new 4.6.2 version with the following changes:

  • Fix PHP discovery for homebrew (when the binary contains a _ under the php/ subdirectory)
  • Add billing:update:card command to allow one to update projects's billing card from CLI
  • Change default PHP version selection to prefer non-symlinked versions
  • Fix infinite loop when credit card is invalid
  • Add a command to refresh PHP versions (local:php:refresh)
  • Fix a panic when adding something between symfony and composer/php/console
  • Fix PHP version used for symfony composer
  • Add support for phpenv dev versions
  • Add information about why a PHP version is chosen for the current directory in local:php:list
  • Allow to project:scale directly to a specific plan
  • Fix looking for all PHP versions in PATH on Linux

Newest issues and pull requests

They talked about us

Upcoming Symfony Events

Call to Action

Published in #A week of symfony