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

They talked about us

Call to Action

Published in #A week of symfony