A Week of Symfony #795 (21-27 March 2022)

This week, Symfony development activity focused on fixing bugs, especially on the HttpClient component, and polishing the new features of the upcoming Symfony 6.1 version, such as the new local switcher. Meanwhile, SymfonyLive Paris 2022 conference is coming in just two weeks and SymfonyCon Disneyland Paris 2022 conference announced the last days of its early bird discounts.

Symfony development highlights

This week, 63 pull requests were merged (37 in code and 26 in docs) and 43 issues were closed (26 in code and 17 in docs). Excluding merges, 38 authors made 3,049 additions and 461 deletions. See details for code and docs.

4.4 changelog:

7f34c54: [HttpClient] let cURL handle Content-Length headers
6ea4613: [Cache] declaratively declare/hide DoctrineProvider to avoid breaking static analysis
002165c: [Mailer] preserve case of headers
62344fd: [Serializer] fix denormalizing union types
372b8e9: [HttpClient] fix sending PUT requests with cURL
66f39b0: [HttpClient] always send Content-Length when a body is passed
31a1a2b: [HttpClient] always send Content-Type when a body is passed
56b428f: [HttpClient] fix 303 after PUT and sending chunked requests
7b43f0f: [Console] fix exit status on uncaught exception with negative code

5.4 changelog:

6afaa8c: [Config] fix using null values with config builders
21cd0af: [FrameworkBundle] fix exit codes in debug:translation command
1b2c9b5: [DoctrineBridge] allow to use a middleware instead of DbalLogger
727ca9e: [Translation] fix locales format in CrowdinProvider
4efd3ce: [Translation] add content-type for POST translations in LocoProvider
1d1dcf8: [Validator] fix @AssertDivisibleBy not working for 0.01 divisor

6.1 changelog:

12130f4: [DependencyInjection] adjust Autowire attribute implementation
f5a8916: [HttpClient] improve default content-type handling
4fe223f: [FrameworkBundle] deprecate the messenger.reset_on_message config option
753c846: [TwigBridge] use a div instead of p to prevent invalid HTML
6c2087d: [HttpKernel] add LockedHttpException for HTTP Status 423
403337e: [FrameworkBundle] add LocaleSwitcher service for Translation
68a2ba2: [Notifier] add Sendberry notifier bridge
50ca517: [HttpFoundation] add stale while revalidate cache header
28ab68e: [Notifier] use Importance level to set flash message type
9f28dbd: [Lock] handle CSV DSN in ZookeeperStore
50749dd: [Notifier] add Engagespot bridge
ba72a2f: [SecurityBundle] display the inherited roles of the logged-in user in the WDT
b5b48c0: [Messenger] allow AsMessageHandler attribute on methods
c66bb29: [DependencyInjection] allow using expressions as service factories

Newest issues and pull requests

[RFC][Security] Reduce authentication usage magic?
[WebProfiler] Add a limit how many profiles should be saved
[Security] Add Bearer Authenticator

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

When getting project directory, ensure it runs through EvalSymlink
Remove redundant code (RE: absolute path, cwd)
Bump deps
Update supported Platform.sh services

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) Symfony 6 course, Chapter 7: Twig ❤️
(Video) Symfony 6 course, Chapter 8: Twig Inheritance
(Video) Symfony 6 course, Chapter 9: Profiler: Your Debugging Best Friend
(Video) Symfony 6 course, Chapter 10: Assets, CSS, Images, etc
(Video) EasyAdmin course, Chapter 32: Having Fun with the Menu
(Video) EasyAdmin course, Chapter 33: Conditionally Disabling an Action
(Video) EasyAdmin course, Chapter 34: Dynamic Disable an Action & AdminContext

They talked about us

Your Road To Symfony 6 Certification
Examine the Reassuringly Robust Flexibility and Extensibility of Symfony Security
Symfony Station Communiqué — 25 March 2022
Are you ready to upgrade to Drupal 10? Know how to prepare for the upcoming update!

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

Generated by Feedzy