All Versions
217
Latest Version
Avg Release Cycle
44 days
Latest Release
609 days ago

Changelog History
Page 16

  • v1.16.2 Changes

    October 17, 2014
    • fixed timezone on dates as strings
    • fixed 2-words test names when a custom node class is not used
    • fixed macros when using an argument named like a PHP super global (like GET or POST)
    • fixed date_modify when working with DateTimeImmutable
    • optimized for loops
    • fixed multi-byte characters handling in the split filter
    • fixed a regression in the in operator
    • fixed a regression in the slice filter
  • v1.16.1 Changes

    October 10, 2014
    • improved error reporting in a sandboxed template
    • fixed missing error file/line information under certain circumstances
    • fixed wrong error line number in some error messages
    • fixed the in operator to use strict comparisons
    • sped up the slice filter
    • fixed for mb function overload mb_substr acting different
    • fixed the attribute() function when passing a variable for the arguments
  • v1.16.0 Changes

    July 05, 2014
    • changed url_encode to always encode according to RFC 3986
    • fixed inheritance in a 'use'-hierarchy
    • removed the __toString policy check when the sandbox is disabled
    • fixed recursively calling blocks in templates with inheritance
  • v1.15.1 Changes

    February 13, 2014
    • fixed the conversion of the special '0000-00-00 00:00' date
    • added an error message when trying to import an undefined block from a trait
    • fixed a C extension crash when accessing defined but uninitialized property.
  • v1.15.0 Changes

    December 06, 2013
    • made ignoreStrictCheck in Template::getAttribute() works with __call() methods throwing BadMethodCallException
    • added min and max functions
    • added the round filter
    • fixed a bug that prevented the optimizers to be enabled/disabled selectively
    • fixed first and last filters for UTF-8 strings
    • added a source function to include the content of a template without rendering it
    • fixed the C extension sandbox behavior when get or set is prepend to method name
  • v1.14.2 Changes

    October 30, 2013
    • fixed error filename/line when an error occurs in an included file
    • allowed operators that contain whitespaces to have more than one whitespace
    • allowed tests to be made of 1 or 2 words (like "same as" or "divisible by")
  • v1.14.1 Changes

    October 15, 2013
    • made it possible to use named operators as variables
    • fixed the possibility to have a variable named 'matches'
    • added support for PHP 5.5 DateTimeInterface
  • v1.14.0 Changes

    October 03, 2013
    • fixed usage of the html_attr escaping strategy to avoid double-escaping with the html strategy
    • added new operators: ends with, starts with, and matches
    • fixed some compatibility issues with HHVM
    • added a way to add custom escaping strategies
    • fixed the C extension compilation on Windows
    • fixed the batch filter when using a fill argument with an exact match of elements to batch
    • fixed the filesystem loader cache when a template name exists in several namespaces
    • fixed template_from_string when the template includes or extends other ones
    • fixed a crash of the C extension on an edge case
  • v1.13.2 Changes

    August 03, 2013
    • fixed the error line number for an error occurs in and embedded template
    • fixed crashes of the C extension on some edge cases
  • v1.13.1 Changes

    June 06, 2013
    • added the possibility to ignore the filesystem constructor argument in Twig_Loader_Filesystem
    • fixed Twig_Loader_Chain::exists() for a loader which implements Twig_ExistsLoaderInterface
    • adjusted backtrace call to reduce memory usage when an error occurs
    • added support for object instances as the second argument of the constant test
    • fixed the include function when used in an assignment