Releases: nette/latte
Releases · nette/latte
Released version 2.3.1
{dump}
updated for 2.3- whitespace moved after closing tag for shortcuts like
<element />
<script>
with type text/json is escaped as javascript
For the details you can have a look at the diff.
Released version 2.2.5
- whitespace moved after closing tag for shortcuts like
<element />
- fixed
syntax=off
- added
Engine::VERSION
- some fixes
For the details you can have a look at the diff.
Released version 2.3.0
- template is wrapped in an class → much faster repeated rendering
- faster loading from cache file
- faster autoloader for non-Composer usage
{ifset block}
&{elseifset block}
without#
- parser detects for unclosed / malformed macros (nette/nette#711)
- added support for
<script type="text/html">
(#24 & nette/nette#705) - added macro
{php …}
as replacement for{? …}
- fills Html::$attrs with actual attribute values
- "words" can contain concatenation dots (i.e.
{include $dir . '/template.latte'}
#26) - combination of
n:class
&class
leads to exception
Released version 2.2.4
- implemented
{elseifset #block}
- fixed some bugs
For the details you can have a look at the diff.
Released version 2.2.3
- filter
|date
respects active timezone - macro
{includeblock}
gently trims output - added Latte\Engine::invokeFilter(), as a replacement for former
$template->$filter()
. - prettier output formating for some macros
For the details you can have a look at the diff.
Released version 2.2.2
- added support for empty
{var $foo}
- fixed some bugs (nette/nette#1498, …)
Note: usage of some internal variables like $_l
has been changed.
For the details about the changes you can have a look at the Github diff.
Released version 2.2.1
Added protection against innerHTML mXSS vulnerability nette/nette#1496
For the details about the changes you can have a look at the Github diff.
Released version 2.2.0
After 6 years of development Latte has become standalone templating engine with a lot of cool features.
- context sensitive escaping
- easy PHP-like syntax
- n:attributes
For more information see readme.md.