github nette/latte v2.8.0
Released version 2.8.0

latest releases: v3.0.16, v3.0.15, v3.0.14...
4 years ago
  • 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.

Don't miss a new latte release

NewReleases is sending notifications on new releases.