Symfony 6.2.2 has just been released. Here is the list of the most important changes since 6.2.1:

  • bug #48661 [Serializer] fix context attribute with serializedName (@nikophil)
  • bug #48681 [Console] Revert "bug #48089 Fix clear line with question in section (maxbeckers) (@chalasr)
  • bug #48680 [Cache] fix lazyness of redis when using RedisTagAwareAdapter (@nicolas-grekas)
  • bug #48651 [HttpKernel] AbstractSessionListener should not override the cache lifetime for private responses (@rodmen)
  • bug #48591 [DependencyInjection] Shared private services becomes public after a public service is accessed (@alexpott)
  • bug #48126 [Mailer] Include all transports' debug messages in RoundRobin transport exception (@mixdf)
  • bug #48644 [Validator] Allow opt-out of EmailValidator deprecation when using Validation::createValidatorBuilder() (@nicolas-grekas)
  • bug #48606 [FrameworkBundle] container:debug CLI output improvements for excluded services (@apfelbox)
  • bug #48089 [Console] Fix clear line with question in section (@maxbeckers)
  • bug #48602 [HtmlSanitizer] Fix HtmlSanitizer default configuration behavior for allowed schemes (@Titouan Galopin)
  • bug #48635 [HttpFoundation] Use relative timestamps with MemcachedSessionHandler (@tvlooy)
  • bug #47979 [Cache] Fix dealing with ext-redis' multi/exec returning a bool (@João Nogueira)
  • bug #48612 [Messenger] [Amqp] Added missing rpc_timeout option (@lyrixx)
  • bug #48233 [Serializer] Prevent GetSetMethodNormalizer from creating invalid magic method call (@klaussilveira)
  • bug #48628 [HttpFoundation] Fix dumping array cookies (@nicolas-grekas)
  • bug #48559 [ExpressionLanguage] Fix BC of cached SerializedParsedExpression containing GetAttrNode (@fancyweb)
  • bug #48524 [HttpKernel] Fix CacheAttributeListener priority (@HypeMC)
  • bug #48451 [Translation] Fix extraction when dealing with VariadicPlaceholder parameters (@Kocal)
  • bug #48601 [SecurityBundle] Fix authenticator existence check in Security::login() (@chalasr)
  • bug #48587 [TwigBundle] Alias BodyRendererInterface (@n3o77)
  • bug #48580 [Console] Fix missing command not matching namespace error message (@Titouan Galopin)
  • bug #48449 [DependencyInjection] Fix bug when tag name is a text node (@BrandonlinU)
  • bug #48048 [WebProfilerBundle] Fix dump header not being displayed (@HypeMC)
  • bug #47836 [HttpClient] TraceableHttpClient: increase decorator's priority (@adpeyre)
  • bug #48259 [FrameworkBundle] Allow configuring framework.exceptions with a config builder (@MatTheCat)
  • bug #48314 [Mime] Fix MessagePart serialization (@Amunak)
  • bug #48331 [Yaml] fix dumping top-level tagged values (@xabbuh)
  • bug #48615 Fix getting the name of closures on PHP 8.1.11+ (@nicolas-grekas)
  • bug #48624 [ErrorHandler][HttpKernel] Fix reading the SYMFONY_IDE env var (@nicolas-grekas)
  • bug #48618 [ErrorHandler] [DebugClassLoader] Fix some new return types support (@fancyweb)
  • bug #48605 [VarExporter] Fix adding a key to an uninitialized array (@nicolas-grekas)
  • bug #48554 [Security] Fix invalid deprecation messages in Security constants (@IonBazan)
  • bug #48538 [Clock] Fix usleep deprecation warning (@victor-prdh)
  • bug #48421 [HttpFoundation] IPv4-mapped IPv6 addresses incorrectly rejected (@bonroyage)
  • bug #48501 [RateLimiter] Add int to Reservation::wait() (@DaRealFreak)
  • bug #48359 [VarDumper] Ignore \Error in __debugInfo() (@fancyweb)
  • bug #48553 [VarExporter] Fix calling parent::__wakeup() when unserializing with LazyProxyTrait (@azjezz)
  • bug #48489 [DoctrineBridge] Skip resolving entities when the corresponding request attribute is already an object (@nicolas-grekas)
  • bug #48534 [FrameworkBundle] add kernel.locale_aware tag to LocaleSwitcher (@kbond)
  • bug #48521 [FrameworkBundle] fix removing commands if console not available (@kbond)
  • bug #48522 [DependencyInjection] Generate different classes for ghost objects and virtual proxies (@nicolas-grekas)
  • bug #48482 [DependencyInjection] Revert "bug #48027 Don't autoconfigure tag when it's already set with attributes" (@nicolas-grekas)

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