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

Changelog History
Page 14

  • v1.24.1 Changes

    May 30, 2016
    • fixed reserved keywords (forbids true, false, null and none keywords for variables names)
    • fixed support for PHP7 (Throwable support)
    • marked the following methods as being internals on Twig_Environment: getFunctions(), getFilters(), getTests(), getFunction(), getFilter(), getTest(), getTokenParsers(), getTags(), getNodeVisitors(), getUnaryOperators(), getBinaryOperators(), getFunctions(), getFilters(), getGlobals(), initGlobals(), initExtensions(), and initExtension()
  • v1.24.0 Changes

    January 25, 2016
    • adding support for the ?? operator
    • fixed the defined test when used on a constant, a map, or a sequence
    • undeprecated _self (should only be used to get the template name, not the template instance)
    • fixed parsing on PHP7
  • v1.23.3 Changes

    January 11, 2016
    • fixed typo
  • v1.23.2 Changes

    January 11, 2015
    • added versions in deprecated messages
    • made file cache tolerant for trailing (back)slashes on directory configuration
    • deprecated unused Twig_Node_Expression_ExtensionReference class
  • v1.23.1 Changes

    November 05, 2015
    • fixed some exception messages which triggered PHP warnings
    • fixed BC on Twig_Test_NodeTestCase
  • v1.23.0 Changes

    October 29, 2015
    • deprecated the possibility to override an extension by registering another one with the same name
    • deprecated Twig_ExtensionInterface::getGlobals() (added Twig_Extension_GlobalsInterface for BC)
    • deprecated Twig_ExtensionInterface::initRuntime() (added Twig_Extension_InitRuntimeInterface for BC)
    • deprecated Twig_Environment::computeAlternatives()
  • v1.22.3 Changes

    October 13, 2015
    • fixed regression when using null as a cache strategy
    • improved performance when checking template freshness
    • fixed warnings when loaded templates do not exist
    • fixed template class name generation to prevent possible collisions
    • fixed logic for custom escapers to call them even on integers and null values
    • changed template cache names to take into account the Twig C extension
  • v1.22.2 Changes

    September 22, 2015
    • fixed a race condition in template loading
  • v1.22.1 Changes

    September 15, 2015
    • fixed regression in template_from_string
  • v1.22.0 Changes

    September 13, 2015
    • made Twig_Test_IntegrationTestCase more flexible
    • added an option to force PHP bytecode invalidation when writing a compiled template into the cache
    • fixed the profiler duration for the root node
    • changed template cache names to take into account enabled extensions
    • deprecated Twig_Environment::clearCacheFiles(), Twig_Environment::getCacheFilename(), Twig_Environment::writeCacheFile(), and Twig_Environment::getTemplateClassPrefix()
    • added a way to override the filesystem template cache system
    • added a way to get the original template source from Twig_Template