diff --git a/CHANGELOG.md b/CHANGELOG.md index 46825639..bf1dbbb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ [Semantic Versioning](https://semver.org/) +## [1.35.4] - 2024-11-01 + +Compiled mypyc wheels are now also available for djLint, 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 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. diff --git a/package-lock.json b/package-lock.json index 28006549..17e38b50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "djlint", - "version": "1.35.3", + "version": "1.35.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "djlint", - "version": "1.35.3", + "version": "1.35.4", "hasInstallScript": true, "license": "GPL-3.0-or-later", "devDependencies": { diff --git a/package.json b/package.json index e2cbf5c5..8007a168 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "djlint", - "version": "1.35.3", + "version": "1.35.4", "description": "HTML Template Linter and Formatter", "keywords": [ "html template linter", @@ -35,7 +35,7 @@ }, "files": [], "scripts": { - "postinstall": "python3 -m pip install --upgrade djlint==1.35.3" + "postinstall": "python3 -m pip install --upgrade djlint==1.35.4" }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "4.3.1", diff --git a/pyproject.toml b/pyproject.toml index 790d8a3a..68abfeef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = ["hatchling"] [project] name = "djlint" -version = "1.35.3" +version = "1.35.4" description = "HTML Template Linter and Formatter" readme = "README.md" license = { text = "GPL-3.0-or-later" } diff --git a/uv.lock b/uv.lock index 12f8ca4a..6549d490 100644 --- a/uv.lock +++ b/uv.lock @@ -109,7 +109,7 @@ sdist = { url = "https://files.pythonhosted.org/packages/e5/66/9bfd2d69fb4479d38 [[package]] name = "djlint" -version = "1.35.3" +version = "1.35.4" source = { editable = "." } dependencies = [ { name = "click" },