A Week of Symfony #765 (23-29 August 2021)

This week, Symfony development activity focused on fixing various bugs across its entire codebase and implementing some minor new features for the upcoming Symfony 5.4 version.

Symfony development highlights

This week, 49 pull requests were merged (49 in code and 0 in docs) and 24 issues were closed (32 in code and 2 in docs). Excluding merges, 23 authors made 1,970 additions and 656 deletions. See details for code and docs.

4.4 changelog:

9606430: [PropertyInfo] support for the never return type
de30363: [Console] fix optional before mandatory parameters
409aff7: [Translation] reverse fallback locales
8c674dc: [Validator] fix Url Validator false positives
b921fe3: [FrameworkBundle] fall back to default configuration in debug:config and consistently resolve parameter values
6db1a9d: [HttpFoundation] fix isNotModified determination logic
3ff5db6: [DomCrawler] improve failure messages of the CrawlerSelectorTextContains constraint
dd42aec: [FrameworkBundle] allow null for framework.translator.default_path
7080940: [Messenger] remove indices in messenger table on MySQL to prevent deadlocks while removing messages when running multiple consumers
ecf55ab: [HttpFoundation] cast ini_get to an integer to match expected type
1a59dc5: [DomCrawler] don’t pass null to trim()

5.3 changelog:

40b724c: [Translation] fix message key handling for the Localise provider
50194ed: [Console] fix ProgressBar to correctly clear multi-line formats
8a33e05: [Notifier] Firebase error handling
d336926: [Messenger] do not leak any credentials when AMQP connection fails
7d4882c: [Notifier] escape all special characters for parse_mode MARKDOWN_V2 in Telegram bridge
1e91b1a: [Notifier] fix checking whether Smsapi message is sent
67d8a59: [Translation] extract translatable content on Twig set
4d5edae: [Messenger] fix ErrorDetailsStamp denormalization
775306a: [HttpClient] don’t pass float to usleep()

5.4 changelog:

dabd127: [HttpKernel] fix timestamp_rfc3339 in LoggerDataCollector
6d70316: [Serializer] deprecate support for returning empty, iterable, countable, raw object when normalizing
8220795: [Notifier] add more explicit error if a SMSChannel doesn’t have a Recipient
fc47953: add some missing return types to internal/final classes
2310fc8: [Serializer] return an ArrayObject for empty collection objects when PRESERVE_EMPTY_OBJECTS is set
81c2007: [Security] fix AuthenticationTrustResolver::isAnonymous
0cb07c7: [ErrorHandler] turn return-type annotations into deprecations by default + add mode to turn them into native types
0bf0278: [Finder] always return RecursiveDirectoryIterator from its getChildren() method
42197de: [Ldap] fix the behaviour of getting LDAP Attributes
fc0bc3f: [FrameworkBundle] add BrowserKitAssertionsTrait::assertThatForBrowser
2073597: [Notifier] autoconfigure chatter.transport_factory
6f112d9: [Notifier] add Esendex message ID to SentMessage object
b975e4c: [Config] handle ignoreExtraKeys in config builder
f5927d6: [Mailer] add OhMySMTP bridge

6.0 changelog:

4a03601: [DependencyInjection] fix AutowiringFailedException::getMessageCallback() when the message is not a closure

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

Fix MAILFROM value for SymfonyCloud v2
Fix temp dir for cloud clusters
Fix missing env vars on SymfonyCloud v2

Newest issues and pull requests

[RFC][DI] Deprecate ConfigurationExtensionInterface / ExtensionInterface / ConfigurableExtension
[Console] Add method for typed option / argument
Show user roles in web developer toolbar security widget
[RFC][Validator] – Deprecate argument for ExecutionContextInterface::getPropertyPath()

They talked about us

Serialize/Deserialize XML in Symfony
Using Fixtures In Testing Symfony Application
Doctrine — DQL functions cheat-sheet
Symfony 4.4 ile Trendyol Siparişlerim Entegrasyonu

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!