All Versions
Latest Version
Avg Release Cycle
51 days
Latest Release
54 days ago

Changelog History
Page 6

  • v2.5.0 Changes

    July 13, 2018
    • deprecated using the spaceless tag at the root level of a child template (noop anyway)
    • deprecated the possibility to define a block in a non-capturing block in a child template
    • added the Symfony ctype polyfill as a dependency
    • fixed reporting the proper location for errors compiled in templates
    • fixed the error handling for the optimized extension-based function calls
    • ensured that syntax errors are triggered with the right line
    • "js" filter now produces valid JSON
  • v2.4.8 Changes

    April 02, 2018
    • fixed a regression when using the "default" filter or the "defined" test on non-existing arrays
  • v2.4.7 Changes

    March 20, 2018
    • optimized runtime performance
    • optimized parser performance by inlining the constant values
    • fixed block names unicity
    • fixed counting children of SimpleXMLElement objects
    • added missing else clause to avoid infinite loops
    • fixed .. (range operator) in sandbox policy
  • v2.4.6 Changes

    March 03, 2018
    • fixed a regression in the way the profiler is registered in templates
  • v2.4.5 Changes

    March 02, 2018
    • optimized the performance of calling an extension method at runtime
    • optimized the performance of the dot operator for array and method calls
    • added an exception when using "===" instead of "same as"
    • fixed possible array to string conversion concealing actual error
    • made variable names deterministic in compiled templates
    • fixed length filter when passing an instance of IteratorAggregate
    • fixed Environment::resolveTemplate to accept instances of TemplateWrapper
  • v2.4.4 Changes

    September 27, 2017
    • added Twig_Profiler_Profile::reset()
    • fixed use TokenParser to return an empty Node
    • added RuntimeExtensionInterface
    • added circular reference detection when loading templates
    • added support for runtime loaders in IntegrationTestCase
    • fixed deprecation when using Twig_Profiler_Dumper_Html
    • removed @final from Twig_Profiler_Dumper_Text
  • v2.4.3 Changes

    June 07, 2017
    • fixed namespaces introduction
  • v2.4.2 Changes

    June 05, 2017
    • fixed namespaces introduction
  • v2.4.1 Changes

    June 05, 2017
    • fixed namespaces introduction
  • v2.4.0 Changes

    June 05, 2017
    • added support for PHPUnit 6 when testing extensions
    • fixed PHP 7.2 compatibility
    • fixed template name generation in Twig_Environment::createTemplate()
    • removed final tag on Twig_TokenParser_Include
    • dropped HHVM support
    • added namespaced aliases for all (non-deprecated) classes and interfaces
    • marked Twig_Filter, Twig_Function, Twig_Test, Twig_Node_Module and Twig_Profiler_Profile as final via the @final annotation