The current "versionadded" info can be confusing to developers, if they assume 2.9 > 1.41 and don't know that 1.x and 2.x branches are still developed simultaneously.
... | ... |
@@ -2,7 +2,7 @@ |
2 | 2 |
========= |
3 | 3 |
|
4 | 4 |
.. versionadded:: 1.41 |
5 |
- The ``filter`` filter was added in Twig 1.41. |
|
5 |
+ The ``filter`` filter was added in Twig 1.41 and 2.10, if you're on 2.x. |
|
6 | 6 |
|
7 | 7 |
The ``filter`` filter filters elements of a sequence or a mapping using an arrow |
8 | 8 |
function. The arrow function receives the value of the sequence or mapping: |