Symfony 4.1.8 released
November 26, 2018 • Published by Fabien Potencier
Warning: Symfony 4.1 is no longer supported. Consider upgrading your applications to the most recent Symfony version.
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.
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
Anyone with the same issue?
Reverting to 4.1.7 fixes it. I tried with cache clear, iis restart... but nothing
It's weird because php doesn't even write anything to the error log
Exception thrown when handling an exception (ErrorException: Notice: Undefined property: Symfony\Component\Stopwatch\StopwatchPeriod::$isFinder)
ErrorException
Notice: Undefined property: Symfony\Component\Stopwatch\StopwatchPeriod::$isFinder
httpd error log:
[core:notice] [pid 23349] AH00052: child pid 29513 exit signal Segmentation fault (11)
Steps to reproduce :
1 : composer create-project symfony/website-skeleton my_project
2 : php bin/console server:run
I think it has a relationship with Annotation @Route.....
It's been fixed in https://github.com/symfony/symfony/pull/29349 and it will be included in the next stable release.
$organisation->setAddress(new Address());
$em->persist($organisation);
Before 4.1.8 : No issues
4.1.8 : I'm not able to persist $organisation because address_id is null
Notice: Undefined property: Symfony\Component\Stopwatch\StopwatchPeriod::$isFinder
It came, when I updated symfony project. When I delete the cache, the application will run without problem, on second request the bug again appear. So I believe the application is not properly able to write cache files or similar.
As @Francesco Montanari mentioned. The issue gone, when I switched back to symfony 4.1.7.
Thank you
Notice: Undefined property: Symfony\Component\Stopwatch\StopwatchPeriod::$isFinder
error. If I downgrade to the 4.1.7 or 4.1.6 I have the
[Thu Nov 29 22:14:49.420261 2018] [core:notice] [pid 10981] AH00052: child pid 11852 exit signal Segmentation fault (11)
I deleted the whole cache by hand...
What is goin' on? :(
After I downgrade it to PHP Version 7.1.24-1+0~20181112093455.10+stretch~1.gbp09a4fd everything works fine and on Symfony 4.1.8
I'm sorry. I do not know what is the real problem, but this temporarily solves it.
Debian 9.6 / PHP 7.1.24 / Symfony 4.1.8.
No issue before upgrading to 4.1.8.