Releases: UnknownPlatypus/djangofmt
Releases · UnknownPlatypus/djangofmt
0.2.11 - 2026-06-26
Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
- (format) Preserve single-line Django blocks inside attribute lists (#360) - (ca3d825)
- (format) Support
.editorconfigconfiguration files (#349) - (0df2c71) - (lint) Add duplicate-block-name lint rule - (4fe9aef)
- (lint) Add rule selection (select/ignore + preview) (#350) - (7d0eb76)
- (playground) Add documentation link to navbar (#351) - (0923257)
🐛 Bug Fixes
- (format) Fix formatting of multiline django template tags (#359) - (2908461)
- (lint) Restore correct ANSI display in error messages (#346) - (d4c21ba)
🚜 Refactor
- (lint) Avoid double parse when fixing (#362) - (621980e)
- (lint) Drop redundant help on empty-attr-value rule (#357) - (e10ed1e)
- (lint) Cleanup RuleSet implementation and simplify (#336) - (17c0668)
- (misc) Minor cleanup (#356) - (2b1346b)
- (tests) Misc test simplification (#348) - (cdda76a)
🧪 Testing
- (bench) Isolate check_ast cost from parsing (#364) - (8251c11)
- (clippy) Enable more clippy restriction rules (#363) - (539450c)
- (ecosystem-check) Select all rules + preview in check ecosystem run (#352) - (17110ef)
⚙️ Miscellaneous Tasks
Install djangofmt 0.2.11
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.11/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.11/djangofmt-installer.ps1 | iex"Download djangofmt 0.2.11
0.2.10 - 2026-06-03
Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
- (format) Allow
{# djangofmt:ignore #}to disable formatting (#333) - (8de13fc) - (lint) Add
django-url-patternlint rule (#314) - (9cfc71c) - (lint) Add
empty-tag-pairlint rule (#313) - (5ac93df) - (lint) Add
missing-img-altlint rule (#312) - (d7e3d38) - (lint) Add
django-static-urllint rule (#311) - (27836b6) - (lint) Add
use-httpslint rule (#308) - (3503bc7) - (playground) Add ast + Doc IR representation in playground (#331) - (c9489bb)
🐛 Bug Fixes
🚜 Refactor
- (lint) Dispatch per-attribute rules from a single attribute visitor (#330) - (d02925c)
- (lint) Dispatch tag-scoped rules by tag (#326) - (4c1a059)
- (lint) Check img height and width attributes in a single pass (#322) - (5164cea)
- (lint) Reuse fs::get_cwd and drop build_walk_filters wrapper (#320) - (9aab7b7)
- (lint) Add
fix::editsmodule withdelete_attr_fixhelper (#319) - (d7cc9ad) - (lint) Extract jinja-aware attr-presence helper (#318) - (6910bd9)
- (lint) Fold attribute value match into NativeAttribute pattern (#317) - (67f5802)
- (playground) Switch to deno (#316) - (2abd19d)
- (test) Share benchmark template list via
ALL_TEMPLATESconst (#321) - (2eab77b)
⚡ Performance
- (format) Update
markup_fmtleading to average perf improvement of 2x (#329) - (d0329ca) - (lint) Use a BitSet to store enabled rules (#325) - (347d0b9)
Install djangofmt 0.2.10
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.10/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.10/djangofmt-installer.ps1 | iex"Download djangofmt 0.2.10
0.2.9 - 2026-05-29
Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
- (check) Expose --fix, --unsafe-fixes, --show-fixes in pyproject config (#290) - (448f487)
- (docs) Publish Zensical-based documentation site (#300) - (5f29df3)
- (lint) Add
missing-doctypelint rule (#310) - (e372374) - (lint) Add
missing-titlelint rule (#309) - (b243792) - (lint) Add
duplicate-attrlint rule (#304) - (ef732af) - (lint) Add
form-action-whitespacelint rule (#303) - (c2b3d53) - (lint) Add
empty-attr-valuelint rule (#298) - (559313c) - (lint) Add
uppercase-form-methodlint rule (#294) - (4d37afe) - (lint) Add
javascript-urllint rule (#293) - (791e928) - (lint) Add
redundant-type-attrrule (#260) - (3d65c26)
🚜 Refactor
📚 Documentation
- (lint) Auto-generate lint rule docs from violation struct doc comments (#297) - (3670b71)
- (pycharm) Pycharm editor integration (#301) - (bbf6823)
- (readme) Extract some part of the README to dedicated doc page (#291) - (1ea7bae)
⚙️ Miscellaneous Tasks
- (pre-commit) Chore/pre commit autoupdate and zizmor (#299) - (2dd2c0e)
- Scope pages concurrency per PR (#315) - (57ae947)
Install djangofmt 0.2.9
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.9/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.9/djangofmt-installer.ps1 | iex"Download djangofmt 0.2.9
0.2.8 - 2026-05-18
Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
- (check) Add autofix framework to the
djangofmt checkcommand and theblocktranslate-no-trimmedrule (#276) - (0b04439) - (cli) Format from stdin via
-or--stdin-filename(#284) - (a876757) - (format) Add
--preserve-unquoted-attrsoption (#271) - (081ab4a) - (format) Add support for Django template partials (#275) - (a13115e)
🐛 Bug Fixes
⚙️ Miscellaneous Tasks
- (msrv) Track MSRV and rust-toolchain version with renovate (#281) - (690170f)
- (perf) Include all rust-related files in changed_files detection (#280) - (f182cfa)
- (renovate) Add 7-day cooldown to mitigate supply chain attacks (#266) - (ce3759f)
- Set CARGO_PROFILE_DEV_DEBUG=line-tables-only for faster builds (#270) - (06486be)
Build
Install djangofmt 0.2.8
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.8/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.8/djangofmt-installer.ps1 | iex"Download djangofmt 0.2.8
0.2.7 - 2026-04-16
Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
- (ci) Build pipeline improvements (#225) - (3e3b009)
- (config) Use kebab-case for pyproject.toml settings (#227) - (f26e834)
- (format) Add recursive file discovery -- enable
djangofmt .to format the current folder (#229) - (385f60a) - (format) Add flag to allow self closing void elements (#219) - (d0d85b0)
- (format) Improve error message for cut off html (#207) - (decbaec)
- (format) Add JSON external formatter (#188) - (07e770b)
🐛 Bug Fixes
- (format) Fixes extra indent for {% plural %} inside blocktranslate (#208) - (c7de06d)
- (format) Fix formatting issues for nested template blocks in html opening tag (#205) - (378bc36)
🚜 Refactor
- (format) Reuse
LineLengthandPrintWidthnewtypes to remove hardcoded default values (#189) - (13e89b5) - (misc) Avoid clone on check error path, add force_exclude tests (#239) - (abc267d)
- (misc) Hoist Settings::default(), remove dead Hash derive, avoid clone on error path (#237) - (2923267)
- (misc) Minor code quality improvement and simplifications (#235) - (1c1c856)
- (rules) Declare lint rule category on the Violation (#230) - (6dd81ab)
📚 Documentation
- (ai) Add AI policy to CONTRIBUTING.md (#228) - (479c575)
- (check) Document check mode workaround (#200) - (8be5ca6)
⚡ Performance
- (bench) Bench linter and parser (#232) - (d1644eb)
- (summary) Add micro bench build summary (#236) - (6ba6a80)
🧪 Testing
- (ci) Add
djangofmt checkto ecosystem check (#253) - (e9ac547) - (ci) Add code coverage with cargo-llvm-cov and 85% CI threshold (#240) - (78a97a6)
- (ci) Re-enable djade ecosystem check (+ tidy up justfile) (#206) - (461db3b)
- (ci) Remove docker-run-action (#195) - (c1c080b)
- (ecosystem-check) Allows pr comment on forks (#196) - (54b204d)
- (lint) Cleanup lint test structure (#254) - (5bf935e)
⚙️ Miscellaneous Tasks
Install djangofmt 0.2.7
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.7/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.7/djangofmt-installer.ps1 | iex"Download djangofmt 0.2.7
| File | Platform | Checksum |
|---|---|---|
| djangofmt-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| djangofmt-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| djangofmt-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| djangofmt-i686-pc-windows-msvc.zip | x86 Windows | checksum |
| djangofmt-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| djangofmt-aarch64-unknown-linux-gnu.tar.gz | ARM64 Linux | checksum |
| djangofmt-i686-unknown-linux-gnu.tar.gz | x86 Linux | checksum |
| djangofmt-powerpc64le-unknown-linux-gnu.tar.gz | PPC64LE Linux | checksum |
| djangofmt-riscv64gc-unknown-linux-gnu.tar.gz | RISCV Linux | checksum |
| djangofmt-s390x-unknown-linux-gnu.tar.gz | S390x Linux | checksum |
| djangofmt-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
| djangofmt-armv7-unknown-linux-gnueabihf.tar.gz | ARMv7 Linux | checksum |
| [djangofmt-aarch64-unknown-linux-musl.tar.gz](https://github.com/UnknownPlatypus/djangofm... |
0.2.6 - 2026-02-10
Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
🐛 Bug Fixes
- (format) Always swap wrapping quotes if attribute contains one (#180) - (0fd9ed3)
- (format) Fix formatting of
{% for %}/{% empty %}blocks (#178) - (98f8ef7)
📚 Documentation
- (format) Documents workarounds for unsupported formatting (#174) - (15b1f32)
- (github) Add Github issue template (#173) - (5821c07)
- (ignore) Document ignore comment (#172) - (50a2fdd)
🧪 Testing
Install djangofmt 0.2.6
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.6/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.6/djangofmt-installer.ps1 | iex"Download djangofmt 0.2.6
0.2.5 - 2026-01-12
Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
- (debug) Add debug logs on external formatter failures (#143) - (a5dda3b)
- (format) Don't format django multiline comment tags (
{% comment %}...{% endcomment %}) (#162) - (6a6ca10) - (lint) Show source file name in lint diagnostics (#159) - (6ee8c96)
- (lint) Add building blocks for linting (#144) - (08a12a0)
- (playground) Add a "Open issue on Github" button in the playground (#163) - (ae247b3)
- (playground) Add a new collapsible panel to display linting errors (#148) - (067e4a0)
🐛 Bug Fixes
🚜 Refactor
- (format) Remove
line_col_to_offsetand use mietteSourceOffset::from_locationfor error reporting (#145) - (f8acc95)
⚡ Performance
- (allocator) Use jemalloc on linux (#128) - (4e92927)
- (codspeed) Setup Codspeed CI benchmarks (#125) - (0ea2b39)
- (perf) Update the
ltoandcodegen-unitsbenchmark script (#126) - (ccd7edge)
🧪 Testing
- (binary-size) Add cargo-bloat (#136) - (2855cb2)
- (ci) Skip codspeed in CI if no rust code changes (#158) - (8bf4432)
- (ci) Cancel outdated ci jobs - (18595c3)
- (clippy) Improve clippy configuration (#156) - (2de17b3)
- (pre-commit) Switch to a managed
dprintpre-commit integration (#138) - (1ccfba0) - (pre-commit) Simplify dprint discovery in pre-commit (#137) - (f4eb28c)
- (review) Add coderrabit (#141) - (bac6128)
New Contributors ❤️
Install djangofmt 0.2.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.5/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.5/djangofmt-installer.ps1 | iex"Download djangofmt 0.2.5
0.2.4 - 2025-12-15
Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
- (format) Auto-sort css statements using
smacssordering and enforce%in keyframes (#114) - (1dd641f) - (format) Auto-indent
<script>tag content (#115) - (d959cf0) - (format) Keep style attribute value on a single line (#113) - (7c2f33c)
- (format) Skip file parsing if there is a top-level
<!-- djangofmt:ignore -->(#112) - (fcbab9b) - (format) Improve formatting of
styletags and attributes (#111) - (24920db) - (playground) Add playground deploy to release workflow (#124) - (124b149)
- (playground) Add an online playground (#118) - (a655190)
- (playground) Expose a wasm format command (#122) - (847d3d8)
🚜 Refactor
⚙️ Miscellaneous Tasks
Install djangofmt 0.2.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/0.2.4/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/0.2.4/djangofmt-installer.ps1 | iex"Download djangofmt 0.2.4
0.2.3 - 2025-11-30
Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
- (format) Add pretty-printing of parse errors (#104) - (fee4ee3)
- (format) Add custom
<!-- djangofmt:ignore -->directive (#102) - (c9b20bb) - (format) Improvements on inline node formatting (#75) - (58a4f8f)
🚜 Refactor
🧪 Testing
- (clippy) Enable strict clippy rules (#97) - (cd7d6ea)
- (ecosystem-check) Fix ecosystem check comment urls and support codeberg.com (#101) - (337592c)
- (ecosystem-check) Fix ecosystem-check and support other providers than github (#99) - (13e8bb2)
Install djangofmt 0.2.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.3/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.3/djangofmt-installer.ps1 | iex"Download djangofmt 0.2.3
0.2.2 - 2025-06-12
Release Notes
⛰️ Features
- (format) Document svg files support (#74) - (60ba20f)
- (format) Support unquoted attr value recovery for tags & blocks (#73) - (ca7efc6)
Install djangofmt 0.2.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.2/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.2/djangofmt-installer.ps1 | iex"