Nette Framework 2.2.2 released!

5 years ago

David Grudl
Nette Core | 6864
+
+21
-

Nette Framework 2.2.2 has just been released and is now available for download. Feel free to update!

  • Route: allows to use parameters with long names
  • FileResponse: send response either as attachment or inline
  • UI\Presenter: all services except httpRequest & httpResponse are optional
  • Tracy: better error messages when is Tracy unable to log errors
  • Latte: added support for empty {var $foo}
  • netteForms: toggle related event handler is added only once
  • Configurator::setDebugMode(): removed default value
  • a lot of bugfixes

For the details you can have a look at the diffs: application, bootstrap, caching, database, forms, mail, latte, tracy.

5 years ago

Šaman
Member | 2308
+
+6
-

Nette je ve třetině cesty k ďábelskému frameworku :)

5 years ago

TomasHalasz
Bronze Partner | 80
+
0
-

Hi,

I'v update by composer Nette from 2.2.1 to 2.2.2 and I have this error:

syntax error, unexpected '='

tracy says it's here in latte:

<?php if ($counter >= 3) { $counter = 1 ;$line++=NULL ;} else { $counter++=NULL ;} $levelPast = $one->level ;$iterations++; } ?>

and I found that problem is this command:

{var $line++}

Nette made this from it:

$line++=NULL ;

Is it my mistake (but where ?), or bug in Nette ?

5 years ago

David Grudl
Nette Core | 6864
+
+2
-

Sorry for BC break, but macro {var} is not intended for this usage. Replace {var $line++} with {? $line++}.

5 years ago

TomasHalasz
Bronze Partner | 80
+
0
-

David Grudl wrote:

Sorry for BC break, but macro {var} is not intended for this usage. Replace {var $line++} with {? $line++}.

Thanks, I didn't know that.

5 years ago

hrach
Member | 1817
+
-1
-

We are sorry, maybe one we will not introduce such bc breaks.