A Week of Symfony #864 (17-23 July 2023)


This week, the upcoming Symfony 6.4 continued deprecating features that will be removed in Symfony 7.0, like the doctrine/annotations integration. Meanwhile, we published an article to explain how to prepare for Symfony 6.4 and 7.0 releases and we announced a new talk for the SymfonyLive Berlin 2023 conference (October 5-6).

Symfony development highlights

This week, 45 pull requests were merged (23 in code and 22 in docs) and 33 issues were closed (21 in code and 12 in docs). Excluding merges, 23 authors made 25,422 additions and 12,937 deletions. See details for code and docs.

5.4 changelog:

  • 27651a5: [Routing] use vsprintf instead of sprintf + unpacking
  • d79796b: [WebProfilerBundle] fix error in case of Content-Type set null in dev environment with no debug
  • 9aaf7f3: fix deprecations on PHP 8.3
  • d09a9dc: [HttpFoundation, HttpKernel] fix deprecations when Content-Type is null
  • 89ab7f3: [VarExporter] fix exporting classes with __serialize() but not __unserialize()
  • 5f08512: [Validator] fix regression with class metadatada on parent classes
  • 75d6ba0: [Form] relax assertions for ICU 72.1
  • 06ec40a: fix htaccess sample to use index.php instead of app.php
  • 0bc39e8: [Form] fix form events phpdocs

6.3 changelog:

  • 0479bd1: [DependencyInjection] fix fetching lazy non-shared services multiple times with as files true
  • f105b5a: [Intl] fixed directory traversal in emoji compression tool
  • 93f53fe: [AssetMapper] fixing import parsing from jsdelivr
  • ee2e517: [SecurityBundle] add firewalls.logout.csrf_token_manager to XSD
  • d5f4cf2: [Mailer] disable tls for mailgun as it should use STARTTLS

6.4 changelog:

  • d736df8: [Form] remove duplicated attr option in FormType
  • 40d61eb: [Messenger] deprecate StopWorkerOnSignalsListener
  • d0b8685: [DependencyInjection] improve type of factories in ServiceLocatorTrait
  • 02147d3: [FrameworkBundle] deprecate doctrine/annotations integration
  • 503a7b3: [Form] deprecate FormEvent::setData() for events that do not allow it
  • 49c048f: [HttpClient] add an HAR response factory for testing

Newest issues and pull requests

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

  • Fix Platform.sh command list (@fabpot)
  • Update deps (@fabpot)

SymfonyCasts Updates

SymfonyCasts is the official way to learn Symfony.
Select a track for a guided path through 100+ video tutorial courses about
Symfony, PHP and JavaScript.

These were some of the most relevant SymfonyCasts updates
of the week:

They talked about us

Call to Action

Sponsor the Symfony project.