A Week of Symfony #858 (5-11 June 2023)

This week, we started working on the upcoming Symfony 6.4 and 7.0 releases. In Symfony 6.4 we added a feature in Scheduler to allow setting the timezone for the next run derived from a cron expression and added a max_retries config option to HttpClient. In Symfony 7.0 we removed some unneeded code in Uid and dropped support for Doctrine DBAL 2.x. Lastly, next week we’ll celebrate the SymfonyOnline June 2023 conference.

Symfony development highlights

This week, 65 pull requests were merged (38 in code and 27 in docs) and 29 issues were closed (19 in code and 10 in docs). Excluding merges, 28 authors made 2,050 additions and 1,130 deletions. See details for code and docs.

5.4 changelog:

09e9cfe: [DoctrineBridge] work around Connection::getEventManager() deprecations in Doctrine DBAL
88a20a6: [DependencyInjection] support PHP 8.2 true and null types
dda4e7c: [FrameworkBundle] fix debug:config & config:dump in debug mode
ca9a8c1: [Cache] fix RedisTrait::createConnection for cluster
a267738: [FrameworkBundle] show non-bundle extensions in debug:config & config:dump list view & completion
172a848: run unit tests with PHP 8.3

6.2 changelog:

eacea7f: [Clock] fix MockClock::modify() on PHP 8.3

6.3 changelog:

1693989: [PhpUnitBridge] ignore deprecations about the annotation mapping driver when it’s not possible to move to the attribute driver yet
db20408: [FrameworkBundle] remove unusable cache pools
f6c8b0f: [MonologBridge] widen return type for Monolog 3 compatibility
d9a8902: [HttpClient] remove final keyword on AsyncResponse
87a65d8: [DependencyInjection] fix support for false boolean env vars

6.4 changelog:

e1cc5f2: [HttpClient] use hrtime() to compute timeouts
be9ea53: [Scheduler] allow setting cron expression next run date timezone
52a9292: [HttpClient] add max_retries option to RetryableHttpClient

7.0 changelog:

9a2d19f: [Serializer] remove abstract uid denormalization code
fcec89b: [SecurityBundle] enabling SecurityBundle and not configuring it is not allowed
be9ea53: [Scheduler] allow setting cron expression next run date timezone
d63071c: [DoctrineBridge] remove DBAL 2 support

Newest issues and pull requests

Set FlashBag warning types as const values
[Mime] Allow not RFC-compliant addresses
Enable dumping workflow metadata

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:

(Video) Go Pro with Doctrine Queries, Chapter 10: Raw SQL Queries
(Video) Go Pro with Doctrine Queries, Chapter 11: Reusing Queries in the Query Builder
(Video) Go Pro with Doctrine Queries, Chapter 12: Criteria: Filter Relation Collections
(Video) Go Pro with Doctrine Queries, Chapter 14: WHERE IN()

They talked about us

Symfony Station Communiqué – 9 June 2023
Symfony Caching and Performance Boosters: Unlocking the Power of Efficiency

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