A Week of Symfony #936 (2-8 December 2024)

This week, Symfony celebrated the SymfonyCon 2024 Vienna conference with great success. This annual event brought together the global Symfony community to exchange ideas, learn new things, and collaborate on contributions to the Symfony project. In addition, the upcoming Symfony 7.3 version introduced support for pre-compressing web assets and a new userIsGranted() security method to test user authorization without relying on the session.

Symfony development highlights

This week, 57 pull requests were merged (28 in code and 29 in docs) and 28 issues were closed (22 in code and 6 in docs). Excluding merges, 35 authors made 2,784 additions and 954 deletions. See details for code and docs.

6.4 changelog:

8c8bab2: [TwigBridge] fix Twig 3.17 compatibility
ffc4dc6: [HttpClient] always set CURLOPT_CUSTOMREQUEST to the correct HTTP method in CurlHttpClient
74e9163: [PropertyInfo] evaluate access flags for properties with asymmetric visibility
51d824a: [Console] fix division by 0 error
caa1be7: [ErrorHandler] fix error message in test with PHP 8.5
e25242a: [TwigBridge] add tests covering trans_default_domain with dynamic expressions
91835ef: [FrameworkBundle] fix notifier push channel bus abstract arg

7.1 changelog:

2d9f2a5: [Scheduler] remove unused code

7.2 changelog:

cc1802d: [TwigBridge] generate conflict-free variable names
6076b87, dcf824a: [Mailer] fix null check on region in Sendgrid mailer
f24ac9e: [FrameworkBundle] make uri_signer lazy and improve error when kernel.secret is empty
27c0f65: [Notifier] fix desktop channel bus abstract arg

7.3 changelog:

2d1838a: [VarDumper] add caster for Socket instances
3a804f5: [Mailer, Notifier] add webhooks signature verification on Sweego bridges
12e4e53: [AssetMapper] add support for assets pre-compression
b6d6adf: [FrameworkBundle] rename TranslationUpdateCommand to TranslationExtract command to match the command name
b7ed0a4: [ErrorHandler] support non-empty-string/non-empty-list when patching return types
12ff1bf: [Uid] add @return non-empty-string annotations to AbstractUid and relevant functions
4612ff2: [Security, SecurityBundle] add a userIsGranted() method to test user authorization without relying on the session

Newest issues and pull requests

Turn asset-map:compile into a cache-warmer
Allow #[AsTaggedItem] to be repeated
Add user_is_granted() function to twig
[Security] Deprecate UserInterface::eraseCredentials()
[Scheduler] Add scheduler:task:run command

Symfony Jobs

These are some of the most recent Symfony job offers:

Symfony Developer at Adria Solutions
Full-time – £45,000 – £60,000 / year
Remote + part-time onsite (Cardiff, United Kingdom)
View details
Backend Symfony Developer at Bold Company
Full-time – €4,200 / month
Remote + part-time onsite (Rotterdam, Netherlands)
View details
Symfony Developer at Kennisnet
Full-time – €4,104 – €5,673 / month
Remote + part-time onsite (Zoetermeer, Netherlands)
View details

You can publish a Symfony job offer for free on symfony.com.

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) Symfony 7 – Doctrine, Symfony 7 & the Database: Inserting Data via Fixtures

They talked about us

Symfony Station Communiqué – 06 December 2024
How I Optimized Lazy Loading in Symfony Doctrine to Improve Performance
Symfony monitoring library implementation
HTTP compression in PHP (new Symfony AssetMapper feature)
Building a Simple Grav CMS Theme with Twig, PHP, and CSS
Sylius 2 is live!

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