Skip to content

Commit

Permalink
Add information for when filter filter was added in 2.x branch
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
YetiCGN committed May 21, 2019
1 parent 98ea3b0 commit 3d5db01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/filters/filter.rst
Expand Up @@ -2,7 +2,7 @@
=========

.. versionadded:: 1.41
The ``filter`` filter was added in Twig 1.41.
The ``filter`` filter was added in Twig 1.41 and 2.10, if you're on 2.x.

The ``filter`` filter filters elements of a sequence or a mapping using an arrow
function. The arrow function receives the value of the sequence or mapping:
Expand Down

0 comments on commit 3d5db01

Please sign in to comment.