Skip to content

Releases: mozilla/nunjucks

v3.2.4

19 Apr 13:47
86a77f4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.3...v3.2.4

v3.2.3

02 Jun 19:58
fd50090
Compare
Choose a tag to compare
  • 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!

v3.2.2

20 Jul 04:37
c7337e7
Compare
Choose a tag to compare
  • 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.

v3.2.1

13 Jul 04:18
53d1223
Compare
Choose a tag to compare
  • Replace yargs with commander to reduce number of dependencies. Merge of #1253. Thanks AlynxZhou.
  • Update optional dependency chokidar from ^2.0.0 to ^3.3.0. Merge of #1254. Thanks eklingen.
  • Prevent optional dependency Chokidar from loading when not watching. Merge of #1250. Thanks eklingen.

v3.2.0

05 Mar 17:31
ff5571c
Compare
Choose a tag to compare

v3.1.7

12 Jan 18:48
1370361
Compare
Choose a tag to compare
  • Fix bug where exceptions were silently swallowed with synchronous render. Fixes #678, #1116, #1127, and #1164

  • Removes deprecated postinstall-build package in favor of npm prepare. Merge of #1172. Fixes #1167.

    • Note: this means that npm@5 or later is required to install nunjucks directly from github.

v3.1.6

12 Jan 18:22
692afec
Compare
Choose a tag to compare

No changes from 3.1.5; fixed packaging issue in npm

v3.1.5

12 Jan 18:21
6a3872e
Compare
Choose a tag to compare
  • Fix engine dependency version for Node versions > 11.1.0; Fixes #1168.

v3.1.4

12 Jan 18:20
11262e5
Compare
Choose a tag to compare
  • Fix engine version for Node v11.1.0
  • Fix "Unexpected token" error for U+2028 unicode newline. Fixes #126 and #736

v3.1.3

19 May 15:50
9a0ce36
Compare
Choose a tag to compare
  • 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).