Twig 3.31.0 released
The Twig template engine has reached version 3.31.0. The release adds a collate() function in twig/intl-extra, contributed by Fabien Potencier in #4997, that sorts strings in a locale's alphabetical order rather than byte by byte, and it plugs into the sort filter's arrow function. Markup values can now be marked safe for only some escaping strategies, and attribute-based extensions are easier to write and load lazily. The compiled template cache is also now reproducible across directories.





