---
title: "github.com/huggingface/swift-jinja 3.0.0 Breaking Changes"
description: "What each github.com/huggingface/swift-jinja release removed, renamed or changed: 24 breaking changes in 1 version on Swift Package Index, each with its source."
canonical_url: https://since.dev/packages/swift/github.com/huggingface/swift-jinja
last_updated: 2026-12-04
---

# 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

Latest version `3.3.0`, released December 5, 2026. [Source repository](https://github.com/huggingface/swift-jinja)

## github.com/huggingface/swift-jinja 3.0.0 breaking changes

github.com/huggingface/swift-jinja 3.0.0, released October 27, 2026: 24 breaking changes.

- **Removed** `Environment.lstripBlocks`  

This option had no effect and is removed; configure block stripping through Template.Options instead. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Environment.trimBlocks`  

This option had no effect and is removed; configure block trimming through Template.Options instead. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Expression`  

Expression is now internal; users who relied on it must open an issue or stop using it. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Interpreter`  

Interpreter is now internal; users who relied on it must open an issue or stop using it. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Lexer`  

Lexer is now internal; users who relied on it must open an issue or stop using it. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Macro.body`  

Macro's body property is now internal and no longer accessible to users. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Macro.defaults`  

Macro's defaults property is now internal and no longer accessible to users. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Macro.init`  

Macro's initializer is now internal and no longer callable by users. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Node`  

Node is now internal; users who relied on it must open an issue or stop using it. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Parser`  

Parser is now internal; users who relied on it must open an issue or stop using it. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `PropertyMembers`  

PropertyMembers is now internal; users who relied on it must open an issue or stop using it. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Statement`  

Statement is now internal; users who relied on it must open an issue or stop using it. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Removed** `Token`  

Token is now internal; users who relied on it must open an issue or stop using it. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **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](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **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](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Behavior changed**  

Templates using adjacent expressions, chained tests or number forms like 1e3 and 0x1F must be rewritten. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Behavior changed**  

In for loops with an if filter, loop variables and the else block now use the filtered items. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Behavior changed**  

Whitespace control markers remove the same whitespace as Jinja2, so output may differ from earlier versions. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **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](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Behavior changed** `Environment`  

Nested macro calls deeper than 16 now throw an error unless maximumCallDepth is raised on Environment. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Behavior changed** `render`  

Variables no longer carry over between renders, and context variables now hide built-in globals with the same name. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Behavior changed** `slice`  

The slice filter now distributes and fills items the Jinja2 way, changing output for existing templates. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Behavior changed** `Value.description`  

Value.description now prints booleans, none and quoted strings the Python way, matching template output. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)
- **Default changed** `Template.Options`  

The final newline of a template is stripped unless keepTrailingNewline is set in Template.Options. [github.com](https://github.com/huggingface/swift-jinja/releases/tag/3.0.0)

## Related packages

- [github.com/huggingface/swift-huggingface](https://since.dev/packages/swift/github.com/huggingface/swift-huggingface.md)
- [github.com/huggingface/swift-transformers](https://since.dev/packages/swift/github.com/huggingface/swift-transformers.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
