2024-05-09 101次浏览

Yii 2 的Twig 扩展2.5.0版本发布了。

This version adds support for Twig 3.9. Note that there were many internal changes that might affect and break codebases using twig:

Internal functions (including twig_get_attribute) has been moved and renamed.
The internal working of twig does not store template state in the output buffer anymore.
This means if a custom twig function reads and modifies the output buffer, it might not work as expected.

详细信息请参阅变更日志