Twig v3.0.0-BETA1 Release Notes
Release Date: 2019-11-11 // over 4 years ago-
- removed the "if" condition support on the "for" tag
- made the in, <, >, <=, >=, ==, and != operators more strict when comparing strings and integers/floats
- removed the "filter" tag
- added type hints everywhere
- changed Environment::resolveTemplate() to always return a TemplateWrapper instance
- removed Template::__toString()
- removed Parser::isReservedMacroName()
- removed SanboxedPrintNode
- removed Node::setTemplateName()
- made classes maked as "@final" final
- removed InitRuntimeInterface, ExistsLoaderInterface, and SourceContextLoaderInterface
- removed the "spaceless" tag
- removed Twig\Environment::getBaseTemplateClass() and Twig\Environment::setBaseTemplateClass()
- removed the "base_template_class" option on Twig\Environment
- bumped minimum PHP version to 7.2
- removed PSR-0 classes