Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps djlint from 1.34.1 to 1.36.2.

Release notes

Sourced from djlint's releases.

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.

  • 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

... (truncated)

Changelog

Sourced from djlint's changelog.

[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

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

... (truncated)

Commits
  • 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)
  • bad9aa6 chore(deps): update dependency prettier to v3.4.1 (#1043)
  • 1f44b8d chore(deps): update pre-commit hook rbubley/mirrors-prettier to v3.4.0 (#1042)
  • 30fab48 chore(deps): update dependency prettier to v3.4.0 (#1041)
  • f5d1adf chore(deps): update dependency prettier-plugin-packagejson to v2.5.6 (#1039)
  • 66d25f7 chore(deps): lock file maintenance (#1038)
  • 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)

Bumps [djlint](https://github.com/djlint/djLint) from 1.34.1 to 1.36.2.
- [Release notes](https://github.com/djlint/djLint/releases)
- [Changelog](https://github.com/djlint/djLint/blob/master/CHANGELOG.md)
- [Commits](djlint/djLint@v1.34.1...v1.36.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 29, 2024
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 2, 2024

Superseded by #44.

@dependabot dependabot bot closed this Dec 2, 2024
@dependabot dependabot bot deleted the dependabot/pip/djlint-1.36.2 branch December 2, 2024 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant