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.
- 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
- c702af4: [PhpUnitBridge] ExcludeList usage for PHPUnit 9.4
- f70bcf6: [String] throw when Alpine is used and translit fails
- eae19f2: [String] added a help message when translation-contracts is not installed
- 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
- 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
- Find a solution to not have to worry about public controllers
- [Translation] Specify the source language
They talked about us
- Create a Symfony 5 application with Docker (part 1)
- NGINX subrequest-Authentication: Symfony and Cache-Control
- Transform your excel data into a relational database: Symfony
- Using Correlation IDs in API Calls
- Aggregate your data by using SQL views and Doctrine
- Beating some performance into Docker for Mac
- Symfony. ¿Qué hay de nuevo en EasyAdminBundle 3?
- Symfony. 5 trucos del componente Validator
- La Comisión Europea publica su primera aplicación Symfony
- REST API в Symfony (без FosRestBundle) с использованием JWT аутентификации. Часть 1
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.