This PR was merged into the 2.x branch.
Discussion
----------
Add a better error message for unknown macros
Commits
-------
1153534a added a better error message for unknown macros
This PR was merged into the 1.x branch.
Discussion
----------
Fix the "filter" filter when the argument is \Traversable but does not implement \Iterator
close#3015, closes#3016
Commits
-------
c2f685e1 fixed the "filter" filter when the argument is \Traversable but does not implement \Iterator
This PR was merged into the 2.x branch.
Discussion
----------
Add support for macros on "is defined" tests
closes#1313
Commits
-------
9fe3213d added support for macros on "is defined" tests
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes#3006).
Discussion
----------
update docs for for loop with conditional to reference filter filters
I don't know if there needs to be the same emphasis for this case as there's no special syntax for this any more? This PR assumes the same emphasis.
Commits
-------
b905e023 update docs for for loop with conditional to reference filter filters
This PR was merged into the 2.x branch.
Discussion
----------
Macros imported "globally" in a template are now available in macros without re-importing them
closes#1790, closes#1052, closes#2414, closes#2442
Commits
-------
e1381640 macros imported "globally" in a template are now available in macros without re-importing them
This PR was merged into the 1.x branch.
Discussion
----------
Fix a PHP fatal error when calling a macro imported in the template in a nested block
Commits
-------
11353ce3 fixed a PHP fatal error when calling a macro imported in the template in a nested block
This PR was merged into the 1.x branch.
Discussion
----------
Tweak the error message when using extends in a block/macro
Commits
-------
70c1b3a2 tweaked the error message when using extends in a block/macro
This PR was merged into the 1.x branch.
Discussion
----------
Fix a PHP fatal error when calling a macro, imported in the template, in another macro
The current code iterates over all imported functions (traversing all the scopes). So, the macro was found at compilation time, but didn't work at runtime, leading to a PHP fatal error. Now, you get a proper exception at compilation time.
Commits
-------
ba9b9681 fixed a PHP fatal error when calling a macro, imported in the template, in another macro
This PR was merged into the 1.x branch.
Discussion
----------
Fix wrong error message on "import" and "from"
Commits
-------
118462c1 fixed wrong error message on "import" and "from"