A Week of Symfony #787 (24-30 January 2022)

This week, Symfony 4.4.37, 5.3.14, 5.4.3 and 6.0.3 maintenance versions were released. In addition, a potential security vulnerability related to CSRF tokens in forms was found and fixed in security releases for all maintained versions.

Symfony development highlights

This week, 45 pull requests were merged (37 in code and 8 in docs) and 44 issues were closed (35 in code and 9 in docs). Excluding merges, 36 authors made 1,509 additions and 272 deletions. See details for code and docs.

4.4 changelog:

859d4a1: [Process] avoid calling fclose on an already closed resource 8ba3fa7: [Yaml] make the parser stateless 747e298: [Console] fix PHP 8.1 deprecation in ChoiceQuestion fa6a03a: [Form] UrlType should not add protocol to emails

5.3 changelog:

eda8537: [Console] fix restoring stty mode on CTRL+C 26c2a85: [Notifier] use the UTF-8 encoding in smsapi-notifier 4565edb: [Notifier] fix encoding of messages with FreeMobileTransport 1199672: [Serializer] fix AbstractObjectNormalizer not considering pseudo type false 5044a0a: [Validator] fix Choice constraint with associative choices array dcfb493: [FrameworkBundle] enable CSRF in FORM by default

5.4 changelog:

9738b1d: [RateLimiter] resolve crash on near-round timestamps 5044a0a: [Validator] fix Choice constraint with associative choices array 5cad3b6: [DoctrineBridge] fix automapping 34a0893: [Yaml] improve the deprecation warnings for octal numbers to suggest migrating 79d1101: [Finder] fix finding VCS re-included files in excluded directory 9b7aac3: [Dotenv] fix bootEnv() override with .env.local.php when the env key already exists 5bb11d5: [Runtime] fix --env and --no-debug with dotenv_overload 111459e: [FrameworkBundle] fix missing arguments when a serialization default context is bound

6.1 changelog:

48bd710: [FrameworkBundle] allow PHP configuration in config/packages by default b342c1b: [Serializer] set context annotation as not final

Newest issues and pull requests

Route different HTTP verbs to different methods, with the same route name, with annotations Support option placeholder for all relevant form field types like TextType Serializer: Currently it is not possible for custom formats to map basic non string attributes Uuid::isValid() and Uuid() constraint does not accept other format of uuid than rfc4122

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.2.2 version with the following changes:

Fix logging Bump deps to fix FORCED_PHP_VERSION support Add some more logging to help debugging issues

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) EasyAdmin! For an Awesomely Powerful Admin Area, Chapter 1: Installing EasyAdmin (Video) EasyAdmin! For an Awesomely Powerful Admin Area, Chapter 2: Admin Dashboard (Video) EasyAdmin! For an Awesomely Powerful Admin Area, Chapter 3: Hello CRUD Controller

They talked about us

Designing a Symfony Validator - the TDD way Emoji flag in the Symfony CountryType Voila! Symfony and PHP 8.1 Symfony Station Communiqué - 28 January 2022 Introducing Light Kernel for Symfony Console Apps Use Symfony Components to Build WordPress Plugin Maker for CLI - Part 1

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.

https://symfony.com/blog/a-week-of-symfony-787-24-30-january-2022?utm_source=Symfony%20Blog%20Feed&utm_medium=feed

Vytvořeno 3y | 30. 1. 2022 11:20:07


Chcete-li přidat komentář, přihlaste se

Ostatní příspěvky v této skupině

SymfonyOnline June 2025: Inside a Financial App Breach: Debugging a Million-Dollar Bug

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

22. 4. 2025 13:50:03 | Symfony
New in Symfony 7.3: Invokable Commands and Input Attributes

This is the first article in a series showcasing the most important new features introduced by Symfony 7.3, which will be released at the end of May 2025.

22. 4. 2025 9:10:36 | Symfony
A Week of Symfony #955 (April 14–20, 2025)

This week, the upcoming Symfony 7.3 version improved the AsAlias attribute by adding a new argument, introduced Clock support for UriSigner, and refined the return type of the ContainerInterface::get(

20. 4. 2025 8:30:06 | Symfony
SymfonyOnline June 2025: Rethinking File Handling in Symfony

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

16. 4. 2025 16:30:02 | Symfony
SymfonyLive Paris 2025: Recap and replay!

SymfonyLive Paris 2025 took place three weeks ago — a big thank you to everyone who joined us! The conference was held entirely in French, and now you can relive the best moments: replays, hig

15. 4. 2025 14:50:24 | Symfony
A Week of Symfony #954 (April 7–13, 2025)

This week, Symfony 7.3 entered its "feature freeze" period in preparation for its release at the end of May 2025. Development activity focused on refining and polishing its new features, including a n

13. 4. 2025 9:40:02 | Symfony
SymfonyOnline June 2025: What's New in Symfony 7.3

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

10. 4. 2025 16:40:34 | Symfony