@dg dg released this Jun 3, 2018 · 59 commits to master since this release

Assets 2
  • Parser: tag name can contains : _ . - #179
  • Compiler: added 'did you mean' suggestion for n:attributes
  • Compiler: fixed error when there is no macro (#177)
  • coding style

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

@dg dg released this Feb 6, 2018 · 59 commits to master since this release

Assets 2

Please make a donation at https://nette.org/donate

  • FileLoader: isExpired called with correct file path (#171)
  • Compiler: {$var} can be in quotes in <style>
  • TokenIterator: fixes, sync with nette/tokenizer

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

@dg dg released this Aug 29, 2017 · 59 commits to master since this release

Assets 2
  • supports PHP up to 7.2
  • Engine: better error message when is unable to create file
  • Engine: throws exception when is unable to create directory
  • Parser: expands <script /> to <script></script> #164
  • added |webalize (requires nette/utils)
  • added |reverse

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

@dg dg released this Jul 14, 2017 · 59 commits to master since this release

Assets 2
  • coding style: fixes, lowercase true/false/null
  • Engine::compile() fixed construction of CompileException, doesn't accept nullable type (#161)

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

@dg dg released this May 17, 2017 · 59 commits to master since this release

Assets 2
  • n:class supports BEM (#156)
  • Filters: trim() is content type aware
  • macro n:attr expands array (#158)
  • Filters: independent on utf8_decode()
  • strict type fixes
  • fixed phpDoc

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

@dg dg released this Feb 2, 2017 · 44 commits to master since this release

Assets 2
  • requires PHP 7.0
  • uses declare(strict_types=1)
  • uses PHP 7.0 scalar and return type hints
  • Engine::setStrictTypes() adds declare(strict_types=1) to templates
  • PhpWriter: filters are called using PHP 7 features
  • 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)

@dg dg released this Jan 19, 2017 · 63 commits to master since this release

Assets 2
  • BlockMacros: removed deprecation warning for {includeblock}, it is deprecated silently
  • BlockMacros: dynamic blocks with content-types html & htmlattr are compatible #146
  • BlockMacros: implemented modifies for dynamic blocks
  • RegexpException: added PREG_JIT_STACKLIMIT_ERROR
  • Filters: added |padLeft & |padRight
  • FileLoader::normalizePath() not forget leading ../ #138 #139
  • CoreMacros: {status} uses http_response_code() related to nette/http#113

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

@dg dg released this Dec 21, 2016 · 407 commits to master since this release

Assets 2
  • fixed compatibility with PHP 7.1
  • @return self -> static

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

@dg dg released this Sep 27, 2016 · 80 commits to master since this release

Assets 2
  • Filters: added support for including blocks in HTMLCOMMENT #136
  • PhpWriter::validateTokens fixed to not recognize Namespace\CLASS as constant
  • BlockMacros - define: fixed variables extracting when named parameters are used (#131)
  • StringLoader: throws exception when is unable to load referred template #129
  • Filters::escapeHtmlAttr() prevents double escaping of Latte\Runtime\Html

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

@dg dg released this Jul 31, 2016 · 86 commits to master since this release

Assets 2
  • CoreMacros: translate macro does not use output buffer when possible #124
  • Snippets: disable snippet mode when rendering snippets BC break - interface changed
  • CoreMacros: {spaceless} works the same way as |strip and strips output in chunks
  • Revert "deprecated filter |strip", changed implementation to prevent backtrace limit errors
  • BlockMacros: fixed expandTokens in dynamic blocks (#125)
  • PhpWriter: fixed handling of uppercase class name
  • fixed compatibility with PHP 7.1

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