This also fixes the logic detecting reserved macro names to account for
the fact that they are compiled prefixed with get() since a very long
time and the logic preventing conflicts was broken.
This PR was merged into the 1.x branch.
Discussion
----------
deprecated Twig_Template::getEnvironment()
Commits
-------
c9501b8 deprecated Twig_Template::getEnvironment()
This PR was merged into the 1.x branch.
Discussion
----------
deprecated _self
It never makes sense to use the `_self` variable in a template except for the special `from` and `import` usage. So, I propose to deprecate it in 2.x and remove the unexcepted possible usages in 3.0.
Commits
-------
5514c8e deprecated _self
This PR was merged into the 1.x branch.
Discussion
----------
added a base node visitor to make compat between 1.x and 2.x possible
As suggested in #1644, that allows better compat between 1.x and 2.x
Commits
-------
881fb63 added a base node visitor to make compat between 1.x and 2.x possible
3f521d4 bumped to 1.20
This PR was merged into the 1.x branch.
Discussion
----------
Fixed error guessing in blocks in a child template
Commits
-------
cfa1404 Fixed error guessing in blocks in a child template
This PR was merged into the 1.x branch.
Discussion
----------
Added support for unconsumed macro arguments
Fixes#1159 and supplements #1699
Commits
-------
7f00cb9 Added support for unconsumed macro arguments
This PR was submitted for the master branch but it was merged into the 1.x branch instead (closes#1666).
Discussion
----------
add ignore_missing agrument to source function
This basically works the same way as `ignore_missing` on the `include` function/tag.
Commits
-------
afa9358 add ignore_missing agrument to source function
This PR was merged into the 1.x branch.
Discussion
----------
fixed sandbox disabling when using the include function
closes#1668
Commits
-------
af72894 fixed sandbox disabling when using the include function
This PR was submitted for the master branch but it was merged into the 1.x branch instead (closes#1720).
Discussion
----------
Example about how to rename several blocks
It was unclear to me how to rename more than 1 imported block. I had to look into the source code to find that, so I add it to the documentation.
Commits
-------
8af1355 Example about how to rename several blocks
This PR was merged into the 1.x branch.
Discussion
----------
fix batch filter with zero items
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
also added a test for preserving keys behavior
Commits
-------
8d6be28 fix batch filter with zero items
This PR was merged into the 1.x branch.
Discussion
----------
Fix PHP_FE_END value
See explanation on rev c41d305
Commits
-------
a1eee07 Fix PHP_FE_END value