This week, Symfony 3.4.47 was released as the last version of the 3.4 branch. Meanwhile, Symfony 4.4.17 and 5.1.9 maintenance versions were released. Finally, SymfonyInsight announced 20 new checks for PHP and Symfony applications, SymfonyCloud announced PHP 8 compatibility and Symfony announced its Blackfire promotions.

Symfony development highlights

This week, 58 pull requests were merged (34 in code and 24 in docs) and 40 issues were closed (38 in code and 2 in docs). Excluding merges, 39 authors made 1,522 additions and 308 deletions. See details for code and docs.

4.4 changelog:

  • f9d2afb: [VarDumper] fixed casting resources turned into objects on PHP 8
  • 4c378d4: [Console] fixed console closing tag
  • fd910eb: [Console] use a partial buffer in SymfonyStyle
  • 6224ffa: [PhpUnitBridge] fixed qualification of deprecations triggered by the debug class loader
  • d558964: [Yaml] fixed lexing strings containing escaped quotation characters
  • 1fb80e7: [Form] ignore the pattern attribute for textareas
  • 66e76d1: [Form] prevent duplicated error message for file upload limits
  • 6db84b6: [DependencyInjection, Translator] silent deprecation triggered by libxml_disable_entity_loader
  • 7d7fa3e: [DependencyInjection] fixed circular in DI with lazy + byContruct loop
  • 3e9f770: [HttpClient] fixed binding to network interfaces
  • 42061de: [Messenger] fixed mssql compatibility for Doctrine transport
  • 123fd2e: updated Romanian translations
  • e57b5f2: updated Portuguese translations

5.1 changelog:

  • 6224ffa: [PhpUnitBridge] fixed qualification of deprecations triggered by the debug class loader
  • 3d384ba: [Serializer] fixed denormalizing scalar with UnwrappingDenormalizer

5.2 changelog:

  • 9f484e6: [Security] support for SwitchUserToken instances serialized with Symfony 4.4/5.1
  • 7378b0b: [HttpFoundation] deprecated BinaryFileResponse::create()
  • ac25e8c: [DoctrineBridge] required doctrine/persistence 2
  • df7099c: [Security] automatically register custom authenticator as entry_point (if supported)
  • 878a53b: [Semaphore] allow symfony/semaphore on PHP8

5.x changelog:

  • 4346ef4: [Console] added Invalid constant into Command Class
  • bd7a3e1: [DomCrawler] cache discovered namespaces
  • 0c285d1: [DoctrineBridge] fixed form EntityType with filter on UID

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

  • Drop support for macOS 32bits
  • Add support for PHP 8.0 on SymfonyCloud
  • Expose all Docker compose ports, even for unknown services
  • Use standard SSH URL (ssh://) instead of Git ones for every Git operations
  • Rename 'snapshots' as 'backups'
  • Allow to restore a backup to a different environment
  • Add new pre-deployment check for logging configuration
  • Add support for providing coupon at project creation

Newest issues and pull requests

They talked about us

Call to Action

Published in #A week of symfony