All Versions
44
Latest Version
Avg Release Cycle
86 days
Latest Release
1301 days ago

Changelog History
Page 1

  • v3.2.3 Changes

    February 15, 2021
    • ➕ 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 Changes

    July 20, 2020
    • ➕ 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 Changes

    March 17, 2020
    • 🔀 Replace yargs with commander to reduce number of dependencies. Merge of #1253. Thanks [AlynxZhou](@AlynxZhou).
    • ⚡️ Update optional dependency chokidar from ^2.0.0 to ^3.3.0. Merge of #1254. Thanks [eklingen](@eklingen).
    • 🔀 Prevent optional dependency Chokidar from loading when not watching. Merge of #1250. Thanks [eklingen](@eklingen).
  • v3.2.0 Changes

    March 05, 2019
  • v3.1.7 Changes

    January 12, 2019
    • 🛠 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 Changes

    January 12, 2019

    🛠 No changes from 3.1.5; fixed packaging issue in npm

  • v3.1.5 Changes

    January 12, 2019
    • 🛠 Fix engine dependency version for Node versions > 11.1.0; Fixes #1168.
  • v3.1.4 Changes

    January 12, 2019
    • 🛠 Fix engine version for Node v11.1.0
    • 🛠 Fix "Unexpected token" error for U+2028 unicode newline. Fixes #126 and #736
  • v3.1.3 Changes

    May 19, 2018

    ➕ 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).

  • v3.1.2 Changes

    February 24, 2018
    • 🛠 Fix regression to make chokidar an optional dependency again. Fixes #1073
    • 🛠 Fix issue when running npm install nunjucks with the --no-bin-links flag
    • 🛠 Fix regression that broke template caching. Fixes #1074