A Week of Symfony #759 (12-18 July 2021)

This week, Symfony development activity focused on adding more types to private properties of all components in the upcoming 6.0 version. Meanwhile, Symfony 5.4 introduced a change to better differentiate between system and app cache directories.

Symfony development highlights

This week, 92 pull requests were merged (68 in code and 24 in docs) and 35 issues were closed (20 in code and 15 in docs). See details for code and docs.

4.4 changelog:

7253299: [DoctrineBridge] fix setting default mapping type to attribute/annotation on php 8/7 respectively
19fdcba: fix ctype_digit deprecation
5e80445: [Translation] add a Special Case for Translating Choices in en_US_POSIX
e5c96c4: [Cache] support decorated Dbal drivers in PdoAdapter
b1fbd1b: [VarDumper] support for intersection types
6c8114a: [HttpFoundation] fix return types of SessionHandler::gc()
c9e4c33: [DependencyInjection] support for intersection types
6b2b7b9: [PhpUnitBridge] fix Composer resolution on Windows
6cd50ad: [HttpFoundation] fix FileBag under PHP 8.1
fa40523, fa40523, a0496bd, 02c30ea: minor code improvements

5.2 changelog:

d432821: [Messenger] clarify RedisStore::evaluate()
da1a33e: [FrameworkBundle] make AbstractDataCollector extend DataCollector to reduce boilerplate
6c26499: [Messenger] make Redis auth option works

5.3 changelog:

04bee3e: [TwigBridge] skip Bootstrap 4 tests that do not apply to the Bootstrap 5 form theme
643e29a: [Security] fix save hashed tokenValue in RememberMe cookie

5.4 changelog:

1c6a2f0: [FrameworkBundle] distinguish system and app cache dirs
b5d4b33: [Notifier] include additional errors to Slack notifier error message
5d92b21: [Notifier] throw error if maximum block limit is reached for Slack message options
5ebb1fe: [ExpressionLanguage] store compiler and evaluator as closures

6.0 changelog:

b28f7e7: [Contracts] add return types and bump to v3
77d0f85: [Uid] Add types to private properties
6d4444c: [WebLink] Add types to private properties
5ab8ea3: [String] Add types to private properties
379b009: [Yaml] Add types to private properties
d6b4e1c: [ProxyManagerBridge] Add types to private properties
71b90db: [ExpressionLanguage] Add types to private properties
097d595: [RateLimiter] Add types to private properties
7ec41bb: [Templating] Add types to private properties
c2aeec2: [Security] Add types to private properties
357791c: [Validator] Add types to private properties
01fbab7: [Yaml] remove compat code for MB function overloading
10542af: [FrameworkBundle] remove deprecated options in translation:update command
f76f4ed: [Security] remove CSRF deprecations

Newest issues and pull requests

[Security] Use default password hasher by default
[Form] deprecate translation_parameters options given TranslatableMessage
[Mailer] Simplify getting SentMessage information after send
[Security] Decouple CSRF component from security-core
[WebProfilerBundle] Ability to view all logs together

They talked about us

Asynchronous e-mails with Symfony Mailer
Dockerize a Symfony project (Nginx, PHP-FPM, and MariaDB)
Tips for testing the database in Symfony application
Code Execution Monitoring for Symfony applications using Inspector

Call to Action

Follow Symfony on Twitter and retweet this article.
Subscribe to the Symfony blog RSS and never miss a Symfony story again.

Sponsor the Symfony project.

Symfony Blog
Read More

Latest News

PHP-Releases

PHP 8.0.23 released!

PHP 8.1.10 released!

PHP 7.4.30 released!