Skip to content

Releases: djlint/djLint

v1.34.0

20 Sep 06:38
Compare
Choose a tag to compare

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

18 Sep 09:46
Compare
Choose a tag to compare

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

20 Jul 11:29
Compare
Choose a tag to compare

1.32.1 (2023-07-20)

Bug Fixes

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

v1.32.0

19 Jul 02:19
Compare
Choose a tag to compare

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

26 Jun 18:34
Compare
Choose a tag to compare

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

12 Jun 21:37
Compare
Choose a tag to compare

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

02 Jun 18:55
Compare
Choose a tag to compare

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

02 Jun 15:02
Compare
Choose a tag to compare

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

30 May 18:40
Compare
Choose a tag to compare

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)

v1.29.0

22 May 15:38
Compare
Choose a tag to compare

1.29.0 (2023-05-22)

Bug Fixes

  • formatter: fix cases where ignore was still formatting set and function code (ab878ea), closes #659
  • formatter: fix extra parenth being added in a function call (faba4f4), closes #660
  • linter: fixed missing positive on a few <img rules (5f33d08)

Features

  • formatter: added option to disable newlines after yaml front matter (9bf64ac), closes #662
  • linter: allow codes to be ignored for remainder of file (4637a0f), closes #655