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

  • bug #29318 [Console] Move back root exception to stack trace in verbose mode (@chalasr)
  • bug #29332 [PropertyAccess] make cache keys encoding bijective (@nicolas-grekas)
  • bug #29298 [Routing] fix trailing slash redirection when using RedirectableUrlMatcher (@nicolas-grekas)
  • bug #29297 [Routing] fix trailing slash redirection when using RedirectableUrlMatcher (@nicolas-grekas)
  • bug #29313 [PropertyAccessor] fix encoding of cache keys (@nicolas-grekas)
  • bug #28917 [DoctrineBridge] catch errors while converting to db values in data collector (@alekitto)
  • bug #29317 [WebProfiler] Detect non-file paths in file viewer (@ro0NL)
  • bug #29305 [EventDispatcher] Unwrap wrapped listeners internally (@ro0NL)
  • bug #27314 [DoctrineBridge] fix case sensitivity issue in RememberMeDoctrineTokenProvider (@PF4Public)
  • bug #29310 [MonologBridge] Return empty list for unknown requests (@ro0NL)
  • bug #29308 [Translation] Use XLIFF source rather than resname when there's no target (@thewilkybarkid)
  • bug #26244 [BrowserKit] fixed BC Break for HTT _HOST header (@brizzz)
  • bug #28147 [DomCrawler] exclude fields inside "template" tags (@Gorjunov)
  • bug #29222 [Dotenv] properly parse backslashes in unquoted env vars (@xabbuh)
  • bug #29256 [HttpFoundation] Fixed absolute Request URI with default port (@thomasbisignani)
  • bug #29274 [Routing] Remove duplicate schemes and methods for invokable controllers (@claudusd)
  • bug #29271 [HttpFoundation] Fix trailing space for mime-type with parameters (@Sascha Dens)
  • bug #29243 [Cache] fix optimizing Psr6Cache for AdapterInterface pools (@nicolas-grekas)
  • bug #29247 [DI] fix taking lazy services into account when dumping the container (@nicolas-grekas)
  • bug #29249 [Form] Fixed empty data for compound date interval (@HeahDude)
  • bug #29265 [Bridge/PhpUnit] Use composer to download phpunit (@nicolas-grekas)
  • bug #28769 [FrameworkBundle] deal with explicitly enabled workflow nodes (@xabbuh)
  • bug #29223 [Validator] Added the missing constraints instance checks (@thomasbisignani)
  • bug #28966 [PropertyAccessor] Fix unable to write to singular property using setter while plural adder/remover exist (@karser)
  • bug #29182 [Form] Fixed empty data for compound date types (@HeahDude)
  • bug #29191 [Routing] generate(null) should throw an exception (@nicolas-grekas)
  • bug #29185 [Form] Fixed keeping hash of equal DateTimeInterface on submit (@HeahDude)
  • bug #29141 [Workflow] Fixed bug of buildTransitionBlockerList when many transition are enabled (@Tetragramat, @lyrixx)
  • bug #29137 [Workflow][FrameworkBundle] fixed guard event names for transitions (@destillat, @lyrixx)
  • bug #28731 [Form] invalidate forms on transformation failures (@xabbuh)
  • bug #29152 [Config] Unset key during normalization (@ro0NL)
  • bug #29165 [DI] align IniFileLoader to PHP bugfix #76965 (@nicolas-grekas)
  • bug #29115 Change butto _widget class to btn-primary (@neFAST)
  • bug #29131 [Dotenv] dont use getenv() to read SYMFON _DOTEN _VARS (@nicolas-grekas)
  • bug #29057 [HttpFoundation] replace any preexisting Content-Type headers (@nicolas-grekas)
  • bug #29076 [Serializer] Allow null values when denormalizing with constructor missing data (@danut007ro)
  • bug #29104 [DI] fix dumping inlined services (@nicolas-grekas)
  • bug #29054 [VarDumper] fix dump of closures created from callables (@nicolas-grekas)
  • bug #29102 [DI] fix GraphvizDumper ignoring inline definitions (@nicolas-grekas)
  • bug #29107 [DI] dont track classes/interfaces used to compute autowiring error messages (@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