A Week of Symfony #862 (3-9 July 2023)

This week, the upcoming Symfony 6.4 version continued adding native return types to its codebase. Meanwhile, the Symfony 7.0 branch, which will be released at the same time, continued removing deprecated code paths. In addition, Symfony announced the SymfonyOnline January 2024 conference and the first speakers of SymfonyLive Berlin 2023 conference.

Symfony development highlights

This week, 90 pull requests were merged (46 in code and 44 in docs) and 51 issues were closed (26 in code and 25 in docs). Excluding merges, 32 authors made 84,301 additions and 14,422 deletions. See details for code and docs.

5.4 changelog:

1e1d91e: [DependencyInjection] fix autocasting null env values to empty string
a746442: [Security] random_bytes length should be an int greater than 7
cf3966c: [Messenger] fix passing options set via tags to handler descriptors
99fa865: [Finder] fix initial directory is opened twice
9cbdfc6: [DepdencyInjection] fix costly logic when checking errored definitions
9c1dedb: [Finder] fix children condition in ExcludeDirectoryFilterIterator
60d6ce1: [DoctrineBridge] load refreshed user proxy
5b05271: [Serializer] fix Normalizer not utilizing converted name for index variadic param
11fa1be: [CssSelector] tests on Xpath translator will always pass
7723dca: [DependencyInjection] don’t ignore attributes on the actual decorator
17f4fe4: [Security] fix false-string handling in RememberMeAuthenticator
e11b3a3: [PhpUnitBridge] use triggering class to generate baseline for deprecation messages from DebugClassLoader
8e93517: [FrameworkBundle] prevent cache:clear to lose files on subsequent runs

6.3 changelog:

dd83b18: [Scheduler] fix PeriodicalTrigger from argument for stateful run dates
ee687df: [Notifier] fix Esendex messages serialization

6.4 changelog:

03e4b87: [WebProfilerBundle] fix minify test after JS refactor
6178664: [TwigBridge] allow to change element for form_help block
c8e0c35: [SecurityBundle] deprecate Security::* consts and other cleanups
29c1efa: [Security] remove ArgumentValueResolverInterface from UserValueResolver
cf3966c: [Messenger] fix passing options set via tags to handler descriptors
7147751: add missing return types to magic methods
e869eb6: [Security] add native return type to Firewall::getSubscribedEvents()
20cd059: add native return types to fix compat with v7
ce9bbd3: [Notifier] add Brevo bridge (formerly Sendinblue)
710e16c: [Mailer] new Brevo mailer bridge
f143f34: [Mailer] add assertEmailSubjectContains and assertEmailSubjectNotContains methods
f6723ab: [Mailer] add X-Infobip-Track header to be able to disable tracking

7.0 changelog:

1265bc5: remove BC layers related to new methods and new parameters
2f0f034: [HttpClient] remove implementing HttpMessageRequestFactory from HttplugClient
4dfe50e: [Validator] remove deprecated code paths
b7122d8: [Security] remove deprecated code paths
c37bf92: [ExpressionLanguage] remove deprecated code paths
0e01e2d: [HttpKernel] remove deprecated code paths
297569b: [Mime] remove deprecated methods in Mime Component
7e89741: [Lock] 7.0 remove deprecations in Lock Component
3de2f13: remove remaining deprecated code paths
a6ec131: convert to native return types
48f66f9: [DomCrawler, HttpFoundation] add planned arguments to Crawler::innerText() and sendHeaders() methods

Newest issues and pull requests

Add ISO-3166-1 Numeric codes to Intl component
UrlType and Url constraint changes
[Security] OpenID Code Token Single Sign On implementation
Programatically login and RememberMe

They talked about us

Symfony Station Communiqué – 7 July 2023
Dealing with Doctrine’s Limitation of Storing DateTime ATOM Format (in Symfony projects)
MapEntity attribute: your new Symfony best friend
Symfony + Outbox Pattern + RabbitMQ: A Key for Reliable Microservices
Setting up a testing database in Symfony
Applying SOLID principles with Symfony
Money Pattern with Symfony Framework
API Platform up and running in 5 minutes
Héberger une application Symfony 6.3 dans un téléphone Android avec Termux et utiliser FRP pour créer un tunnel. — Miary Rabehasy
Validando requests no Symfony Framework
Applicare alcuni principi Solid con Symfony

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

Latest News

PHP-Releases

PHP 8.2.24 released!

PHP 8.3.12 released!

Generated by Feedzy