All Versions
217
Latest Version
Avg Release Cycle
44 days
Latest Release
1446 days ago
Changelog History
Page 8
Changelog History
Page 8
-
v2.3.2 Changes
April 20, 2017- fixed edge case in the method cache for Twig attributes
-
v2.3.1 Changes
April 18, 2017- fixed the empty() test
-
v2.3.0 Changes
March 22, 2017- fixed a race condition handling when writing cache files
- "length" filter now returns string length when applied to an object that does not implement \Countable but provides __toString()
- "empty" test will now consider the return value of the __toString() method for objects implement __toString() but not \Countable
- fixed JS escaping for unicode characters with higher code points
- added error message when calling
parent()in a block that doesn't exist in the parent template
-
v2.2.0 Changes
February 26, 2017- added a PSR-11 compatible runtime loader
- added
sideargument totrimto allow left or right trimming only.
-
v2.1.0 Changes
January 11, 2017- fixed twig_get_attribute()
- added Twig_NodeCaptureInterface for nodes that capture all output
-
v2.0.0 Changes
January 05, 2017- removed the C extension
- moved Twig_Environment::getAttribute() to twig_get_attribute()
- removed Twig_Environment::getLexer(), Twig_Environment::getParser(), Twig_Environment::getCompiler()
- removed Twig_Compiler::getFilename()
- added hasser support in Twig_Template::getAttribute()
- sped up the json_encode filter
- removed reserved macro names; all names can be used as macro
- removed Twig_Template::getEnvironment()
- changed _self variable to return the current template name
- made the loader a required argument of Twig_Environment constructor
- removed Twig_Environment::clearTemplateCache()
- removed Twig_Autoloader (use Composer instead)
- removed
trueas an equivalent tohtmlfor the auto-escaping strategy - removed pre-1.8 autoescape tag syntax
- dropped support for PHP 5.x
- removed the ability to register a global variable after the runtime or the extensions have been initialized
- improved the performance of the filesystem loader
- removed features that were deprecated in 1.x
-
v1.44.6 Changes
- n/a
-
v1.44.5 Changes
September 17, 2021- Improve compatibility with PHP 8.1
- Explicitly specify the encoding for mb_ord in JS escaper
-
v1.44.4 Changes
May 16, 2021- Revert "Throw a proper exception when a template name is an absolute path (as it has never been supported)"
-
v1.44.3 Changes
May 12, 2021- Fix PHP 8.1 compatibility
- Throw a proper exception when a template name is an absolute path (as it has never been supported)