Nette DI 3.2 has been released

David Grudl
Nette Core | 8217
+
+4
-

A new version of Nette DI 3.2 has been released.

New features:

  • Utilization of all PHP 8.1 features (type hints, new functions, etc.)
  • Protection of sensitive data in the source code with Tracy (example)
  • Search: added exclude > files option
  • Support for first-class callable syntax in NEON (e.g., @user::logout(...))
  • More concise syntax for multiple factories (issue)

Changes:

  • Generated factories and accessories now require a native type hint in the create()/get() method in interface instead of the outdated phpDoc annotation
  • The never-documented parameter %parameters% is deprecated
  • Warns if object serialization occurs during compilation