A Week of Symfony #836 (2-8 January 2023)


This week, the upcoming Symfony 6.3 version introduced a getEnum() method in ParameterBag and a new WithLogLevel attribute to set the log level for exceptions. In addition, Symfony announced its first official conferences for 2023.

Symfony development highlights

This week, 40 pull requests were merged (11 in code and 29 in docs) and 29 issues were closed (17 in code and 12 in docs). Excluding merges, 23 authors made 2,997 additions and 2,978 deletions. See details for code and docs.

5.4 changelog:

  • 27e6eb4: [Validator] allow egulias/email-validator v4

6.2 changelog:

  • 6d8974b: [Validator] fix case-insensitive extensions in File constraint
  • 20851ea: [Translation] fix for resolving Constraint Validator FQCN defined as %foo.bar.class% parameters
  • 6f75529: [Translation] fix PhpAstExtractor also extracts messages if t() contains both unnamed and named arguments

6.3 changelog:

  • a14eb6b: [DependencyInjection] exclude referencing service (self) in TaggedIteratorArgument
  • 6b6c67a: [HttpFoundation] add ParameterBag::getEnum()
  • 5c09985: [HttpKernel] allow using #[WithLogLevel] for setting custom log level for exceptions
  • ed96673: [FrameworkBundle] add extra attribute for HttpClient Configuration
  • f4a9a5d: [HttpKernel] rename HttpStatus atribute to WithHttpStatus
  • 0622750: [FrameworkBundle] remove double required annotation + attribute

Newest issues and pull requests

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.