This PR was merged into the 1.x branch.
Discussion
----------
Fix BC break on Environment::resolveTemplate()
closes#2900
Commits
-------
b24d5256 fixed BC break on Environment::resolveTemplate()
This PR was merged into the 1.x branch.
Discussion
----------
Fixed spaceless filter
As now the `spaceless` tag is deprecated, I tried to replace it by the new `spaceless` filter instead but it broke my application. Actually there is a difference between the tag and the filter. Spaceless tag trim also whistespace (or line feed).
I propose to do the same thing on the new filter.
Commits
-------
3412d1a5 Fixed spaceless filter
* 1.x:
fixed the autoloader to take into account namespaced classes
added some tests for the set tag
bumped version to 1.38.3-DEV
prepared the 1.38.2 release
This PR was merged into the 1.x branch.
Discussion
----------
Fix the autoloader to take into account namespaced classes
fixes#2895
Commits
-------
0c1d18b9 fixed the autoloader to take into account namespaced classes
This PR was merged into the 1.x branch.
Discussion
----------
Add TemplateWrapper::getTemplateName()
closes#2892
Commits
-------
861066e5 added TemplateWrapper::getTemplateName()
This PR was merged into the 1.x branch.
Discussion
----------
Force loading class aliases used in typehints
Fixes#2886
Commits
-------
65c05591 force loading class aliases used in typehints
This PR was merged into the 1.x branch.
Discussion
----------
Fix security issue in the sandbox
Commits
-------
eac54229 fixed security issue in the sandbox
* 1.x:
fixed batch filter clobbers array keys when fill parameter is used
added preserveKeys support for the batch filter
removed dead code
fixed "embed" support when used from "template_from_string"
fixed CS
This PR was squashed before being merged into the 1.x branch (closes#2884).
Discussion
----------
Fix "batch filter clobbers array keys when fill parameter is used "
closes#2568
Commits
-------
750cb237 fixed batch filter clobbers array keys when fill parameter is used
ede9a604 added preserveKeys support for the batch filter
This PR was merged into the 1.x branch.
Discussion
----------
Fix "embed" support when used from "template_from_string"
closes#2761
Commits
-------
92a63e0c fixed "embed" support when used from "template_from_string"
This PR was squashed before being merged into the 2.x branch (closes#2881).
Discussion
----------
Environment class cleanup
Commits
-------
b5da9b5a deprecated passing a Twig\Template to load()/resolveTemplate()
a4476dfc updated docs
d9b91a25 added the possibility to pass a TemplateWrapper to Twig\Environment::load()
714360d6 marked Twig\Environment::getTemplateClass() as internal