This week, Symfony 3.4.43, 4.4.11, 5.0.11 and 5.1.3 maintenance versions were released. Symfony 5.0.11 is the last version for the Symfony 5.0 branch, so you should upgrade to Symfony 5.1. In addition, the Symfony 5 book published a new translation in Japanese: 基礎から最速で学ぶ Symfony 5 入門.

Symfony development highlights

This week, 31 pull requests were merged (25 in code and 6 in docs) and 25 issues were closed (23 in code and 2 in docs). Excluding merges, 19 authors made 286 additions and 129 deletions. See details for code and docs.

3.4 changelog:

  • e77ff45: minor fixes on tests
  • 0eafc01: fix checks for phpunit releases on Composer 2
  • 09c97bd: [FrameworkBundle] set default session.handler alias if handler_id is not provided
  • 65fc07a: [Cache] fixed catching auth errors

4.4 changelog:

  • 3619661: [Ldap] use hexadecimal numerals instead of hexadecimals in strings
  • 2dbbe50: [Serializer] support multiple levels of discriminator mapping
  • ebc7f4b: [Cache] connect to RedisCluster with password auth
  • 0d867bc: [Messenger] allow same middleware to be used multiple times with different arguments
  • df1a1ff: [Mime] fixed EmailHeaderSame to make use of decoded value
  • 0eae7a6: [Cache] allowed RedisClusterProxy instance in Lock RedisStore

5.0 changelog:

  • a0f7c88: required PHPUnit 9.3 on PHP 8

5.1 changelog:

  • 08ff65f: [Mailer] fixed failover transport
  • ab29e07: [Validator] removed @internal from Composite

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.18.0 and 4.18.1 versions with the following changes:

  • Add Github actions support to security:check
  • Add support for Composer 2 (symfony composer now looks for a composer1 or composer2 binary depending on composer.lock and falls back to composer if not found)
  • Make SymfonyCloud automatically use Composer 1 or 2 depending on composer.lock
  • Add support for installing PHP extensions directly from variables defined in .symfony.cloud.yaml

Newest issues and pull requests

They talked about us

Call to Action

Published in #A week of symfony