Breaking change

Since version 1.2 the filtering API has been modified. Now the methods addFilter(), removeFilter() and getFilter() are deprecated in favor of a new extended API.
Check the Migration article for details.