This PR was merged into the 3.x branch.
Discussion
----------
Remove the deprecated filter tag
Commits
-------
d475a92c removed the deprecated filter tag
This PR was merged into the 2.x branch.
Discussion
----------
Deprecate the filter tag in favor of the new apply tag
Commits
-------
776e32bc deprecated the filter tag
This PR was merged into the 1.x branch.
Discussion
----------
Add the apply tag
The `apply` tag replaces the `filter` tag to be able to fix#2929 without a BC break. The two tags do the same thing except that the `apply` tag does not create a new scope.
Commits
-------
619bc12f added the apply tag
This PR was merged into the 3.x branch.
Discussion
----------
Remove FilesystemLoader::findTemplate() false return value
Commits
-------
fc5d4e7b removed obsolete feature
This PR was merged into the 1.x branch.
Discussion
----------
Typo in TemplateWrapper::getTemplateName() method name
Commits
-------
c9a1cb02 Update TemplateWrapper.php
This PR was merged into the 3.x branch.
Discussion
----------
Refactor the with node to avoid leaking the parent scope to the template
This is a small BC break for anyone relying on the fact that the `_parent` variable could be used to access (and replace) the parent scope. See https://github.com/twigphp/Twig/pull/2246#discussion_r93816236
Commits
-------
8e63f6ef Refactor the with node to avoid leaking the parent scope to the template
This PR was merged into the 1.x branch.
Discussion
----------
Allow Twig\Loader\FilesystemLoader::findTemplate() to return "null" instead of "false" (same meaning)
That will allow to type hint properly in Twig 3.0.
Commits
-------
5138cfd2 allowed Twig\Loader\FilesystemLoader::findTemplate() to return "null" instead of "false" (same meaning)
This PR was merged into the 3.x branch.
Discussion
----------
Make Template::getSourceContext() abstract
As the implementation is always provided by ModuleNode.
Commits
-------
b3498de4 made Template::getSourceContext() abstract
This PR was merged into the 3.x branch.
Discussion
----------
Change false to null to allow for type hinting
Commits
-------
75333805 changed false to null to allow for type hinting
This PR was squashed before being merged into the 3.x branch (closes#2968).
Discussion
----------
Various removals
Each commit is a "simple" removal of an obsolete feature.
Commits
-------
802646aa removed Template::__toString()
02767df5 removed block definition nested in non-capturing nodes
2fa26d6f removed Parser::isReservedMacroName()
12972d00 removed obsolete OPTIMIZE_VAR_ACCESS const
5b1aad86 removed remaining code supporting PSR-0 class names
7fb5fb44 simplified code
85fc1eff removed the possibility to pass a Template to Environment::load()