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

  • bug #30383 [WebProfilerBundle] toolbar: invisible route name in Firefox (@inmarelibero)
  • bug #26532 [HttpKernel] Correctly merging cache directives in HttpCache/ResponseCacheStrategy (@aschempp)
  • bug #30363 Fixed the DebugClassLoader compatibility with eval()'d code on Darwin (@skalpa)
  • bug #30329 [Form] IntegerType: reject submitted non-integer numbers (@xabbuh)
  • bug #30331 [Cache] fix warming up cache.system and apcu (@nicolas-grekas)
  • bug #30347 [Security] Change FormAuthenticator if condition (@PReimers)
  • bug #30354 [Console] handles multi-byte characters in autocomplete (@jls-esokia)
  • bug #30351 Fix getItems() performance issue with RedisCluster (php-redis) (@andrerom)
  • bug #30350 [VarDumper] Keep a ref to objects to ensure their handle cannot be reused while cloning (@nicolas-grekas)
  • bug #30327 [HttpKernel] Fix possible infinite loop of exceptions (@enumag)
  • bug #27601 [Routing] fix URL generation with look-around requirements (@nasimnabavi)
  • bug #30277 [Console] Prevent ArgvInput::getFirstArgument() from returning an option value (@chalasr)
  • bug #29981 [Security] Complain about an empty decision strategy (@corphi)
  • bug #29822 [EventDispatcher] Fix unknown priority (@ro0NL)
  • bug #30324 [Validator] Fixed duplicate UUID (@ralfkuehnel)
  • bug #30265 [Form] do not validate non-submitted form fields in PATCH requests (@xabbuh)
  • bug #30313 Avoid mutating the Finder when building the iterator (@stof)
  • bug #30294 [FrameworkBundle] Fix Descriptor throwing on non existent parent (@GuilhemN)
  • bug #30271 [Console] Fix command testing with missing user inputs (@chalasr)
  • bug #30278 Remove unnecessary ProgressBar stdout writes (fixes flickering) (@ostrolucky)
  • bug #30274 [VarDumper] fix serializing Stub instances (@nicolas-grekas)
  • bug #30273 [Validator] Added missing use statement for UnexpectedTypeException (@devrck)
  • bug #30247 Don't resolve the Deprecation error handler mode until a deprecation is triggered (@ossinkine)
  • bug #30264 [Debug][ErrorHandler] Preserve next error handler (@fancyweb)
  • bug #30245 fix lost namespace in eval (@fizzka)
  • bug #30090 [FrameworkBundle] add constraint validators before optimizations (@xabbuh)
  • feature #30126 [Form] forward valid numeric values to transform() (@xabbuh)
  • bug #30122 [Security] fix switch user without having current token (@Antoine Lamirault)
  • bug #30136 use PropertyAccessorInterface instead of PropertyAccessor (@nick-zh)
  • bug #30124 Fix KernelTestCase compatibility for PhpUnit 8 (bis) (@nicolas-grekas)
  • bug #30061 [Form] render integer types with grouping as text input (@xabbuh)
  • bug #30063 [Form] don't lose int precision with not needed type casts (@xabbuh)
  • bug #30076 [Form] ignore _method forms in NativeRequestHandler (@xabbuh)
  • bug #30084 Fix KernelTestCase compatibility for PhpUnit 8 (@alexander-schranz)
  • bug #30093 [DependencyInjection] add $lazyLoad context to the generated code for lazy non-shared service by PhpDumper (@XuruDragon)
  • bug #30102 [Workflow] Graphviz dumper escape not always a string (@Korbeil)
  • bug #29884 [Form] CsrfValidationListener marks the token as invalid if it is not a string (@umpirsky)
  • bug #30058 [Routing] fix perf issue when dumping large number of routes (@nicolas-grekas)
  • bug #30062 [Form] do not overwrite the constraint being evaluated (@xabbuh)
  • bug #30074 Fix wrong value in file id attribute for Xliff 2.0 (@deguif)
  • bug #30078 [Messenger] Fix DataCollector template (@ottaviano)
  • bug #30087 [PhpUnitBridge] fix PHP 5.3 compat (@nicolas-grekas)

Want to upgrade to this new release? Fortunately, because Symfony protects backwards-compatibility very closely, this should be quite easy. 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