This week Symfony 5.1.2 maintenance version was released. Meanwhile, the new official Symfony store was launched with great success. Finally, the upcoming Symfony 5.2 version continued migrating its internal configuration from XML to PHP.

Symfony development highlights

This week, 70 pull requests were merged (48 in code and 22 in docs) and 36 issues were closed (29 in code and 7 in docs). Excluding merges, 44 authors made 2,694 additions and 1,490 deletions. See details for code and docs.

3.4 changelog:

  • 363eec2: [Cache] fixed compat with DBAL v3
  • c16bb52: [FrameworkBundle] preserved dots in query-string when redirecting
  • 907ffa0: [VarDumper] fixed CliDumper coloration on light arrays
  • 2290c62: [PhpUnitBridge] streamline ansi/no-ansi of composer according to phpunit --colors option
  • 57251cd: [DependencyInjection] tighten detection of local dirs to prevent false positives
  • cf66f03, e707967: fixed support for PHP8 union types
  • cc145e2: [Form] collect all transformation failures

4.4 changelog:

  • bb8e66b: [PropertyInfo] made PhpDocExtractor compatible with phpDocumentor v5
  • 52612b1, 943c630: [Console] reset question validator attempts only for actual stdin
  • 5fb13bf: [HttpClient] convert CurlHttpClient::handlePush() to instance method
  • 453c3a7: [Messenger] fixed precedence of DSN options
  • b690a4a: [DependencyInjection] disabled preload.php on the CLI
  • 00b2f4e: [SecurityBundle] drop cache.security_expression_language service if invalid

5.1 changelog:

  • 8bb0897: [Form] fixed prototype block prefixes hierarchy of the CollectionType
  • 23f1226: [SecurityBundle] fixed CookieClearingLogoutListener configuration
  • 05817f1: [HttpFoundation] used InputBag for Request::$request only if data is coming from a form
  • 4773c5e: [HttpFoundation] allow null in InputBag@set
  • 6e09f92: [Security] removed unnecessary null check
  • 269a7a8: [SecurityBundle] fixed UserCheckerListener registration with custom user checker
  • 0091864: [Messenger] fixed queue_name option on amazon sqs connection

Master changelog:

  • 3267e8e: [Security] added attributes on Passport
  • 0fa01ae: [Security] let security factories add firewall listeners
  • b5a2af0: [FrameworkBundle] Moved Mailer configuration to PHP
  • a367d14: [FrameworkBundle] Moved Translation configuration to PHP
  • db78ad2: [WebProfilerBundle] Moved configuration to PHP
  • 7f5d876: [Routing] moved configuration to PHP
  • 8a6a95a: Moved service configuration to PHP
  • 7838fef: [FrameworkBundle] moved Request configuration to PHP
  • 9a6e727: [SecurityBundle] Moved configuration to PHP
  • d12eabc: [DebugBundle] Moved configuration to PHP
  • 6a6f478: [FrameworkBundle] Moved Asset configuration to PHP
  • 6d4b26d: [HttpClient] moved configuration to PHP
  • c04884b: [FrameworkBundle] Moved ESI configuration to PHP
  • 3e57f1f: [FrameworkBundle] Moved Annotations configuration to PHP

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

  • Fix tunnel:open only binds to port 30000 under WSL
  • Running env:sync without waiting (using --no-wait or an API Token) will not create a snapshot
  • Added a --no-snapshot option to env:sync
  • Fix symfony deploy might not be able to read keyboard input

Newest issues and pull requests

They talked about us

Call to Action

Published in #A week of symfony