github.com/huggingface/swift-jinja breaking changes
github.com/huggingface/swift-jinja 3.0.0 (October 27, 2026) is its newest release with breaking changes, 24 of them. The first: Removed Environment.lstripBlocks. Every breaking API change we have recorded in github.com/huggingface/swift-jinja on Swift Package Index: 24 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.3.0, released December 5, 2026. Source repository
github.com/huggingface/swift-jinja 3.0.0 breaking changes
- Removed
Environment.lstripBlocks
This option had no effect and is removed; configure block stripping through Template.Options instead. github.com - Removed
Environment.trimBlocks
This option had no effect and is removed; configure block trimming through Template.Options instead. github.com - Removed
Expression
Expression is now internal; users who relied on it must open an issue or stop using it. github.com - Removed
Interpreter
Interpreter is now internal; users who relied on it must open an issue or stop using it. github.com - Removed
Lexer
Lexer is now internal; users who relied on it must open an issue or stop using it. github.com - Removed
Macro.body
Macro's body property is now internal and no longer accessible to users. github.com - Removed
Macro.defaults
Macro's defaults property is now internal and no longer accessible to users. github.com - Removed
Macro.init
Macro's initializer is now internal and no longer callable by users. github.com - Removed
Node
Node is now internal; users who relied on it must open an issue or stop using it. github.com - Removed
Parser
Parser is now internal; users who relied on it must open an issue or stop using it. github.com - Removed
PropertyMembers
PropertyMembers is now internal; users who relied on it must open an issue or stop using it. github.com - Removed
Statement
Statement is now internal; users who relied on it must open an issue or stop using it. github.com - Removed
Token
Token is now internal; users who relied on it must open an issue or stop using it. github.com - Behavior changed
Looping over an undefined value now runs zero times, and unpacking an item that does not fit the loop variables throws an error. github.com - Behavior changed
Filters and tests now bind tighter than binary operators and unary minus, changing results. Adjacent expressions, chained tests and some number forms are now syntax errors. github.com - Behavior changed
Templates using adjacent expressions, chained tests or number forms like 1e3 and 0x1F must be rewritten. github.com - Behavior changed
In for loops with an if filter, loop variables and the else block now use the filtered items. github.com - Behavior changed
Whitespace control markers remove the same whitespace as Jinja2, so output may differ from earlier versions. github.com - Behavior changed
true, false and none now print as True, False and None, and strings inside lists and dicts print quoted. Check templates that rely on the old output. github.com - Behavior changed
Environment
Nested macro calls deeper than 16 now throw an error unless maximumCallDepth is raised on Environment. github.com - Behavior changed
render
Variables no longer carry over between renders, and context variables now hide built-in globals with the same name. github.com - Behavior changed
slice
The slice filter now distributes and fills items the Jinja2 way, changing output for existing templates. github.com - Behavior changed
Value.description
Value.description now prints booleans, none and quoted strings the Python way, matching template output. github.com - Default changed
Template.Options
The final newline of a template is stripped unless keepTrailingNewline is set in Template.Options. github.com
Related packages
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.