A Week of Symfony #861 (26 June - 2 July 2023)


This week, Symfony 5.4.25, 6.2.12 and 6.3.1 maintenance versions were released. Meanwhile, development activity focused on deprecating more features for the upcoming Symfony 6.4 version and removing those deprecated features in the 7.0 version. Both versions will be released at the same time according to our release process.

Symfony development highlights

This week, 39 pull requests were merged (30 in code and 9 in docs) and 19 issues were closed (13 in code and 6 in docs). Excluding merges, 26 authors made 1,986 additions and 1,329 deletions. See details for code and docs.

5.4 changelog:

  • a6e5b75: [EventDispatcher] throw exception when listener method cannot be resolved
  • 6d52175: [String] fix Inflector for 'status'

6.2 changelog:

  • 3fe8e02: [DependencyInjection] fix resource tracking for lazy services
  • c3a0de5: [SecurityBundle] do not translate Bearer header's error_description

6.3 changelog:

  • 9b2ac59: [DoctrineBridge] improve subscriber deprecation message

6.4 changelog:

  • a8872de: [DependencyInjection] skip scanning scalar values in compiler passes when not needed
  • af44385: [HttpKernel] when configuring the container add services_{env} with php extension
  • 7885223: [DependencyInjection] add defined prefix for env var processor
  • 261a8ed: [Form] deprecate using the date and time types with date objects with not-matching timezones
  • 48e1444: [Routing] prevent duplicated methods and schemes in Route
  • 9fe7ff5: [HttpClient] allow custom working directory in TestHttpServer
  • 3e8566c: [WebProfilerBundle] split and refactor all the JavaScript code
  • 80b5ef8: [Security] remove BC layer for HttpFoundation < 6.2
  • 6bcb0af: fix various @psalm-return annotations
  • b6d1751: add missing return types and enforce return types on all methods
  • 660b35a: [ErrorHandler] do not use ContextAwareNormalizerInterface anymore
  • 3e172b3: [HttpKernel] do not use ContainerAwareInterface anymore

7.0 changelog:

  • 58f1ca5: [Cache] DoctrineBridge
  • 21096e6: [Console] remove deprecations across the component
  • 0fdf5eb: [DependencyInjection] remove deprecations across the component
  • b7fc8c2: [HttpFoundation] remove deprecated classes, method and behaviors
  • f9c9ec7: make some classes final

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:

Newest issues and pull requests

They talked about us

Call to Action

Sponsor the Symfony project.