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

Update djlint requirement from ~=1.35.2 to ~=1.36.0 #495

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2024

Updates the requirements on djlint to permit the latest version.

Release notes

Sourced from djlint's releases.

v1.36.0

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.
Changelog

Sourced from djlint's changelog.

[1.36.0] - 2024-11-05

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.

[1.35.4] - 2024-11-01

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

[1.35.3] - 2024-10-30

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.

[1.35.2] - 2024-08-29

  • Fix npm publishing

[1.35.1] - 2024-08-29

  • Fix npm publishing

[1.35.0] - 2024-08-29

  • Unpin dependencies upper bounds.

... (truncated)

Commits
  • 14530c8 chore: v1.36.0
  • d97be3b fix: types.py -> types.pyi
  • 012ee62 chore(deps): lock file maintenance
  • 1afeeb8 fix: fix type hint
  • 1e6c68b perf: cache helpers.overlaps.ignored_block
  • 858ed23 perf: use .span() instead of separate .start() and .end() in regex
  • dc5791a perf: use re.finditer more efficiently
  • 784ce72 fix: fix typo
  • d1806ec fix: simplify some code
  • 7f8ee71 fix: replace some Any type hints
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [djlint](https://github.com/djlint/djLint) to permit the latest version.
- [Release notes](https://github.com/djlint/djLint/releases)
- [Changelog](https://github.com/djlint/djLint/blob/master/CHANGELOG.md)
- [Commits](djlint/djLint@v1.35.2...v1.36.0)

---
updated-dependencies:
- dependency-name: djlint
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the 📦 dependencies Update of dependencies label Nov 6, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 8, 2024

Superseded by #496.

@dependabot dependabot bot closed this Nov 8, 2024
@dependabot dependabot bot deleted the dependabot/pip/djlint-approx-eq-1.36.0 branch November 8, 2024 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant