Nette Framework 2.2.3 released!

5 years ago

David Grudl
Nette Core | 6877
+
+25
-

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

Fixes:

  • new way how to detect errors in native PHP function (used in Session, Mail, Strings, …)
  • DI: fixed inheritance
  • Database & DI: fixes autowiring for multiple connections
  • Database: fixed & enhanced support for multiple scheme reflection
  • Forms: fixed erasing of manually added errors via addError
  • Forms: fixed getHttpData() for multiple file uploads
  • Http\Response: added $warnOnBuffer
  • Latte: filter |date respects active timezone
  • Latte: macro {includeblock} gently trims output
  • Mail: fixed headers encoding https://github.com/…ail/issues/4
  • Mail: setHtmlBody() decodes %XX in URL
  • PhpGenerator: ClassType::from processes only own properties
  • PhpGenerator: fixed dumping of non-public properties
  • Template::registerHelperLoader: removed E_USER_DEPRECATED
  • TemplateFactory: added missing filters modifyDate, length & null
  • Neon: fixed parsing of:
key1:
- subitem
- subitem

News:

  • added support for $configurator->setDebugMode('secret@23.75.345.200'), where secret must match with cookie nette-debug
  • added Latte\Engine::invokeFilter(), as a replacement for $template->$filter().
  • DI: better exception messages
  • NDBT: added support for NULL with operator NOT
  • Forms & Latte: prettier output formating
  • Tracy: added Debugger::$logSeverity for logging bluescreen for errors/warnings/notices in production mode
  • added Validators::isUri()

Do not forget to set cookie for setDebugMode with httponly flag:

setcookie($configurator::COOKIE_SECRET, $secret, strtotime('1 years'), '/', '', '', TRUE)

For the details you can have a look at the diffs: application, bootstrap, database, di, forms, http, mail, neon, php-generator, utils, latte, tracy.

5 years ago

Vojtěch Dobeš
Member | 1317
+
+2
-

Thanks for keeping up one of the best development tools :)!

5 years ago

MartyIX
Member | 219
+
0
-

I upgraded from Nette 2.1.x to Nette 2.2.3 and it was necessary to fix some namespaces in custom macros. However, the whole process took about 5 minutes. :-)) Great job!

5 years ago

Eda
Member | 214
+
0
-

I upgraded from Nette 2.2.2 and everything seems to be ok. Thank you.

Last edited by Eda (2014-09-05 19:31)

5 years ago

steelbull
Member | 207
+
0
-

I writed to this thread about issue with MSSQL (utf-8 → ucs-2) conversion few weeks before. I try all, but I was still not solved this problem. The only solution is directly write SQL query or use other database engine (but I would like to use yours). This function is very, very, very needed, if anybody use the MSSQL with Nette. I would like to ask you David, If are U thinking about solve this problem.

Thank you David.
Best regarts…

5 years ago

blindAlley
Member | 31
+
-1
-

Next potentially big BC break can be change in form submitting – form isn't submitted on it's own signal url (e.g. “do-form-submit”) but in url of the attached presenter with “do” as hidden parameter. I requested for returning it back as “deprecated” but working option in 2.2.3