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

Bump djlint from 1.19.16 to 1.36.3 #13192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2024

Bumps djlint from 1.19.16 to 1.36.3.

Release notes

Sourced from djlint's releases.

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:

v1.36.1

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.

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.

... (truncated)

Changelog

Sourced from djlint's changelog.

[1.36.3] - 2024-11-29

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.

[1.36.2] - 2024-11-28

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:

[1.36.1] - 2024-11-07

[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

... (truncated)

Commits
  • b9afbf2 chore: v1.36.3
  • 1fb7968 Revert "Fix #1015: Specific mixture of quotes and escaped quotes (e.g. in a j...
  • 2a43d61 chore(deps): update pre-commit hook charliermarsh/ruff-pre-commit to v0.8.1 (...
  • dd3c8bc refactor: simplify get_src
  • d527f98 Revert "fix(src): resolve exclude paths (#1034)"
  • 0c58a5c chore: v1.36.2
  • 2ddeb42 chore(deps): update dependency tomli to v2.2.1 (#1046)
  • bccc364 fix(src): resolve exclude paths (#1034)
  • cd26c1f chore(deps): update pre-commit hook rbubley/mirrors-prettier to v3.4.1 (#1045)
  • 4c823cf chore(deps): lock file maintenance (#1044)
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

┆Issue is synchronized with this Jira Story

Bumps [djlint](https://github.com/djlint/djLint) from 1.19.16 to 1.36.3.
- [Release notes](https://github.com/djlint/djLint/releases)
- [Changelog](https://github.com/djlint/djLint/blob/master/CHANGELOG.md)
- [Commits](djlint/djLint@v1.19.16...v1.36.3)

---
updated-dependencies:
- dependency-name: djlint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added backend dependencies Pull requests that update a dependency file engineering pip Used for dependabot PR's having to do with pip/python labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend dependencies Pull requests that update a dependency file engineering pip Used for dependabot PR's having to do with pip/python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants