Version 2.5.0 of Twig extension for Yii 2 was released.
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.
See the CHANGELOG for details.