Update dependency djlint to >=1.39.0 #549

Merged
tobru merged 1 commit from renovate/djlint-1.x into main 2026-06-09 15:24:34 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
djlint >=1.36.4>=1.39.0 age confidence

Release Notes

djlint/djLint (djlint)

v1.39.0

Compare Source

Feature
  • Add preserve_class_newlines / --preserve-class-newlines to keep authored line breaks inside multiline class attributes.
Fix
  • Fix Django 6.0 {% partialdef %} block indentation so {% endpartialdef %} aligns with its opener.
  • Preserve multiline Django/Jinja control-flow blocks instead of condensing short bodies onto one line.
  • Preserve single-line inline HTML and template tag bodies during expansion, even when they exceed max_line_length.

v1.38.2

Compare Source

Fix
  • Fix python -m djlint not working due to mypyc compilation.

v1.38.1

Compare Source

Fix
  • Match exclude paths on path boundaries.

v1.38.0

Compare Source

Feature
  • Add support for .djlint.toml project and global config files.
Fix
  • Preserve single-line inline HTML tag bodies when they fit within max_line_length.
  • Avoid evaluating template expressions while formatting tag contents.
Packaging
  • Fix npm publish workflow.

v1.37.0

Compare Source

Feature
  • Add --format-attribute-js-json for formatting JavaScript and JSON inside HTML attributes. It also supports format_attribute_js_json_pattern and format_attribute_js_json_min_props for tuning which attributes are formatted. Thanks, @​oliverhaas.
  • Add --github-output for GitHub Actions annotations. Thanks, @​iloveitaly.
Fix
  • Fix ignore_blocks matching when ignored blocks are indented. Thanks, @​tdryer.
  • Use relative paths for --exclude and --use-gitignore matching so path filters work consistently from nested directories. Thanks, @​satya-waylit.
  • Stop D018/J018 from flagging root links such as href="/". Thanks, @​SAY-5.
  • Do not treat soft hyphen entities as text for H023. Thanks, @​kotutuloro.
  • Fix Handlebars {{#unless}} indentation. Thanks, @​S1mplePixels.
  • Fix formatting when /> appears inside an HTML attribute value. Thanks, @​novucs.
  • Improve CPU count handling for worker setup.
Performance
  • Improve formatter caching and reduce cache memory usage. Formatting is about 19% faster.
Documentation
Packaging
  • Drop Python 3.9 support.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [djlint](https://github.com/djlint/djLint) | `>=1.36.4` → `>=1.39.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/djlint/1.39.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/djlint/1.36.4/1.39.0?slim=true) | --- ### Release Notes <details> <summary>djlint/djLint (djlint)</summary> ### [`v1.39.0`](https://github.com/djlint/djLint/blob/HEAD/CHANGELOG.md#1390---2026-06-05) [Compare Source](https://github.com/djlint/djLint/compare/v1.38.2...v1.39.0) ##### Feature - Add `preserve_class_newlines` / `--preserve-class-newlines` to keep authored line breaks inside multiline `class` attributes. ##### Fix - Fix Django 6.0 `{% partialdef %}` block indentation so `{% endpartialdef %}` aligns with its opener. - Preserve multiline Django/Jinja control-flow blocks instead of condensing short bodies onto one line. - Preserve single-line inline HTML and template tag bodies during expansion, even when they exceed `max_line_length`. ### [`v1.38.2`](https://github.com/djlint/djLint/blob/HEAD/CHANGELOG.md#1382---2026-06-05) [Compare Source](https://github.com/djlint/djLint/compare/v1.38.1...v1.38.2) ##### Fix - Fix `python -m djlint` not working due to mypyc compilation. ### [`v1.38.1`](https://github.com/djlint/djLint/blob/HEAD/CHANGELOG.md#1381---2026-06-04) [Compare Source](https://github.com/djlint/djLint/compare/v1.38.0...v1.38.1) ##### Fix - Match exclude paths on path boundaries. ### [`v1.38.0`](https://github.com/djlint/djLint/blob/HEAD/CHANGELOG.md#1380---2026-06-04) [Compare Source](https://github.com/djlint/djLint/compare/v1.37.0...v1.38.0) ##### Feature - Add support for `.djlint.toml` project and global config files. ##### Fix - Preserve single-line inline HTML tag bodies when they fit within `max_line_length`. - Avoid evaluating template expressions while formatting tag contents. ##### Packaging - Fix npm publish workflow. ### [`v1.37.0`](https://github.com/djlint/djLint/blob/HEAD/CHANGELOG.md#1370---2026-06-04) [Compare Source](https://github.com/djlint/djLint/compare/v1.36.4...v1.37.0) ##### Feature - Add `--format-attribute-js-json` for formatting JavaScript and JSON inside HTML attributes. It also supports `format_attribute_js_json_pattern` and `format_attribute_js_json_min_props` for tuning which attributes are formatted. Thanks, [@&#8203;oliverhaas](https://github.com/oliverhaas). - Add `--github-output` for GitHub Actions annotations. Thanks, [@&#8203;iloveitaly](https://github.com/iloveitaly). ##### Fix - Fix `ignore_blocks` matching when ignored blocks are indented. Thanks, [@&#8203;tdryer](https://github.com/tdryer). - Use relative paths for `--exclude` and `--use-gitignore` matching so path filters work consistently from nested directories. Thanks, [@&#8203;satya-waylit](https://github.com/satya-waylit). - Stop D018/J018 from flagging root links such as `href="/"`. Thanks, [@&#8203;SAY-5](https://github.com/SAY-5). - Do not treat soft hyphen entities as text for H023. Thanks, [@&#8203;kotutuloro](https://github.com/kotutuloro). - Fix Handlebars `{{#unless}}` indentation. Thanks, [@&#8203;S1mplePixels](https://github.com/S1mplePixels). - Fix formatting when `/>` appears inside an HTML attribute value. Thanks, [@&#8203;novucs](https://github.com/novucs). - Improve CPU count handling for worker setup. ##### Performance - Improve formatter caching and reduce cache memory usage. Formatting is about 19% faster. ##### Documentation - Add Chinese translation. Thanks, [@&#8203;Twisuki](https://github.com/Twisuki). - Add Homebrew installation instructions. Thanks, [@&#8203;alfawal](https://github.com/alfawal). - Add EFM Neovim integration documentation. Thanks, [@&#8203;danielebra](https://github.com/danielebra). - Add copy-pastable pre-commit YAML to the README. Thanks, [@&#8203;Pierre-Sassoulas](https://github.com/Pierre-Sassoulas). - Polish linter and CLI documentation. Thanks, [@&#8203;jasonaowen](https://github.com/jasonaowen) and [@&#8203;dotWee](https://github.com/dotWee). ##### Packaging - Drop Python 3.9 support. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMDQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Update dependency djlint to >=1.38.1
All checks were successful
Tests / test (push) Successful in 59s
a83e9a8183
renovate force-pushed renovate/djlint-1.x from a83e9a8183
All checks were successful
Tests / test (push) Successful in 59s
to 0a33bca2c0
All checks were successful
Tests / test (push) Successful in 57s
2026-06-06 03:01:59 +00:00
Compare
renovate changed title from Update dependency djlint to >=1.38.1 to Update dependency djlint to >=1.39.0 2026-06-06 03:02:00 +00:00
tobru merged commit 4fadcf27e4 into main 2026-06-09 15:24:34 +00:00
tobru deleted branch renovate/djlint-1.x 2026-06-09 15:24:34 +00:00
Sign in to join this conversation.
No description provided.