feat: Support filters in if expressions

Closes #90
This commit is contained in:
Kyle Fuller
2017-01-05 20:56:09 +00:00
parent 39517b7514
commit 99efba56e9
5 changed files with 42 additions and 23 deletions

View File

@@ -59,6 +59,9 @@
- `Environment` allows you to provide a custom `Template` subclass, allowing
new template to use a specific subclass.
- If expressions may now contain filters on variables. For example
`{% if name|uppercase == "TEST" %}` is now supported.
### Deprecations
- `Template` initialisers have been deprecated in favour of using a template