NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #2008 most downloaded on PyPI
HTML template linter and formatter (Django, Jinja, Twig, Nunjucks, Handlebars, Mustache, Liquid, Go templates, Angular, Tera, Askama, Mako)
Latest stable
1.49.10
Last release 8 days ago
07 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
5 years old
233 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
span: fixed indent on nested inline tags on a span (4ac5fd0), closes #383
alpine js: fix incorrect indent on alpinejs attribs w/ nested HTML (f0d37a5), closes #381
Your coding agent can read these notes before it upgrades. Set up the MCP server →
config: allow source files to be specified in the config file (bbcde2b), closes #371
cssbeautify: added support for ignore in cssbeautifier
release: trigger a release to remove the print statment
macro: allow html tags inside macro functions to skip formatting (bffb093), closes #353
h006: prevented false positives on H006 (215bd23), closes #344 #333
formatter: fixed runaway regex on templates with many template attriutes inside html tags (79cd013), closes #340
jinja call: added support for jinja call blocks (7a70e39), closes #337
linter: updated rule 18 to allow "tel:" (f08e3ac), closes #334
formatter: fix IndexError while adding indentation to attributes (a3ccc19), closes #290
requirements: removed optional deps from requirements section. Cleaned up tox (237e844), closes #322
formatter: fix to prevent formatter from breaking malformed attribute tags (80263b2), closes #317
t027: fixed test and regression in T027 (6f84539), closes #141
formatter: fixed greedy regex issue when finding script and style tags
formatter: added options to format css and js using jsbeautifier
indent: fixed bad indent on short blocks (7e4ac76), closes #309
formatter: added option to add blank line before tags (b2bd1ea), closes #307
linter: fixed false positive on T027 (946b8ad), closes #301
preserve blank lines: fixed duplicate blank lines being inserted after h-space, (9ed3393), closes #300
white space: prevent duplicate blank lines from being added (67306b4), closes #297
git bash: fixes char encoding on windows git bash (3ef7c16), closes #275
# 1.6.0 (2022-07-06) ### Features * npm: added npm publish
h026: fixes rule H026 for cases where id/class are part of another string (611b1fa), closes #281
ignore rules: added option to ignore linter rules with inline comments (1b3159f), closes #113
h025: fixes rule H025 where tags have curly hash (e4fe62f), closes #270
curly hash comment: fix formatting on curly hash comment blocks (4dc2140), closes #265
whitespace: add option to preserver some whitespace before text (15ead70), closes #260
windows: fixed windows output. colorama was converting to cp1252
dj018: fix rule DJ018 for special attrib names (f63cc4d), closes #248
code tags: fixed indentation on code tags w/ trailing text (a830bc4), closes #244
alpine.js: fixed formatting in alpine.js attributes (e531701), closes #240
custom attributes: custom attributes separated by hyphen were split up during format (1ce378c), closes #236
broken link "djlint documentation" in README
Added --warn flag to return return errors as warnings. :::
Added better support for yaml front matter in template files
::: content - Bug fixes #177 :::
::: content
Dropped Py3.6 from pyproject.toml. :::
Bug fixes #167, #166, #171, #169 :::
::: content - Bug fixes #166 :::
::: content
Added config for custom HTML tags
::: content
Added HTML and Angular profiles
::: content
::: content - Bug fixes - Updated docs :::
::: content
Added config option format_attribute_template_tags as opt-in for template tag formatting inside of attributes
::: content
format_attribute_template_tags as opt-in for template tag formatting inside of attributeslinter_output_format to customize linter message variable order::: content - Big fixes :::
::: content
Updated output paths to be relative to the project root
::: content
::: content - Bug fixes :::
::: content
Added support for django blocktrans tag
::: content
blocktrans tag::: content - Bug fixes :::
::: content
Made rule T028 stricter with clearer message :::
::: content
Added rule T027 to check for unclosed in template syntax
::: content
Added option --use-gitignore to extend the excludes
::: content
--use-gitignore to extend the excludes{%...%} tags in attributesAdded test support for python 3.10
::: content
Updated DJ018 to catch data-src and action on inputs
::: content
data-src and action on inputs--lint option as placeholder for default usage::: content - Bug fixes :::
::: content
Added rule H026 to find empty id and class tags
::: content
Consolidated settings and slimmed code
::: content
Added rule H020 to find empty tag pairs
::: content
blank_line_after_tag option to add newline regardless of locationtrans tag formattingOne column per quarter.