Latte v2.8.0 Release Notes

Release Date: 2020-04-20 // about 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.