Twig v1.6.0 Release Notes
Release Date: 2012-02-04 // about 12 years ago-
- fixed raw blocks when used with the whitespace trim option
- made a speed optimization to macro calls when imported via the "from" tag
- fixed globals, parsers, visitors, filters, tests, and functions management in Twig_Environment when a new one or new extension is added
- fixed the attribute function when passing arguments
- added slice notation support for the [] operator (syntactic sugar for the slice operator)
- added a slice filter
- added string support for the reverse filter
- fixed the empty test and the length filter for Twig_Markup instances
- added a date function to ease date comparison
- fixed unary operators precedence
- added recursive parsing support in the parser
- added string and integer handling for the random function