nunjucks v2.2.0 Release Notes
Release Date: 2015-11-23 // over 8 years ago-
- โ Add
striptags
filter. Thanks Anthony Giniers. Merge of #589. - ๐ Allow compiled templates to be imported, included and extended. Thanks Luis Gutierrez-Sheris. Merge of #581.
- ๐ Fix issue with different nunjucks environments sharing same globals. Each environment is now independent. Thanks Paul Pechin. Merge of #574.
- โ Add negative steps support for range function. Thanks Nikita Mostovoy. Merge of #575.
- โ Remove deprecation warning when using the
default
filter without specifying a third argument. Merge of #567. - โ Add support for chaining of addGlobal, addFilter, etc. Thanks Rob Graeber. Merge of #537
- ๐ Fix error propagation. Thanks Tom Delmas. Merge of #534.
- ๐ trimBlocks now also trims windows style line endings. Thanks Magnus Tovslid. Merge of #548
- ๐
include
now supports an option to suppress errors if the template does not exist. Thanks Mathias Nestler. Merge of #559
- โ Add