djlint breaking changes
Updated December 4, 2026
On this page
Latest version 1.54.5, released December 3, 2026. Source repository
Its 1.46.5 release drops Python 3.10. Python end of life dates.
djlint 1.54.0 breaking changes
- 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
djlint 1.53.1 breaking changes
- Renamed
djlint.helpers.ignored_block_spans
Use djlint.helpers.lint_ignored_block_spans instead. pypi.org - Renamed
djlint.rules.H042.ignored_block_spans
Use H042.lint_ignored_block_spans instead. pypi.org
djlint 1.53.0 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 - 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
djlint 1.52.2 breaking changes
- 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
djlint 1.52.0 breaking changes
- Removed
djlint.settings.load_editorconfig
djlint.settings.load_editorconfig was removed in djlint 1.52.0 pypi.org - 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 - 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 - 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 - 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
djlint 1.51.0 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 - 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 - 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 - 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
Older versions
26 older versions, each with its first changes. Sign up to see every change
Show 26 older versions
djlint 1.50.4 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 - 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
djlint 1.50.0 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 - 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
And 4 more in this version.
djlint 1.49.10 breaking changes
- Removed
djlint.Config
djlint.Config was removed in djlint 1.49.10 pypi.org - Removed
djlint.ProcessResult
djlint.ProcessResult was removed in djlint 1.49.10 pypi.org
djlint 1.49.9 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 - 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
And 1 more in this version.
djlint 1.49.8 breaking changes
- 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
djlint 1.49.5 breaking changes
- Removed
djlint.helpers.QUOTED_ATTRIBUTE_VALUE
djlint.helpers.QUOTED_ATTRIBUTE_VALUE was removed in djlint 1.49.5 pypi.org - Removed
djlint.helpers.TEMPLATE_TAG_WHOLE
djlint.helpers.TEMPLATE_TAG_WHOLE was removed in djlint 1.49.5 pypi.org
And 4 more in this version.
djlint 1.49.1 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 - 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
djlint 1.48.0 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 - 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
And 2 more in this version.
djlint 1.47.0 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 - 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
And 5 more in this version.
djlint 1.46.5 breaking changes
- 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
djlint 1.46.0 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 - 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
And 5 more in this version.
djlint 1.45.1 breaking changes
- 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
djlint 1.45.0 breaking changes
- Removed
djlint.Config.script_style_closing_pattern
Config.script_style_closing_pattern was removed in djlint 1.45.0 pypi.org - Removed
djlint.Config.script_style_inline_imsx_pattern
Config.script_style_inline_imsx_pattern was removed in djlint 1.45.0 pypi.org
And 42 more in this version.
djlint 1.44.0 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 - 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
And 10 more in this version.
djlint 1.43.0 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 - 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
And 4 more in this version.
djlint 1.42.1 breaking changes
- Removed
djlint.rules.T003.MISMATCH_MESSAGE
djlint.rules.T003.MISMATCH_MESSAGE was removed in djlint 1.42.1 pypi.org - Removed
djlint.rules.T003.MISSING_CLOSE_MESSAGE
djlint.rules.T003.MISSING_CLOSE_MESSAGE was removed in djlint 1.42.1 pypi.org
And 8 more in this version.
djlint 1.42.0 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 - 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
And 1 more in this version.
djlint 1.41.0 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 - 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
And 9 more in this version.
djlint 1.40.10 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 - Signature changed
djlint.Config.attribute_pattern
Was attribute_pattern: Final; now attribute_pattern. pypi.org
And 200 more in this version.
djlint 1.40.9 breaking changes
- Removed
djlint.Config.attribute_style_pattern
Config.attribute_style_pattern was removed in djlint 1.40.9 pypi.org - Removed
djlint.Config.ignored_block_closing
Config.ignored_block_closing was removed in djlint 1.40.9 pypi.org
And 163 more in this version.
djlint 1.40.8 breaking changes
- 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
djlint 1.40.6 breaking changes
- Removed
djlint.Config.html_tag_attribute_regex
Config.html_tag_attribute_regex was removed in djlint 1.40.6 pypi.org - Removed
djlint.Config.html_tag_pattern
Config.html_tag_pattern was removed in djlint 1.40.6 pypi.org
And 22 more in this version.
djlint 1.40.5 breaking changes
- Removed
djlint.rules.T003.BLOCK_RE
djlint.rules.T003.BLOCK_RE was removed in djlint 1.40.5 pypi.org - Removed
djlint.src.django_jinja_patterns
djlint.src.django_jinja_patterns was removed in djlint 1.40.5 pypi.org
And 4 more in this version.
djlint 1.40.0 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 - 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
And 2 more in this version.
djlint 1.39.5 breaking changes
- Removed
djlint.get_src
djlint.get_src was removed in djlint 1.39.5 pypi.org - Removed
djlint.lint_file
djlint.lint_file was removed in djlint 1.39.5 pypi.org
And 7 more in this version.
djlint 1.39.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 - Removed
djlint.settings.logger
djlint.settings.logger was removed in djlint 1.39.3 pypi.org
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, 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.