Symfony 5.2.0-RC1 released

Symfony 5.2.0-RC1 has just been released. Here is a list of the most important changes:

bug #39004 [Messenger] Fix JSON deserialization of ErrorDetailsStamp and normalization of FlattenException::$statusText (@Jean85) bug #38628 [DoctrineBridge] indexBy could reference to association columns (@juanmiguelbesada) bug #39021 [DependencyInjection] Optimize circular collection by removing flattening (@jderusse) bug #39031 [Ldap] Fix pagination (@jderusse) bug #39038 [DoctrineBridge] also reset id readers (@xabbuh) feature #39032 [Validator] Allow load mappings from attributes without doctrine/annotations (@derrabus) feature #39022 [FrameworkBundle] Allow to use attribute-based configuration of routing/serializer without doctrine/annotations (@derrabus) bug #39002 [Validator] Override the default option of the choice constraint (@benji07) bug #39026 [Messenger] Fix DBAL deprecations in PostgreSqlConnection (@chalasr) bug #39025 [DoctrineBridge] Fix DBAL deprecations in middlewares (@derrabus) bug #38991 [Console] Fix ANSI when stdErr is not a tty (@jderusse) bug #38980 [DependencyInjection] Fix circular reference with Factory + Lazy Iterrator (@jderusse) bug #38986 [DoctrineBridge] accept converting Uid-as-strings to db-values (@nicolas-grekas) feature #38850 [Messenger] Do not call getQueueUrl when the url is known in AmazonSqs transport (@jderusse) feature #38940 [Messenger] Improve formatting of exception in failed message (@Jeroen Noten) feature #38954 [HttpFundation][FrameworkBundle] Deprecate the HEADE _ _FORWARDE _ALL constant (@jderusse) bug #38977 [HttpClient] Check status code before decoding content in TraceableResponse (@chalasr) bug #38971 [PhpUnitBridge] fix replaying skipped tests (@nicolas-grekas) bug #38910 [HttpKernel] Fix session initialized several times (@jderusse) bug #38882 [DependencyInjection] Improve performances in CircualReference detection (@jderusse) bug #38950 [Process] Dont test TTY if there is no TTY support (@Nyholm) bug #38921 [PHPUnitBridge] Fixed crash on Windows with PHP 8 (@villfa) feature #38919 [Console] Make error message more verbose (@Nyholm) bug #38869 [SecurityBundle] inject only compatible token storage implementations for usage tracking (@xabbuh) feature #38859 [HttpFoundation] Deprecate not passing a Closure together with FILTE _CALLBACK to ParameterBag::filter() (@nicolas-grekas) bug #38894 [HttpKernel] Remove Symfony 3 compatibility code (@derrabus) bug #38888 remove reflection-docblock from mime requirements (@garak) bug #38895 [PhpUnitBridge] Fix wrong check for exporter in ConstraintTrait (@alcaeus) bug #38879 [Cache] Fixed expiry could be int in ChainAdapter due to race conditions (@phamviet) bug #38867 [FrameworkBundle] Fixing TranslationUpdateCommand failure when using “–no-backup” (@liarco) bug #38856 [Cache] Add missing use statement (@fabpot)

Want to upgrade to this new release? Because Symfony protects backwards-compatibility very closely, this should be quite easy. Use SymfonyInsight upgrade reports to detect the code you will need to change in your project and read our upgrade documentation to learn more. Want to be notified whenever a new Symfony release is published? Or when a version is not maintained anymore? Or only when a security issue is fixed? Consider subscribing to the Symfony Roadmap Notifications.

                Sponsor the Symfony project.
Creată 5y | 10 nov. 2020, 08:22:05


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

New in Symfony 7.3: JsonStreamer Component

Contributed by Mathias Arlaud in

20 mai 2025, 09:30:13 | Symfony
Symfony UX CVE-2025-47946: Unsanitized HTML attribute injection via ComponentAttributes

Affected versions

Symfony UX symfony/ux-live-component and symfony/ux-twig-component versions <2.25.1 are affected by this security issue.

The issue has been fixed in the 2.25.1 version of these

19 mai 2025, 12:40:14 | Symfony
New in Symfony 7.3: Yaml Improvements

Symfony has been reducing the need for configuration in applications for several years now. Thanks to PHP attributes, you can now configure most things alongside the relevant code, removing the need f

19 mai 2025, 08:10:09 | Symfony
A Week of Symfony #959 (May 12–18, 2025)

This week, development activity focused on polishing Symfony 7.3 ahead of its final release in two weeks. We also continued publishing articles highlighting the new features of Symfony 7.3 and shared

18 mai 2025, 08:50:08 | Symfony
SymfonyOnline June 2025:  Keynote “Symfony in 2025, Scaling to Zero.”

SymfonyOnline June 2025 is almost here, starting in a few weeks on:

June 10-11: Workshop days. June 12-13: Online conference days in English. All talks will be available for replay as soon as

16 mai 2025, 15:10:26 | Symfony
New in Symfony 7.3: Dependency Injection Improvements

Symfony 7.3 introduces several enhancements to the DependencyInjection component that simplify service configuration, make autoconfiguration more flexible, and enable environment-specific aliasing.

S

16 mai 2025, 08:10:11 | Symfony
New in Symfony 7.3: Namespaced Caches

Contributed by Nicolas Grekas in

15 mai 2025, 08:50:14 | Symfony