---
title: "djlint 1.54.0 Breaking Changes on PyPI | Since.dev"
description: "What each djlint release removed, renamed or changed: 557 breaking changes in 32 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/djlint
last_updated: 2026-12-04
---

# djlint breaking changes

djlint 1.54.0 (November 18, 2026) is its newest release with breaking changes. The first: npm package now bundles its own Python instead of running pip on system python3 in djlint 1.54.0. Every breaking API change we have recorded in djlint on PyPI: 557 breaking changes in 32 versions. Below, its 32 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.54.5`, released December 3, 2026. [Source repository](https://github.com/djlint/djLint)

Its 1.46.5 release drops [Python 3.10](https://since.dev/calendar/python/3.10.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.39.3](#v-1-39-3) to [1.54.0](#v-1-54-0): 554 breaking changes in 31 versions.

## djlint 1.54.0 breaking changes

djlint 1.54.0, released November 18, 2026: 1 breaking change.

- **Behavior changed**  

The npm package no longer installs djLint with pip on whatever python3 it finds. It ships its own Python and djLint and needs Node.js 16.9 or newer, so code relying on the system Python environment may behave differently. [github.com](https://github.com/djlint/djLint/releases/tag/v1.54.0)

## djlint 1.53.1 breaking changes

djlint 1.53.1, released November 17, 2026: 2 breaking changes.

- **Renamed** `djlint.helpers.ignored_block_spans`  

Use djlint.helpers.lint_ignored_block_spans instead. [pypi.org](https://pypi.org/project/djlint/1.53.1/)
- **Renamed** `djlint.rules.H042.ignored_block_spans`  

Use H042.lint_ignored_block_spans instead. [pypi.org](https://pypi.org/project/djlint/1.53.1/)

## djlint 1.53.0 breaking changes

djlint 1.53.0, released November 17, 2026: 2 breaking changes.

- **Behavior changed** `exclude`  

Each item of an exclude or extend_exclude list in the config file is now a single regex. A comma inside an item no longer needs escaping, and an unclosed brace no longer joins the next item. [github.com](https://github.com/djlint/djLint/releases/tag/v1.53.0)
- **Signature changed** `djlint.settings.build_exclude`  

Was def build_exclude(exclude: str) -> str; now def build_exclude(exclude: str | list\[Any\]) -> list\[str\]. [pypi.org](https://pypi.org/project/djlint/1.53.0/)

## djlint 1.52.2 breaking changes

djlint 1.52.2, released November 17, 2026: 1 breaking change.

- **Behavior changed** `exclude`  

A comma inside an exclude or extend_exclude regex now stays part of that regex instead of splitting it. A comma meant literally must be written as \\, in those settings. [github.com](https://github.com/djlint/djLint/releases/tag/v1.52.2)

## djlint 1.52.0 breaking changes

djlint 1.52.0, released November 17, 2026: 5 breaking changes.

- **Removed** `djlint.settings.load_editorconfig`  

djlint.settings.load_editorconfig was removed in djlint 1.52.0 [pypi.org](https://pypi.org/project/djlint/1.52.0/)
- **Behavior changed**  

A pyproject.toml without \[tool.djlint\] settings no longer ends the search for configuration, so a package in a monorepo may now pick up settings from the repository root. [github.com](https://github.com/djlint/djLint/releases/tag/v1.52.0)
- **Behavior changed**  

Values such as "yes", "on" and "1" that 1.51.0 accepted for a switch in a configuration file now produce an error naming the file. Write true or false instead. [github.com](https://github.com/djlint/djLint/releases/tag/v1.52.0)
- **Configuration changed**  

Each file now uses the nearest .editorconfig by its own path, with sections matched by EditorConfig globs, so settings from the project root no longer apply to every file. [github.com](https://github.com/djlint/djLint/releases/tag/v1.52.0)
- **Signature changed** `djlint.settings.load_project_settings`  

Was def load_project_settings(src: Path, config: Path | None, \*, prefer_configuration: bool = False) -> tuple\[dict\[str, Any\], dict\[str, str\]\]; now def load_project_settings(src: Path, config: Path | None, \*, prefer_configuration: bool =... [pypi.org](https://pypi.org/project/djlint/1.52.0/)

## djlint 1.51.0 breaking changes

djlint 1.51.0, released November 16, 2026: 4 breaking changes.

- **Behavior changed**  

A number setting written as true or with a fractional part, such as indent = true or max_line_length = 100.5, is now an error instead of becoming 1 or 100. Change such values to whole numbers. [github.com](https://github.com/djlint/djLint/releases/tag/v1.51.0)
- **Signature changed** `djlint.github_output.Config.__init__`  

Was def \_\_init\_\_(self, src: str = '.', \*, ignore: str = '', extension: str = '', indent: int | None = None, quiet: bool = False, profile: str | None = None, require_pragma: bool = False, reformat: bool = False, check: bool = False, lint... [pypi.org](https://pypi.org/project/djlint/1.51.0/)
- **Signature changed** `djlint.settings.Config.__init__`  

Was def \_\_init\_\_(self, src: str = '.', \*, ignore: str = '', extension: str = '', indent: int | None = None, quiet: bool = False, profile: str | None = None, require_pragma: bool = False, reformat: bool = False, check: bool = False, lint... [pypi.org](https://pypi.org/project/djlint/1.51.0/)
- **Signature changed** `djlint.settings.validate_rules`  

Was def validate_rules(rules: Iterable\[\_TMappingStrAny\]) -> Iterator\[\_TMappingStrAny\]; now def validate_rules(rules: Iterable\[\_TMappingStrAny\], warn: Callable\[\[str\], None\] = \_warn_once) -> Iterator\[\_TMappingStrAny\]. [pypi.org](https://pypi.org/project/djlint/1.51.0/)

## Older versions

26 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### djlint 1.50.4 breaking changes

djlint 1.50.4, released November 15, 2026: 2 breaking changes.

- **Behavior changed** `--include`  

Using --include turns on rules that the active profile leaves out, so code relying on those rules staying off will now see extra lint results. Review include settings and profile choices. [github.com](https://github.com/djlint/djLint/releases/tag/v1.50.4)
- **Behavior changed** `--profile`  

With no profile set, the linter now runs the rules of the html profile, including custom rules that have an exclude list, which were previously skipped. Lint results may change. [github.com](https://github.com/djlint/djLint/releases/tag/v1.50.4)

### djlint 1.50.0 breaking changes

djlint 1.50.0, released November 11, 2026: 6 breaking changes.

- **Behavior changed**  

A config file djLint cannot read, or a file named by --configuration, is now a usage error that exits 2. Previously djLint printed a warning and checked templates with defaults, so the run could pass. Fix the config file or the option to... [github.com](https://github.com/djlint/djLint/releases/tag/v1.50.0)
- **Behavior changed**  

An interrupted run, including djlint --lsp, exits 130 as shells expect. Scripts that check for exit code 1 to mean violations found must handle 130 separately. [github.com](https://github.com/djlint/djLint/releases/tag/v1.50.0)

And 4 more in this version.

### djlint 1.49.10 breaking changes

djlint 1.49.10, released November 7, 2026: 2 breaking changes.

- **Removed** `djlint.Config`  

djlint.Config was removed in djlint 1.49.10 [pypi.org](https://pypi.org/project/djlint/1.49.10/)
- **Removed** `djlint.ProcessResult`  

djlint.ProcessResult was removed in djlint 1.49.10 [pypi.org](https://pypi.org/project/djlint/1.49.10/)

### djlint 1.49.9 breaking changes

djlint 1.49.9, released November 3, 2026: 3 breaking changes.

- **Behavior changed**  

Line-separator and form-feed characters in call arguments and non-JSON {% set %} values are now kept as written instead of being turned into line breaks, so formatted strings keep their original content. [github.com](https://github.com/djlint/djLint/releases/tag/v1.49.9)
- **Behavior changed** `H057`  

A video whose only track has an empty kind is no longer treated as having subtitles, so H057 now reports it. Add a proper kind such as subtitles to the track to clear the report. [github.com](https://github.com/djlint/djLint/releases/tag/v1.49.9)

And 1 more in this version.

### djlint 1.49.8 breaking changes

djlint 1.49.8, released November 3, 2026: 1 breaking change.

- **Behavior changed**  

Contents of Twig apply, sandbox and guard blocks and Django ifequal and ifnotequal blocks are now indented like other blocks, so formatted output for existing templates may change. [github.com](https://github.com/djlint/djLint/releases/tag/v1.49.8)

### djlint 1.49.5 breaking changes

djlint 1.49.5, released November 3, 2026: 6 breaking changes.

- **Removed** `djlint.helpers.QUOTED_ATTRIBUTE_VALUE`  

djlint.helpers.QUOTED_ATTRIBUTE_VALUE was removed in djlint 1.49.5 [pypi.org](https://pypi.org/project/djlint/1.49.5/)
- **Removed** `djlint.helpers.TEMPLATE_TAG_WHOLE`  

djlint.helpers.TEMPLATE_TAG_WHOLE was removed in djlint 1.49.5 [pypi.org](https://pypi.org/project/djlint/1.49.5/)

And 4 more in this version.

### djlint 1.49.1 breaking changes

djlint 1.49.1, released November 1, 2026: 2 breaking changes.

- **Signature changed** `djlint.server.is_excluded`  

Was def is_excluded(config: Config, path: str | os.PathLike\[str\]) -> bool; now def is_excluded(config: Config, filepath: Path, root: Path | None = None) -> bool. [pypi.org](https://pypi.org/project/djlint/1.49.1/)
- **Signature changed** `djlint.src.is_excluded`  

Was def is_excluded(config: Config, filepath: Path) -> bool; now def is_excluded(config: Config, filepath: Path, root: Path | None = None) -> bool. [pypi.org](https://pypi.org/project/djlint/1.49.1/)

### djlint 1.48.0 breaking changes

djlint 1.48.0, released October 31, 2026: 4 breaking changes.

- **Signature changed** `djlint.Config.__init__`  

Was def \_\_init\_\_(self, src: str = '.', \*, ignore: str = '', extension: str = '', indent: int | None = None, quiet: bool = False, profile: str | None = None, require_pragma: bool = False, reformat: bool = False, check: bool = False, lint... [pypi.org](https://pypi.org/project/djlint/1.48.0/)
- **Signature changed** `djlint.formatter.attributes.format_attributes`  

Was def format_attributes(config: Config, html: str, token: TagToken) -> str; now def format_attributes(config: Config, html: str, token: TagToken, before_tag: str) -> str. [pypi.org](https://pypi.org/project/djlint/1.48.0/)

And 2 more in this version.

### djlint 1.47.0 breaking changes

djlint 1.47.0, released October 22, 2026: 7 breaking changes.

- **Behavior changed**  

The formatter now drops the spaces H012 reports around an attribute's =, so formatted output changes for markup like class = "a". [github.com](https://github.com/djlint/djLint/releases/tag/v1.47.0)
- **Behavior changed** `H010`  

Mixed-case names such as Width are now reported, so existing lint runs may fail. Framework bindings like :itemID and names like data-ID are no longer reported. [github.com](https://github.com/djlint/djLint/releases/tag/v1.47.0)

And 5 more in this version.

### djlint 1.46.5 breaking changes

djlint 1.46.5, released October 14, 2026: 1 breaking change.

- **Removed**  

The release no longer supports Python 3.10, which has reached end of life. Users on Python 3.10 must stay on djlint 1.46.4 or upgrade Python. [github.com](https://github.com/djlint/djLint/releases/tag/v1.46.5)

### djlint 1.46.0 breaking changes

djlint 1.46.0, released September 7, 2026: 7 breaking changes.

- **Behavior changed** `--check`  

With --check, files that would be reformatted are now reported as findings under a formatting rule, so tools that parse check output may see new entries. [github.com](https://github.com/djlint/djLint/releases/tag/v1.46.0)
- **Signature changed** `djlint.__main__.main`  

Was def main(\*, src: tuple\[str, ...\], extension: str, ignore: str, reformat: bool, indent: int | None, check: bool, stdin_filename: str | None, quiet: bool, profile: str | None, require_pragma: bool, lint: bool, use_gitignore: bool... [pypi.org](https://pypi.org/project/djlint/1.46.0/)

And 5 more in this version.

### djlint 1.45.1 breaking changes

djlint 1.45.1, released September 4, 2026: 1 breaking change.

- **Behavior changed**  

Formatting now also breaks a tag across lines when its attributes push the line past --max-line-length, not only when --max-attribute-length is exceeded. Expect different formatted output for affected templates. [github.com](https://github.com/djlint/djLint/releases/tag/v1.45.1)

### djlint 1.45.0 breaking changes

djlint 1.45.0, released September 3, 2026: 44 breaking changes.

- **Removed** `djlint.Config.script_style_closing_pattern`  

Config.script_style_closing_pattern was removed in djlint 1.45.0 [pypi.org](https://pypi.org/project/djlint/1.45.0/)
- **Removed** `djlint.Config.script_style_inline_imsx_pattern`  

Config.script_style_inline_imsx_pattern was removed in djlint 1.45.0 [pypi.org](https://pypi.org/project/djlint/1.45.0/)

And 42 more in this version.

### djlint 1.44.0 breaking changes

djlint 1.44.0, released August 4, 2026: 12 breaking changes.

- **Behavior changed**  

The No files to check! message is now printed to stderr instead of stdout. Scripts that capture stdout for this message must read stderr instead. [github.com](https://github.com/djlint/djLint/releases/tag/v1.44.0)
- **Behavior changed**  

A crash now exits with code 2 instead of 1. Scripts that check exit code 1 to detect crashes must be updated. [github.com](https://github.com/djlint/djLint/releases/tag/v1.44.0)

And 10 more in this version.

### djlint 1.43.0 breaking changes

djlint 1.43.0, released July 27, 2026: 6 breaking changes.

- **Behavior changed**  

Errors on a tag written immediately before a bare djlint:off pragma are now reported again. Code that relied on the old suppression may start reporting errors. [github.com](https://github.com/djlint/djLint/releases/tag/v1.43.0)
- **Behavior changed** `max_attribute_length`  

The attribute length limit is now checked against the text actually written out rather than padding the rewrite drops. Formatting of long style, srcset, data-srcset and sizes attributes may change. [github.com](https://github.com/djlint/djLint/releases/tag/v1.43.0)

And 4 more in this version.

### djlint 1.42.1 breaking changes

djlint 1.42.1, released July 20, 2026: 10 breaking changes.

- **Removed** `djlint.rules.T003.MISMATCH_MESSAGE`  

djlint.rules.T003.MISMATCH_MESSAGE was removed in djlint 1.42.1 [pypi.org](https://pypi.org/project/djlint/1.42.1/)
- **Removed** `djlint.rules.T003.MISSING_CLOSE_MESSAGE`  

djlint.rules.T003.MISSING_CLOSE_MESSAGE was removed in djlint 1.42.1 [pypi.org](https://pypi.org/project/djlint/1.42.1/)

And 8 more in this version.

### djlint 1.42.0 breaking changes

djlint 1.42.0, released July 20, 2026: 3 breaking changes.

- **Behavior changed** `golang`  

Contents of Go template blocks such as if, range, with, block and define are now indented up to their end tag, so existing formatted files will be reformatted. [github.com](https://github.com/djlint/djLint/releases/tag/v1.42.0)
- **Configuration changed** `indent`  

If no command line or djlint config sets indent, djlint now reads indent_size from a project root .editorconfig, so output can change for existing projects. [github.com](https://github.com/djlint/djLint/releases/tag/v1.42.0)

And 1 more in this version.

### djlint 1.41.0 breaking changes

djlint 1.41.0, released July 19, 2026: 11 breaking changes.

- **Behavior changed**  

Runs of extra whitespace inside single-line template tags are now reduced to one space, so formatted output changes. Whitespace inside string literals is kept. [github.com](https://github.com/djlint/djLint/releases/tag/v1.41.0)
- **Behavior changed**  

A single-line block-form set tag stays on one line after formatting, so the captured value is no longer changed by added whitespace. [github.com](https://github.com/djlint/djLint/releases/tag/v1.41.0)

And 9 more in this version.

### djlint 1.40.10 breaking changes

djlint 1.40.10, released July 19, 2026: 202 breaking changes.

- **Signature changed** `djlint.Config.always_self_closing_html_tags`  

Was always_self_closing_html_tags: Final; now always_self_closing_html_tags. [pypi.org](https://pypi.org/project/djlint/1.40.10/)
- **Signature changed** `djlint.Config.attribute_pattern`  

Was attribute_pattern: Final; now attribute_pattern. [pypi.org](https://pypi.org/project/djlint/1.40.10/)

And 200 more in this version.

### djlint 1.40.9 breaking changes

djlint 1.40.9, released July 18, 2026: 165 breaking changes.

- **Removed** `djlint.Config.attribute_style_pattern`  

Config.attribute_style_pattern was removed in djlint 1.40.9 [pypi.org](https://pypi.org/project/djlint/1.40.9/)
- **Removed** `djlint.Config.ignored_block_closing`  

Config.ignored_block_closing was removed in djlint 1.40.9 [pypi.org](https://pypi.org/project/djlint/1.40.9/)

And 163 more in this version.

### djlint 1.40.8 breaking changes

djlint 1.40.8, released July 17, 2026: 1 breaking change.

- **Configuration changed**  

Files passed directly on the command line are now skipped when they match the exclude or extend_exclude settings. Check that any explicitly named files you format are not in those lists. [github.com](https://github.com/djlint/djLint/releases/tag/v1.40.8)

### djlint 1.40.6 breaking changes

djlint 1.40.6, released July 13, 2026: 24 breaking changes.

- **Removed** `djlint.Config.html_tag_attribute_regex`  

Config.html_tag_attribute_regex was removed in djlint 1.40.6 [pypi.org](https://pypi.org/project/djlint/1.40.6/)
- **Removed** `djlint.Config.html_tag_pattern`  

Config.html_tag_pattern was removed in djlint 1.40.6 [pypi.org](https://pypi.org/project/djlint/1.40.6/)

And 22 more in this version.

### djlint 1.40.5 breaking changes

djlint 1.40.5, released July 12, 2026: 6 breaking changes.

- **Removed** `djlint.rules.T003.BLOCK_RE`  

djlint.rules.T003.BLOCK_RE was removed in djlint 1.40.5 [pypi.org](https://pypi.org/project/djlint/1.40.5/)
- **Removed** `djlint.src.django_jinja_patterns`  

djlint.src.django_jinja_patterns was removed in djlint 1.40.5 [pypi.org](https://pypi.org/project/djlint/1.40.5/)

And 4 more in this version.

### djlint 1.40.0 breaking changes

djlint 1.40.0, released July 1, 2026: 4 breaking changes.

- **Signature changed** `djlint.__main__.main`  

Was def main(\*, src: tuple\[str, ...\], extension: str, ignore: str, reformat: bool, indent: int | None, check: bool, quiet: bool, profile: str | None, require_pragma: bool, lint: bool, use_gitignore: bool, warn: bool... [pypi.org](https://pypi.org/project/djlint/1.40.0/)
- **Signature changed** `djlint.Config.__init__`  

Was def \_\_init\_\_(self, src: str = '.', \*, ignore: str = '', extension: str = '', indent: int | None = None, quiet: bool = False, profile: str | None = None, require_pragma: bool = False, reformat: bool = False, check: bool = False, lint... [pypi.org](https://pypi.org/project/djlint/1.40.0/)

And 2 more in this version.

### djlint 1.39.5 breaking changes

djlint 1.39.5, released June 29, 2026: 9 breaking changes.

- **Removed** `djlint.get_src`  

djlint.get_src was removed in djlint 1.39.5 [pypi.org](https://pypi.org/project/djlint/1.39.5/)
- **Removed** `djlint.lint_file`  

djlint.lint_file was removed in djlint 1.39.5 [pypi.org](https://pypi.org/project/djlint/1.39.5/)

And 7 more in this version.

### djlint 1.39.3 breaking changes

djlint 1.39.3, released June 23, 2026: 3 breaking changes.

- **Removed**  

Click now handles CLI colors and progress, so colorama and tqdm are no longer direct dependencies. Code that imports them must install them separately. [github.com](https://github.com/djlint/djLint/releases/tag/v1.39.3)
- **Removed** `djlint.settings.logger`  

djlint.settings.logger was removed in djlint 1.39.3 [pypi.org](https://pypi.org/project/djlint/1.39.3/)

And 1 more in this version.

## 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.
