nunjucks v3.2.3 Release Notes

Release Date: 2021-02-15 // 8 months ago
    • ➕ Add support for nested attributes on sort filter; respect throwOnUndefined if sort attribute is undefined.
    • ➕ Add base arg to int filter.
    • 🚚 Move chokidar to peerDependencies and mark it optional in peerDependenciesMeta.
    • 🛠 Fix prototype pollution issue for template variables. Merge of #1330; fixes #1331. Thanks ChenKS12138!

Previous changes from v3.2.2

    • ➕ Add select and reject filters. Merge of #1278 and #1279; fixes #282. Thanks ogonkov!
    • 🛠 Fix precompile binary script TypeError: name.replace is not a function. Fixes #1295.
    • ➕ Add support for nested attributes on groupby filter; respect throwOnUndefined option, if the groupby attribute is undefined. Merge of #1276; fixes #1198. Thanks ogonkov!
    • 🛠 Fix bug that prevented errors in included templates from being raised when rendering templates synchronously. Fixes #1272.
    • 🛠 The indent filter no longer appends an additional newline. Fixes #1231.