github nette/latte v2.5.0
Released version 2.5.0

latest releases: v3.0.20, v3.0.19, v3.0.18...
5 years ago

Features

  • requires PHP 7.1
  • uses declare(strict_types=1)
  • uses PHP 7.1 scalar and return type hints
  • Engine::setStrictTypes() adds declare(strict_types=1) to templates
  • PhpWriter: filters are called using PHP 7 features
  • added CachingIterator::__toString() (#175)

Changes

  • Compiler: removed deprecated support for inline PHP (BC break)
  • removed deprecated stuff {use} {status} {?...} |safeurl |nl2br shortNoEscape
  • HtmlNode, MacroNode: removed $isEmpty (BC break)
  • MacroTokens::fetchWord() returns NULL instead of FALSE on error (BC break)
  • TokenIterator::expectNextValue() renamed to consumeValue()

Don't miss a new latte release

NewReleases is sending notifications on new releases.