Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to #2568171: Upgrade to Twig 1.22 and implement our own cache class
Problem/Motivation
Made major due to the Fixes for parsing for PHP7
https://github.com/twigphp/Twig/commit/24d9266d0f1c2b4426ad8f931be30718c...
+* 1.24.0 (2016-01-25)
+
+ * adding support for the ?? operator
+ * fixed the defined test when used on a constant, a map, or a sequence
+ * undeprecated _self (should only be used to get the template name, not the template instance)
+ * fixed parsing on PHP7
+
+* 1.23.3 (2016-01-11)
+
+ * fixed typo
+
+* 1.23.2 (2015-01-11)
+
+ * added versions in deprecated messages
+ * made file cache tolerant for trailing (back)slashes on directory configuration
+ * deprecated unused Twig_Node_Expression_ExtensionReference class
+
+* 1.23.1 (2015-11-05)
Proposed resolution
Upgrade to 1.24
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#2 | upgrade_to_twig_1_24-2721351-2.patch | 1.55 KB | joelpittet |
Comments
Comment #2
joelpittetComment #3
star-szrComment #4
alexpottCommitted 45d0a03 and pushed to 8.2.x. Thanks!
Comment #6
jibranShouldn't this qualify this issue for 8.1.x?
Comment #7
star-szrI looked at the commit linked in the issue summary and it seems like an edge case to me.
Comment #8
alexpott@jibran they've bumped their minor version so I think we should only bump it in a minor too