September 30, 2018 Fabien Potencier

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

bug #28636 [HttpFoundation] X-Accel-Mapping does not use HTTP key=value syntax (@c960657)

bug #28376 [TwigBundle] Fixed caching of templates in src/Resources/<BundleName>/views on cache warmup (@yceruto)

bug #28565 [HttpFoundation][Security] forward locale and format to subrequests (@nicolas-grekas)

bug #28561 [Cache] prevent getting older entries when the version key is evicted (@nicolas-grekas)

bug #28562 [HttpFoundation] fix hidding warnings from session handlers (@nicolas-grekas)

bug #28545 [Console] Send the right exit code to console.terminate listeners (@mpdude)

bug #28553 [Debug] Fix false-positive "MicroKernelTrait::loadRoutes()" method is considered internal" (@nicolas-grekas)

bug #28466 [Form] fail reverse transforming invalid RFC 3339 dates (@xabbuh)

bug #28540 [Intl] parse numbers terminated with decimal separator (@xabbuh)

bug #28548 [Console] Fixed boxed table style with colspan (@ro0NL)

bug #28433 [HttpFoundation] Allow reuse of Session between requests if ID did not change (@tgalopin)

bug #28508 [Form] forward false label option to nested types (@xabbuh)

bug #28471 [MonologBridge] Re-add option option to ignore empty context and extra data (@mpdude)

bug #28464 [Form] forward the invali _message option in date types (@xabbuh)

bug #28524 [PhpUnitBridge] fix disabling DeprecationErrorHandler using phpunit.xml file (@soerenbernstein)

bug #28512 [DI] fix infinite loop involving self-references in decorated services (@nicolas-grekas)

bug #28507 [DI] fix dumping lazy services (@nicolas-grekas)

bug #28469 [Form][TwigBridge] fix not displaying labels when value is false (@xabbuh)

bug #28495 [PhpUnitBridge] Implement startTest rather than startTestSuite (@greg0ire)

bug #28480 [DI] Detect circular references with ChildDefinition parent (@Seb33300)

bug #28497 [VarDumper] Fix global dump function return value for PHP7 (@patrickcarlohickman)

bug #28499 [Ldap] Use shut up operator on connection errors at lda _star _tls (@Andras Debreczeni)

bug #28372 [Form] Fix DateTimeType html5 input format (@franzwilding, @mcfedr)

bug #28396 [Intl] Blacklist Eurozone and United Nations in Region Data Generator (@gregurco)

bug #28418 [FrameworkBundle] Register the messenger data collector only when the profiler is enabled (@pierredup)

bug #28393 [Console] fixed corrupt error output for unknown multibyte short option (@downace)

bug #28411 [Debug] fix detecting overriden final/internal methods implemented using traits (@nicolas-grekas)

bug #28404 [Controller][ServiceValueResolver] Making method access case insensitive (@nicoweb)

bug #28401 [Console] Fix SymfonyQuestionHelper::askQuestion() with choice value as default (@chalasr)

bug #28388 [DI] configure inlined services before injecting them when dumping the container (@nicolas-grekas)

bug #28377 fix fopen flags (@SpacePossum)

bug #27764 [TwigBundle] Fixed caching of templates in default path on cache warmup (@yceruto)

bug #28366 [DI] Fix dumping some complex service graphs (@nicolas-grekas)

bug #27970 [FileValidator] Format file size in validation message according to binaryFormat option (@jfredon)

bug #28029 [TwigBundle] remove cache warmers when Twig cache is disabled (@xabbuh)

bug #28322 [Workflow] Make sure we do not run the next transition on an updated state (@Nyholm)

bug #28344 [HttpKernel][FrameworkBundle] Fix escaping of serialized payloads passed to test clients (@nicolas-grekas)

bug #28183 [WebProfilerBundle] fix wrong url when base path is the index (@ismail1432)

bug #28334 [FWB][Messenger] Revert "Move commands-specifics to a compiler pass in FWB" (@sroze)

bug #28328 [Messenger][FrameworkBundle] Move commands-specifics to a compiler pass in FWB (@sroze)

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.