A Week of Symfony #893 (5-11 February 2024)

This week, Symfony maintained versions focused on fixing bugs and updating the translation of validation messages to many of the supported languages. Meanwhile, the upcoming Symfony 7.1 version improved the parsing/linting methods of ExpressionLanguage and also improved the BinaryFileResponse. Lastly, we published more details about the talks of the upcoming SymfonyLive Paris 2024 conference.

Symfony development highlights

This week, 98 pull requests were merged (65 in code and 33 in docs) and 60 issues were closed (42 in code and 18 in docs). Excluding merges, 51 authors made 2,023 additions and 1,138 deletions. See details for code and docs.

5.4 changelog:

2bfac0d: [Messenger] fix tube stats when it’s empty in Beanstalkd
354cc2c: [FrameworkBundle] prevent silenced warning by checking if /proc/mount exists
87f8848: [FrameworkBundle] fix eager-loading of env vars in ConfigBuilderCacheWarmer
fa7531f, 0b75c96: [PhpUnitBridge, VarDumper] fix color detection
3870d1e: [Process] fix inconsistent exit status in proc_get_status for PHP versions below 8.3
6d344aa: [Validator] fix fields without constraints in Collection
9a4b832: [Validator] updated Russian translation
5f298d2: [Validator] updated Italian translation
9592b6c: [Validator] updated Hungarian translation
f129e3b: [Validator] updated Swedish translation
382d8a2: [Validator] updated Dutch translation
14bf3e3: [Validator] updated Croatian translation
f4c0059, f99dfe5: [Validator] updated Albanian translation
77b8c94: [Validator] updated Slovenian translation
94de76d: [Validator] updated Estonian translation
a0f3071: [Validator] updated Czech translation
e804c27: [Validator] updated Portuguese translation

6.4 changelog:

8f98550: [Mailer, Webhook] don’t require tag and metadata for Postmark
22efc29: [VarDumper] fix configuring CliDumper with SYMFONY_IDE env var
f53f279: [Scheduler] fix messenger receiver with no alias
fa843ce: [HttpFoundation] prevent duplicated headers when using Early Hints
84c231e: [DependencyInjection] fix unable to make lazy service from readonly class
b45ebf9: [Dotenv] specify envKey while loading variables with the dotenv:dump
adbe494: [Mailer, Webhook] accept different date formats in Postmark
3d832bd: [Mailer, Webhook] fix webhook testing in dockerized setups for Postmark
cff8011: [DomCrawler, Form] fix the exclusion of <template>

7.1 changelog:

d9d6024: [HttpFoundation] add support for SplTempFileObject in BinaryFileResponse
749ad6e: [TypeInfo] remove unneeded method
550130c: [ExpressionLanguage] add more configurability to the parsing/linting methods
f233668: [DependencyInjection] add CheckAliasValidityPass to check interface compatibility
4573f3b: [Messenger] add config option arguments for delay queues in Amqp
7699a91: [Config] allow custom meta location in ConfigCache
259c881: [Messenger] add message ID logs

Newest issues and pull requests

[Serializer] Allow grouping for #[SerializedName] and #[SerializedPath]
[Webhook] Support for symfony/amazon-mailer
Add calendar DateType option

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.8.7
and 5.8.8
versions with the following changes:

Use doctrine.dbal.connections.default.server_version in addition to doctrine.dbal.server_version (@fabpot)
Strip 1: from DB version on Docker (@fabpot)
Rework database URL precedence (@fabpot)
Fix Doctrine URL when server_version is referencing an env var (@fabpot)
Allow PATCH method over HTTP (@tucksaun)
Add support for –all flag on server:stop (@alexandre-daubois)

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:

(Live Stream) Live Stream #8: Live Component JavaScript Internals
(Video) Upgrading & What’s in Symfony 7: Upgrading to Symfony 7
(Video) Upgrading & What’s in Symfony 7: Migrating Encore -> AssetMapper
(Video) Upgrading & What’s in Symfony 7: Encore -> AssetMapper Part 2
(New Course Announcement) End to End (E2E) App Testing

They talked about us

Symfony Station Communiqué – 09 February 2024
Google authentication with Symfony 7
Symfony in Finance: Unveiling Essential Tools
How to use the entity from the app (/src) scope in your independent standalone bundles for your Doctrine & Symfony projects
Symfony Scheduler — How it Really Works
The Benefits of Avoiding Abstract Controller in Symfony
How to run Laminas Diagnostics in Symfony
Import map, simplificando procesos en el desarrollo web
Héberger un projet PHP sans serveur avec WebAssembly
Меняем моки репозиториев на in-memory реализации

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-Releases

PHP 8.2.24 released!

PHP 8.3.12 released!

Generated by Feedzy