A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
Full Changelog: https://github.com/mozilla/nunjucks/compare/v3.2.3...v3.2.4
sort
filter; respect throwOnUndefined
if sort attribute is undefined.base
arg to int
filter.chokidar
to peerDependencies
and mark it optional
in peerDependenciesMeta
.select
and reject
filters. Merge of #1278 and #1279; fixes #282. Thanks ogonkov!TypeError: name.replace is not a function
. Fixes #1295.groupby
filter; respect throwOnUndefined
option, if the groupby attribute is undefined. Merge of #1276; fixes #1198. Thanks ogonkov!indent
filter no longer appends an additional newline. Fixes #1231.NodeResolveLoader
, a Loader that loads templates using node's require.resolve
. Fixes #1175.Environment
instances, to allow runtime dependency tracking. Fixes #1153.No changes from 3.1.5; fixed packaging issue in npm
Add forceescape
filter. Fixes #782
Fix regression that prevented template errors from reporting line and column number. Fixes #1087 and #1095.
Fix "Invalid type: Is" error for {% if value is defined %}
. Fixes #1110
Formally drop support for node v4 (the upgrade to babel 7 in v3.1.0 made the build process incompatible with node < 6.9.0).