Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency djlint to v1.36.3 #2856

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 9, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
djlint ==1.34.0 -> ==1.36.3 age adoption passing confidence

Release Notes

djlint/djLint (djlint)

v1.36.3

Compare Source

This release reverts the following changes from the last release as they caused issues:

  • Fix specific mixture of quotes and escaped quotes (e.g. in a json string in an html attribute) breaks the html. Issue #​1048.
  • Resolve exclude paths. Issue #​1047.

v1.36.2

Compare Source

Fix:

  • Fix specific mixture of quotes and escaped quotes (e.g. in a json string in an html attribute) breaks the html. Thanks, @​oliverhaas.
  • Resolve exclude paths. Thanks, @​antoineauger.

Performance:

v1.36.1

Compare Source

v1.36.0

Compare Source

Feature
  • Add support for djlint.toml config file. The format is identical to pyproject.toml, but it does not use [tool.djlint] table.
Fix
  • Do not format HTML in attributes. Thanks, @​oliverhaas.
  • Fix using js_config instead of css_config.
Performance
  • Increase performance by ~30% by using regex more efficiently and caching more stuff.

v1.35.4

Compare Source

Compiled mypyc wheels are now also available, which improve performance by ~21% over Pure Python. They will be automatically installed by your package manager when available for your platform. Pure Python wheel is still available.

Other changes have been made to improve performance, thanks to @​JCWasmx86. See the commits for more details.

Formatting performance comparison with the previous version (tested on https://github.com/openedx/edx-platform with single thread):

Version Seconds
v1.35.3 20.39
v1.35.4 pure Python 14.39
v1.35.4 compiled 11.35

v1.35.3

Compare Source

This release significantly improves performance, especially for large files and large projects.

Formatting https://github.com/openedx/edx-platform took 87 seconds in the previous version, now it takes only 4 seconds (>2000% speedup)! Tested on a 32-core computer.

  • Performance improved by caching some functions. Thanks to @​JCWasmx86!
  • Removed the limitation on the number of workers introduced in v1.35.0.
  • Drop Python 3.8 support.

v1.35.2

Compare Source

  • Fix npm publishing

v1.35.1

Compare Source

  • Fix npm publishing

v1.35.0

Compare Source

  • Unpin dependencies upper bounds.
  • Use min(cpu_count, files_count, 4) workers. Use a thread instead of a process if only one worker will be used. This gives the best performance and low resource usage.
  • Refactor the code.
  • Fix max attribute length with longer regex custom html tags (#​884)
  • Fix Jinja formatting issues (#​715)
  • Fix: not detecting tabs as a valid seperation between tags (#​813)
  • Fix: Add ignore for sms links (#​815)
  • Fix: Allow attributes on <title> (#​830)

v1.34.2

Compare Source

Bug Fixes
  • max attribute length with longer regex custom html tags (#​884) (a8e3835)

v1.34.1

Compare Source

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

Configuration

📅 Schedule: 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Dec 9, 2024
@goapunk goapunk merged commit 066790c into main Dec 9, 2024
3 checks passed
@goapunk goapunk deleted the renovate/djlint-1.x branch December 9, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant