Nette Framework 2.2.2 released!

Notice: This thread is very old.
David Grudl
Nette Core | 8227
+
+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.

Šaman
Member | 2661
+
+6
-

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

TomasHalasz
Bronze Partner | 79
+
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 ?

David Grudl
Nette Core | 8227
+
+2
-

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

TomasHalasz
Bronze Partner | 79
+
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.

hrach
Member | 1838
+
-1
-

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