Skip to content

Releases: nette/latte

Released version 2.3.1

03 Jul 13:42
@dg dg
Compare
Choose a tag to compare
  • {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

03 Jul 13:41
@dg dg
Compare
Choose a tag to compare
  • 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

31 Jan 13:46
@dg dg
Compare
Choose a tag to compare
  • 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

28 Jan 04:23
@dg dg
Compare
Choose a tag to compare
  • implemented {elseifset #block}
  • fixed some bugs

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

Released version 2.2.3

27 Aug 21:50
@dg dg
Compare
Choose a tag to compare
  • 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

24 Jun 12:14
@dg dg
Compare
Choose a tag to compare

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

24 Jun 12:09
@dg dg
Compare
Choose a tag to compare

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

12 May 21:57
@dg dg
Compare
Choose a tag to compare

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.