Symfony 7.2.0 has just been released.

Check the Living on the Edge category on this blog to learn about the main features of this new stable release; or check the release announcement of BETA1 to get the list of all new features.

Here is the list of the most important changes since 7.2.0-RC1:

  • bug #59023 [HttpClient] Fix streaming and redirecting with NoPrivateNetworkHttpClient (@nicolas-grekas)
  • bug #59014 [Form] Allow integer for the calendar option of DateType (@alexandre-daubois)
  • bug #59013 [HttpClient] Fix checking for private IPs before connecting (@nicolas-grekas)
  • bug #58562 [HttpClient] Close gracefull when the server closes the connection abruptly (@discordier)
  • bug #59007 [Dotenv] read runtime config from composer.json in debug dotenv command (@xabbuh)
  • bug #58963 [PropertyInfo] Fix write visibility for Asymmetric Visibility and Virtual Properties (@xabbuh, @pan93412)
  • bug #58983 [Translation] [Bridge][Lokalise] Fix empty keys array in PUT, DELETE requests causing Lokalise API error (@DominicLuidold)
  • bug #58956 [DoctrineBridge] Fix Connection::createSchemaManager() for Doctrine DBAL v2 (@neodevcode)
  • bug #58959 [PropertyInfo] consider write property visibility to decide whether a property is writable (@xabbuh)
  • bug #58964 [TwigBridge] do not add child nodes to EmptyNode instances (@xabbuh)
  • bug #58950 [FrameworkBundle] Revert " Deprecate making cache.app adapter taggable" (@keulinho)
  • bug #58952 [Cache] silence warnings issued by Redis Sentinel on connection issues (@xabbuh)
  • bug #58953 [HttpClient] Fix computing stats for PUSH with Amp (@nicolas-grekas)
  • bug #58943 [FrameworkBundle] Revert " Don't auto-register form/csrf when the corresponding components are not installed" (@nicolas-grekas)
  • bug #58937 [FrameworkBundle] Don't auto-register form/csrf when the corresponding components are not installed (@nicolas-grekas)
  • bug #58859 [AssetMapper] ignore missing directory in isVendor() (@alexislefebvre)
  • bug #58917 [OptionsResolver] Allow Union/Intersection Types in Resolved Closures (@zanbaldwin)
  • bug #58822 [DependencyInjection] Fix checking for interfaces in ContainerBuilder::getReflectionClass() (@donquixote)
  • bug #58865 Dynamically fix compatibility with doctrine/data-fixtures v2 (@greg0ire)
  • bug #58921 [HttpKernel] Ensure HttpCache::getTraceKey() does not throw exception (@lyrixx)
  • bug #58908 [DoctrineBridge] don't call EntityManager::initializeObject() with scalar values (@xabbuh)
  • bug #58938 [Cache] make RelayProxyTrait compatible with relay extension 0.9.0 (@xabbuh)
  • bug #58924 [HttpClient] Fix empty hosts in option "resolve" (@nicolas-grekas)
  • bug #58915 [HttpClient] Fix option "resolve" with IPv6 addresses (@nicolas-grekas)
  • bug #58919 [WebProfilerBundle] Twig deprecations (@mazodude)
  • bug #58914 [HttpClient] Fix option "bindto" with IPv6 addresses (@nicolas-grekas)
  • bug #58888 [Mailer][Notifier] Sweego is backing their bridges, thanks to them! (@nicolas-grekas)
  • bug #58885 [PropertyInfo][Serializer][TypeInfo][Validator] TypeInfo 7.1 compatibility (@mtarld)
  • bug #58870 [Serializer][Validator] prevent failures around not existing TypeInfo classes (@xabbuh)
  • bug #58872 [PropertyInfo][Serializer][Validator] TypeInfo 7.2 compatibility (@mtarld)
  • bug #58875 [HttpClient] Removed body size limit (Carl Julian Sauter)
  • bug #58866 [Validator] fix compatibility with PHP < 8.2.4 (@xabbuh)
  • bug #58862 [Notifier] Fix GoIpTransport (@nicolas-grekas)
  • bug #58860 [HttpClient] Fix catching some invalid Location headers (@nicolas-grekas)
  • bug #58834 [FrameworkBundle] ensure validator.translation_domain parameter is always set (@xabbuh)
  • bug #58836 Work around parse_url() bug (bis) (@nicolas-grekas)
  • bug #58818 [Messenger] silence PHP warnings issued by Redis::connect() (@xabbuh)
  • bug #58828 [PhpUnitBridge] fix dumping tests to skip with data providers (@xabbuh)
  • bug #58842 [Routing] Fix: lost priority when defining hosts in configuration (@BeBlood)
  • bug #58850 [HttpClient] fix PHP 7.2 compatibility (@xabbuh)

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.

Published in #Releases