mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-09 13:25:41 +00:00
f3bacf3877
* 3.x: Reuse the template wrapper of an already loaded template Stop the escaping safe analysis from retaining every analyzed node Allow to call TemplateWrapper::unwrap() without arguments Expose the escaping strategy a template was compiled with Improve macro call performance Fix IntlExtension inheriting values derived by ICU from a date formatter prototype Fix array access with a Stringable key on subclasses of ArrayObject and ArrayIterator Ignore the PHPUnit 10+ cache directory Cover and document the matches operator throwing on an invalid UTF-8 subject Report a clear error when a string cannot be split into characters Deprecate cloning a Twig environment Report the macro call parentheses deprecation once per call site and name the macro Bump version Prepare the 3.29.0 release Update CHANGELOG # Conflicts: # .gitignore # CHANGELOG # doc/deprecated.rst # src/Environment.php # src/NodeVisitor/CorrectnessNodeVisitor.php # src/NodeVisitor/SafeAnalysisNodeVisitor.php # src/Template.php # tests/Fixtures/macros/call_without_parentheses.legacy.test # tests/ParserTest.php # tests/TemplateTest.php # tests/TwigMacroTest.php
Twig HTML Extension
This package is a Twig extension that provides the following:
-
data_urifilter: generates a URL using the data scheme as defined in RFC 2397; -
html_classesfunction: returns a string by conditionally joining class names together. -
html_cvafunction: returns aCvaobject to handle class variants.