This week, Symfony development activity focused on polishing Symfony 6.2 features before its final release at the end of November 2022. We marked some tokens as sensitive, allowed enums as service parameters, added some methods to MIME part files and improved the IsGranted attribute.
Symfony development highlights
This week, 31 pull requests were merged (26 in code and 5 in docs) and 22 issues were closed (18 in code and 4 in docs). Excluding merges, 20 authors made 6,958 additions and 7,377 deletions. See details for code and docs.
- b6db638: [HttpFoundation] check IPv6 is valid before comparing it
- 9b22123: [HttpClient] do not set http_version instead of setting it to null
- e1641da: fix the notification email theme for asynchronously dispatched emails
- 538491b: [Mailer] stream timeout not detected fgets returns false
- ad0e25f: [DependencyInjection] don't move locator tag for service subscriber
- 5548611: [FrameworkBundle, Lock] allow to disable lock without defining a resource
- 1ee474f: [HttpFoundation] compare cookie with null value as empty string in ResponseCookieValueSame
- b25499d: [Doctrine Bridge] fix search scope when performing fallback mapping driver detection
- ad0e25f: [DependencyInjection] don't move locator tag for service subscriber
- b2a35c7: [HttpKernel] fix deprecation for DateTimeValueResolver with null on non-nullable argument
- 652dc7d: [Mime] rename Part/BodyFile to Part/File
- fa3d2d5: [Notifier] mark tokens with SensitiveParameter attribute
- 1f83ce7: [DependencyInjection] allow enum as service parameter in PHP config files
- e4d59bc: [Mime] add File::getSize() and getFilename()
- 97e08c3: [Security] make request always available to IsGranted attribute
- ff56fe8: [FrameworkBundle] allow UUID v7 in uid configuration
- 4d4c411: [Security] remove special case for IsGranted() subject
Newest issues and pull requests
- [PropertyAccess] Unified path notation for arrays and objects
- Expose parameterized route in the request
- [Validator] Unique constraint can't be applied to collection of object
- Yaml: dump numeric keys as strings instead of numbers
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) Design Patterns for Fun and Proficiency, Chapter 3: Strategy Part 2: Benefits & In the Wild
- (Video) Design Patterns for Fun and Proficiency, Chapter 4: Builder Pattern
- (Video) Design Patterns for Fun and Proficiency, Chapter 5: Builder Improvements
- (Video) PHPUnit: Unit Testing with a Bite!, Chapter 13: Filtering Out Hungry Dino's
- (Video) PHPUnit: Unit Testing with a Bite!, Chapter 14: Testing Exceptional Exceptions
- (Video) PHPUnit: Unit Testing with a Bite!, Chapter 15: Mocking Symfony's HTTP Client
They talked about us
- Why you should migrate your Symfony configs to PHP
- From annotations to attributes in Doctrine
- Bloquer la connexion simultanée à un même compte ? C'est possible !
- Maîtrisez votre app avec le pattern decorator
Call to Action
- Follow Symfony on Twitter and retweet this article.
- Subscribe to the Symfony blog RSS and never miss a Symfony story again.
<hr style="margin-bottom: 5px" />
<div style="font-size: 90%">
<a href="https://symfony.com/sponsor">Sponsor</a> the Symfony project.
</div>
Accedi per aggiungere un commento
Altri post in questo gruppo
We were absolutely thrilled to gather with the incredible Symfony community for the first time in Vienna, Austria, from December 5th to 6th, surrounded by the warm and festive atmosphere of the
SymfonyLive Paris 2025, conference in French language only, will take place from March 27 to 28! The schedule is currently being revealed as we go along. More details are available here.
💻
Symfony has been active on X, Mastodon, and Bluesky for some time, but until recently, not all platforms received equal attention. Since Twitter (now X) was our first social network, all blog posts we
SymfonyLive Berlin 2025, conference held in English, will take place from April 1 to 4! The schedule is being revealed gradually. More details are available here.
As we are now unveiling th
Affected versions
Twig versions >=3.16.0,<3.19.0 are affected by this security issue.
The issue has been fixed in Twig 3.19.0.
Description
When using the null coalesce operator (??), output esc
Symfony 6.4.18 has just been released. Here is the list of the most important changes since 6.4.17:
bug #58889 [Serializer] Handle default context in Serializer (@Valmonzo)
bug #59631 [HttpClient
Symfony 7.1.11 has just been released. Here is the list of the most important changes since 7.1.10:
bug #58889 [Serializer] Handle default context in Serializer (@Valmonzo)
bug #59631 [HttpClient