Skip to content

Released version 2.11.0

Compare
Choose a tag to compare
@dg dg released this 22 Feb 18:52
· 335 commits to master since this release

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)