Nette Latte v2.8.0 released

David Grudl
Nette Core | 8212
+
0
-

Nette Latte v2.8.0 has just been released!

  • added macro {sandbox}
  • implemented policy checking
  • PhpWriter: disabled $this/break/case/catch/continue/… when policy is enabled
  • PhpWriter: deprecated backtick operator
  • PhpWriter: disabled _halt_compiler/declare/die/eval/exit/include/include_once/require/require_once in templates
  • added {do} as alias for {php}
  • Engine::loadTemplate() uses the same locking mechanism as RobotLoader
  • templates: added typehints to generated methods & improved coding style
  • {=…}, {php…}, {do…} must have arguments (BC break)

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

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