Twig v1.7.0 Release Notes

Release Date: 2012-04-24 // about 12 years ago
    • fixed a PHP warning when using CIFS
    • fixed template line number in some exceptions
    • added an iterable test
    • added an error when defining two blocks with the same name in a template
    • added the preserves_safety option for filters
    • fixed a PHP notice when trying to access a key on a non-object/array variable
    • enhanced error reporting when the template file is an instance of SplFileInfo
    • added Twig_Environment::mergeGlobals()
    • added compilation checks to avoid misuses of the sandbox tag
    • fixed filesystem loader freshness logic for high traffic websites
    • fixed random function when charset is null