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.
Problem/Motivation
Twig 1.25.0 is out. Help contrib - more methods marked deprecated or internal
- deprecated the ability to store non Node instances in Node::$nodes
- deprecated Twig_Environment::getLexer(), Twig_Environment::getParser(), Twig_Environment::getCompiler()
- deprecated Twig_Compiler::getFilename()
- marked the following methods as being internals on Twig_Environment:
getFunctions(), getFilters(), getTests(), getFunction(), getFilter(), getTest(),
getTokenParsers(), getTags(), getNodeVisitors(), getUnaryOperators(), getBinaryOperators(),
getFunctions(), getFilters(), getGlobals(), initGlobals(), initExtensions(), and initExtension()
Comment | File | Size | Author |
---|---|---|---|
update_twig_to_1_25.patch | 1.55 KB | slasher13 | |
Comments
Comment #2
joelpittetThanks, it's nice not having vendor in the repo:)
Comment #3
joelpittetComment #5
catchCommitted/pushed to 8.3.x, thanks!
Comment #6
catchWe should discuss whether to cherry pick this back to the release candidate.
Comment #7
catchThat didn't happen. Leaving fixed against 8.3.x
Comment #9
xjm