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.
After updating it broke my php on IIS ("C:\PHP\7.2\php-cgi.exe - The FastCGI process exited unexpectedly") 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
..The first time after the update I get this error:
Exception thrown when handling an exception (ErrorException: Notice: Undefined property: Symfony\Component\Stopwatch\StopwatchPeriod::$isFinder)
ErrorException Notice: Undefined property: Symfony\Component\Stopwatch\StopwatchPeriod::$isFinder
@Francesco please submit issue(s) if you can provide more information to reproduce them.
On php version 7.1.22 everything works fine, but on 7.2.12 connection lost ERR_CONNECTION_RESET
on 7.2.12 with Xdebug all work
AWS EB ami 2.8.3 with php 7.2.11 connection lost. httpd error log: [core:notice] [pid 23349] AH00052: child pid 29513 exit signal Segmentation fault (11)
[ERROR] The process has been signaled with signal "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.....
After upgrade my nginx starts showing Bad Gateway 502. Roll back to 4.1.7 helps.
[ERROR] The process has been signaled with signal "11".
[ERROR] The process has been signaled with signal "11". After downgrading back to 4.1.6 problem still remains. Before 4.1.8 everything was working fine...
We're sorry for the "signal 11 error". Here you can find more details about this issue: https://github.com/symfony/symfony/issues/29341
It's been fixed in https://github.com/symfony/symfony/pull/29349 and it will be included in the next stable release.
Upgrading 4.1.8 breaks simple code that was working since few months.
$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
Forget my last comment (or delete it with this one). My issues are related to doctrine and not Symfony !
I too had the same kind of error. 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
With the latest (4.1.8) skeleton project I have the 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? :(
Ok guys. I did some research, and I discovered that the problem is w/ the Apache PHP module. The latest on Debian GNU/Linux 9.6 (stretch) is PHP Version 7.2.12-1+0~20181112102304.11+stretch~1.gbp55f215 by https://packages.sury.org/php/
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.
I have the same SegFault error when I open the Profiler. Debian 9.6 / PHP 7.1.24 / Symfony 4.1.8.
No issue before upgrading to 4.1.8.
FYI, switching to php7.1-fpm fix the issue.