This week, Symfony added future compatibility with Doctrine DBAL 3 in Cache component and PHP 8 stack traces in Cache and Config components. Meanwhile, the upcoming Symfony 5.2 version added support for non-ASCII chars in email addresses and a feature to allow overriding the default non-debug template.

Symfony development highlights

This week, 34 pull requests were merged (24 in code and 10 in docs) and 43 issues were closed (39 in code and 4 in docs). Excluding merges, 25 authors made 2,533 additions and 168 deletions. See details for code and docs.

3.4 changelog:

  • 4297897: [Console] fixed question input encoding on Windows
  • 091fd50: [Form] fixed handling null as empty data
  • c0181c7: [Process] fixed Permission Denied error when writing sf_proc_00 lock files on Windows
  • 13982b5: [Cache] fixed compatibility with DBAL v3
  • 207b0b5: [Cache, Config] added compatibility with PHP 8 stack traces
  • 6bfdb92: [Form] silently ignore uninitialized properties when mapping data to forms
  • f49e8b5: [Form] Updated German translations
  • 2e7b993: [Form] Updated Vietnamese translations

4.4 changelog:

  • c702af4: [PhpUnitBridge] ExcludeList usage for PHPUnit 9.4

5.0 changelog:

  • f70bcf6: [String] throw when Alpine is used and translit fails
  • eae19f2: [String] added a help message when translation-contracts is not installed

5.1 changelog:

  • 309b062: [Form] added missing return in loadValuesForChoices method
  • 361bf33: [Security] skip remember-me logout on empty token
  • 2b18acc: [PhpUnitBridge] consider traits imported in parent classes
  • 6bfdb92: [Form] silently ignore uninitialized properties when mapping data to forms

Master changelog:

  • 70ebf7e: [ErrorHandler] allow override of the default non-debug template
  • e67c6d8: [HttpClient] fixed buffering AsyncResponse with no passthru
  • 5992bf0: [PhpUnitBridge] fixed expectDeprecation() in isolation
  • dfc3267: [Form] improved invalid messages for form types
  • 63f8827: [Mime] allowed non-ASCII characters in local part of email

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

  • Add support for Symfony applications not using Flex
  • Add support for defining applications in .symfony/applications.yaml
  • Use GitHub API instead of Git to fetch security advisories database
  • Add imagick to the list of available extensions for PHP 7.4
  • Add better Web server support when running PHP FPM in Docker

Newest issues and pull requests

They talked about us

Call to Action

Published in #A week of symfony