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.
Login to add comment
Other posts in this group

This week, Symfony unveiled the Symfony AI initiative, a set of components and bundles designed to bring powerful AI capabilities directly into your PHP applications. In addition, we published travel

Today we are happy to announce a new Symfony initiative called Symfony AI - with the goal to provide a comprehensive set of components and bundles designed to bring powerful AI capabilities directly i

SymfonyCon Amsterdam 2025, our next annual international Symfony conference, will take place on:
November 25 & 26: 2 workshops days with several topics to learn, practice and improve your skills

This week, development on the upcoming Symfony 8.0 version continued with the removal of deprecated features and the marking of several classes as final. In addition, we published two new case studies

At Wide, Micropole’s digital agency, they help leading brands modernize their digital infrastructures while ensuring scalability, security, and performance. When Audi France approached them to migrate

Vente-unique.com, a leading European online retailer of furniture and home decor, operates in 11 countries, powered by a team of 400 professionals and serving more than 3 million customers. From 15 ye

This week, Symfony 6.4.23, 7.2.8 and 7.3.1 maintenance versions were released. Meanwhile, the upcoming Symfony 7.4 version continued adding new features such as better controller helpers, more precisi