A Week of Symfony #928 (7-13 October 2024)

This week, development activity focused on Symfony 7.2, as tweaks and features continue to be merged ahead of its release at the end of November 2024. Additionally, we published the first post in the new in Symfony 7.2 series. Lastly, we shared more details about some of the talks from the SymfonyCon Vienna 2024 conference.

Symfony development highlights

This week, 49 pull requests were merged (40 in code and 9 in docs) and 38 issues were closed (27 in code and 11 in docs). Excluding merges, 28 authors made 4,337 additions and 782 deletions. See details for code and docs.

5.4 changelog:

cc3fb70: [MonologBridge] fix PHP deprecation with preg_match()
9d3e371: [HttpFoundation] session names must not be empty in tests

7.1 changelog:

b6a9fe3: [Validator] fix error message for OutOfRangeNetmask validation in CidrValidator

7.2 changelog:

8b2ffdd: [Webhook] add Mailchimp webhook
e2fa11b: [Mailer] support region in sendgrid bridge
6864dbe: [FrameworkBundle] fine tune AboutCommand
f18789f: [Console, Messenger] asynchronously notify transports which messages are still being processed
f57a6de: [Security] implement stateless headers/cookies-based CSRF protection
c16abbf: [DependencyInjection] sort PassConfig:TYPE_* by order of execution
25cd4e5: [Config] allow using defaultNull() on BooleanNodeDefinition
196e429: [Lock] add NullStore
5763273: [DoctrineBridge, Form] introducing new LazyChoiceLoader class and choice_lazy option for ChoiceType
6e9c993: [Validator] pass context to expressions used in When constraints
d83167d: [WebProfilerBundle] render the toolbar stylesheet
23c9d8c: [Form] use form.post_set_data in ResizeFormListener

Newest issues and pull requests

[HtmlSanitizer] Add ability to sanitize a whole document
[Webhooks] Add a GitHub provider
[String] Add AbstractString::pascal() method
[FrameworkBundle] Add –no-fill option to translation:extract command

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.10.3,
and 5.10.4
versions with the following changes:

Remove custom timeout for docker builtin (@tucksaun)
Fix bash side-effects from bash completions (@tucksaun)
Use correct URL for not latest release (@kevin-studer)
Remove unused code (@fabpot)
Only listen on 127.0.0.1 not all interfaces (@check24-danielpaschsannapiu)
Make Docker connection use Docker Desktop socket if available (@tucksaun)
Always log Docker connection error if –debug flag is set (@tucksaun)
Allow installer to install specific version (@kevin-studer)
Improve Docker Compose project name determination (@tucksaun)
Allow to define the IP on which server:start should listen to (@tucksaun)

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) Dependency Injection Attributes: Introduction
(Video) Dependency Injection Attributes: Command Pattern with AutowireLocator
(Video) Dependency Injection Attributes: Simplify with AutoconfigureTag and AsTaggedItem

They talked about us

Symfony Station Communiqué – 04 October 2024
Doctrine Migrations vs. Schema Update: The Right Choice for Production

Call to Action

Follow Symfony on X, on Mastodon, on Bluesky and on Threads and share 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.4.1 released!

PHP 8.1.31 released!

PHP 8.3.14 released!

PHP 8.2.26 released!

Generated by Feedzy