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: bump djlint from 1.35.2 to 1.36.1 #2254

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps djlint from 1.35.2 to 1.36.1.

Release notes

Sourced from djlint's releases.

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

Sourced from djlint's changelog.

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

  • 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.
Commits
  • f908697 chore: v1.36.1
  • 92e2e84 chore(deps): lock file maintenance
  • 96fec0e chore(deps): update dependency @​ianvs/prettier-plugin-sort-imports to v4.4.0
  • a705055 chore(deps): lock file maintenance
  • 21dc6a1 perf: simple skip for unformatted blocks (#1005)
  • 9dc7ea3 chore(deps): lock file maintenance
  • 14530c8 chore: v1.36.0
  • d97be3b fix: types.py -> types.pyi
  • 012ee62 chore(deps): lock file maintenance
  • 1afeeb8 fix: fix type hint
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 11, 2024
Bumps [djlint](https://github.com/djlint/djLint) from 1.35.2 to 1.36.1.
- [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.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/djlint-1.36.1 branch from bbd3590 to 4a523b4 Compare November 11, 2024 18:02
@davidbgk davidbgk merged commit ec05014 into master Nov 11, 2024
4 checks passed
@davidbgk davidbgk deleted the dependabot/pip/djlint-1.36.1 branch November 11, 2024 18:10
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