A Week of Symfony #911 (10-16 June 2024)

This week, the upcoming Symfony 7.2 version updated some code to use constructor property promotion and added a new constraint to validate YAML contents. In addition, we published more transportation information and discounts for the SymfonyCon Vienna 2024 conference.

Symfony development highlights

This week, 29 pull requests were merged (18 in code and 11 in docs) and 24 issues were closed (18 in code and 6 in docs). Excluding merges, 18 authors made 2,429 additions and 2,582 deletions. See details for code and docs.

5.4 changelog:

5c2633f: [FrameworkBundle] fix setting default context for certain normalizers
5036d0f: [DoctrineBridge] test handling of special „value“ constraint option
f2d95c4: [ErrorHandler] fix rendered exception code highlighting on PHP 8.3

6.4 changelog:

672874f: [Notifier] send the recipient phone number as an array
e3b80f3: [DependencyInjection] fix ternary in AutowireCallable attribute

7.1 changelog:

954dfa7: [Cache] add a note about the change in the default cache namespace generation to the upgrade guide
302938c: [Security] change to BadCredentialsException when empty username / password
7abc106: [DoctrineBridge] fix handling of special „value“ constraint option

7.2 changelog:

678abb4: use constructor property promotion
e0ad00c: [Validator] add Yaml constraint for validating YAML content

Newest issues and pull requests

[DoctrineBridge] Pass User to EntityValueResolver’s expression
[Translator] support blocks (callbacks) in ICU translation messages
[Uid] isValid fails when passing non Rfc4122 IDs

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.

This week, SymfonyCasts published the following updates:

(Video) Symfony 7 Fundamentals: Services, Config & Environments: Setup, Services & the Service Container
(Video) Symfony 7 Fundamentals: Services, Config & Environments: KnpTimeBundle: Install the Bundle, Get its Service
(Video) Symfony 7 Fundamentals: Services, Config & Environments: The HTTP Client Service
(Video) Symfony 7 Fundamentals: Services, Config & Environments: Cache Service and Cache Pools
(Video) Symfony 7 Fundamentals: Services, Config & Environments: Bundle Config: Configuring the Cache Service

They talked about us

Symfony Station Communiqué – 14 June 2024
Symfony 7 vs. .NET Core 8 – Routing; part 3
2 Tricks to get your Symfony configs lines to minimum
Integrating Dataverse into Symfony App: A Quick Guide
How to Integrate PayHere Payment Gateway with Symfony PHP Framework
Symfony integration tests custom header is missing
How to Customize Serialization Groups in Symfony API Platform
Пример своего транспорта для Symfony Messenger
Symfony’de Farklı Route’lar İçin Varsayılan Translation Domain Nasıl Ayarlanır?

Call to Action

Follow Symfony on Twitter and retweet this article.
Subscribe to the Symfony blog RSS and never miss a Symfony story again.

Sponsor the Symfony project.

Symfony Blog

Read More

Latest News


PHP 8.3.9 released!

PHP 8.2.21 released!

PHP 8.1.29 released!

Generated by Feedzy