nunjucks breaking changes
nunjucks 3.0.0 (November 5, 2016) is its newest release with breaking changes, 3 of them. The first: Macros can no longer see or affect their calling scope in nunjucks 3.0.0. Every breaking API change we have recorded in nunjucks on npm: 6 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.2.4, released April 13, 2023.
Packages on npm run on Node.js. Node.js end of life dates.
nunjucks 3.0.0 breaking changes
- Behavior changed
Macros are isolated from the scope that calls them. Templates that relied on macros reading or setting variables in the caller must pass those values in explicitly. github.com - Behavior changed
Variables set inside blocks no longer leak out of the block, base templates cannot see vars set in templates that inherit them, and super() cannot set vars in its calling scope. Check templates that rely on these leaks. github.com - Behavior changed
Setting a variable to null (none) is now kept instead of falling back to the frame stack or context. Templates relying on the old fallback may render differently. github.com
nunjucks 2.0.0 breaking changes
- Behavior changed
default
The default filter now returns false-y values like false and null unchanged; pass true as a third argument to keep the old loose behavior. github.com - Default changed
autoescape
Templates escape output by default; pass { autoescape: false } in the options to turn it off. github.com - Default changed
watch
The file watcher no longer starts automatically; pass { watch: true } to start it. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.