DjLint Versions Save

✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang

v1.34.1

4 months ago

1.34.1 (2023-12-20)

Bug Fixes

  • formatter: Avoid rewriting the file if it has not been changed (6965ba5)
  • linter: fix missed H025 for double closing (cf52faf), closes #786

v1.34.0

7 months ago

1.34.0 (2023-09-20)

Bug Fixes

  • configuration: Fix formatting, unused import and forgotten print (f6dbef2)

Features

  • configuration: Accept pyproject.toml as a --configuration argument (d8a059a)

v1.33.0

7 months ago

1.33.0 (2023-09-18)

Bug Fixes

  • formatter: fixed extra breaks added around html tags inside template tags (6091ffb), closes #742
  • formatter: fixed extra indend in script tags (9d04d51), closes #733
  • formatter: fixed formatting on functions that used python keywords as the param name (183a7c0), closes #756
  • h033: fix rull to not match data-action (f6881e0)
  • linter: fixed false positive on DJ018 (78d81dc), closes #755

Features

  • formatter: added support for nunjucks async loop tags (5a32bb3)

v1.32.1

9 months ago

1.32.1 (2023-07-20)

Bug Fixes

  • formatter: reverted chained function formatting (2ba6e3b), closes #720 #704

v1.32.0

9 months ago

1.32.0 (2023-07-19)

Bug Fixes

  • formatter: fixed formatting on chained function (7c2756d), closes #704
  • linter: fixed false positive on h026 data-id (400882a), closes #711
  • linter: fixed golang false positive on T027 (232f4bc), closes #712

Features

  • formatter: added support for jazzband's sorl-thumbnail tags (86122dc), closes #714

v1.31.1

10 months ago

1.31.1 (2023-06-26)

Bug Fixes

  • formatter: fixed formatter formatting ignored code (5c75d87), closes #655
  • formatter: fixed function formatting with nested quoted parenthesis (6d63a6a), closes #698
  • formatter: fixed overgrabbing on template tag condensing (75c3134), closes #686
  • formatter: function index was not formatted correctly (a197200), closes #693

v1.31.0

11 months ago

1.31.0 (2023-06-12)

Bug Fixes

  • formatter: fixed line_break_after_multiline_tag to force break in all cases (3b37ec8), closes #680
  • formatter: fixed isolated quotes being deleted from attributes (19425f9), closes #652
  • formatter: fixed wild match on template tags (d288b78), closes #686
  • linter: fixed false positive on t001 (1caf4c4), closes #606

Features

  • formatter: added max-blank-lines flag to consolidate blank lines (4a7897f), closes #675
  • formatter: added support for symphony forms (e716ddc), closes #476

v1.30.2

11 months ago

1.30.2 (2023-06-02)

Bug Fixes

  • formatter: added quotes to json keys, added option to disable set/function formatting (6f7df03), closes #682

v1.30.1

11 months ago

1.30.1 (2023-06-02)

Bug Fixes

  • linter: added missing positive on H021 (221c31f), closes #678
  • linter: fixed false positive on H037 (3b2e522), closes #679

v1.30.0

11 months ago

1.30.0 (2023-05-30)

Bug Fixes

  • formatter: fixed endset indent level (cdebe42), closes #670
  • formatter: fixed issue with spaceless macro tags having spacess added before - (5593937), closes #667
  • npm: install exact version of djlint (0727279)

Features

  • npm: add script to update djlint version in postinstall using semantic-release/exec (040ffc6)