chore(deps): update dependency djlint to v1.36.3
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
djlint | dev | minor |
1.34.1 -> 1.36.3
|
⚠️ WarningSome dependencies could not be looked up. Check the warning logs for more information.
Release Notes
djlint/djLint (djlint)
v1.36.3
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
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:
- Minor regex indent optimization. Thanks, @oliverhaas.
v1.36.1
- Improve performance by ~30%. Thanks, @oliverhaas.
v1.36.0
Feature
- Add support for
djlint.toml
config file. The format is identical topyproject.toml
, but it does not use[tool.djlint]
table.
Fix
- Do not format HTML in attributes. Thanks, @oliverhaas.
- Fix using
js_config
instead ofcss_config
.
Performance
- Increase performance by ~30% by using regex more efficiently and caching more stuff.
v1.35.4
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
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
- Fix npm publishing
v1.35.1
- Fix npm publishing
v1.35.0
- 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 (#830)
v1.34.2
Bug Fixes
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.