github nette/latte v2.11.0
Released version 2.11.0

latest releases: v3.0.17, v3.0.16, v3.0.15...
2 years ago

This version is for easy transition to the upcoming Latte 3. It notes all deprecated things that will be removed in the next version.

  • throws exception when template contains control characters
  • removed support for deprecated optional chaing expressions like $foo->prop? or $foo->call()?
  • empty closing tag {/} is deprecated
  • Colons as argument separator in modifiers are deprecated, ie replace {$foo|filter:1:2:3} with {$foo|filter:1, 2, 3}
  • Auto-empty is deprecated (it affects {label}, must be written as {label /} or pair {label}...{/label}
  • Filters::escapeJS: invalid UTF-8 is replaced with Unicode Replacement Character U+FFFD (instead of throwing exception)
  • Template: removed old accumulators $_l, $_g (deprecated in 2.4, BC break)
  • Tag name cannot start with ?
  • n:tag- & n:inner- is deprecated on void elements
  • deprecated n:inner-snippet
  • {includeblock} is deprecated
  • Auto-empty is deprecated
  • allow use of text/plain for script tag (#282)

Don't miss a new latte release

NewReleases is sending notifications on new releases.