Nette Framework 2.4 (2018–07–03)

3 months ago

David Grudl
Nette Core | 6766
+
+10
-

Nette Framework 2.4 (2018–07–03) has just been released.

This release marks the end of life of the Nette 2.4 series.

Note that dependencies in composer.json has been relaxed to ^2.4, so ZIP packages are now distinguished by build date instead of patch version. Hence this release is “2.4 2018–07–03”

This summarizes the differences from release 2018–06–03

DI

  • ContainerBuilder::completeStatement() improved error message
  • Helpers::autowireArguments() improved error message
  • ServiceCreationException: can alter exception message
  • names in error “Multiple services of type …” are sorted
  • ContainerBuilder: fixed type of service

For the details you can have a look at the diff.

Forms

  • netteForms: DOMContentLoaded is never executed when script is loaded asynchronically
  • JSHint replaced with ESLint
  • DefaultFormRenderer, Latte: fix input name defined like array (nette/forms#182)
  • Rules: added reset method (nette/forms#180)
  • Validator: %label trims colon

For the details you can have a look at the diff.

Tracy

  • MailSender: $email can contain multiple addresses nette/tracy#308
  • readme.md: added browser compatibility
  • bar.js: fixed autoHideLabels() after 070309de
  • added missing Coveralls file
  • bar.js: visibility is determined by width
  • MailSender: validates email
  • typo, fixed types
  • BlueScreen: empty($ex->tracyAction) may throw exception nette/tracy#305

For the details you can have a look at the diff.

about a month ago

mcmatak
Member | 492
+
0
-

trying to migrate from 2.3 to 2.4, but still facing to Nette\Object even nowhere in code is anymore Nette\Object

somebody understand what means the highlighted variable on tracy image?
https://paste.pics/3KX4R

thanks for help

about a month ago

CZechBoY
Member | 3095
+
0
-

@mcmatak update kdyby/rabbitmq

about a month ago

mcmatak
Member | 492
+
0
-

is updated, check the highlighted variable in yellow, and check the red line, strange huh? you importing SmartObject trait, but spl_autoload_call Nette\Object