diff --git a/CHANGELOG.md b/CHANGELOG.md index bc1486f13..76544a756 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ [Semantic Versioning](https://semver.org/) +## [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](https://mypyc.readthedocs.io/en/stable/introduction.html) 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. diff --git a/package-lock.json b/package-lock.json index 2a27fdc0a..061ed3153 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "djlint", - "version": "1.35.4", + "version": "1.36.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "djlint", - "version": "1.35.4", + "version": "1.36.0", "hasInstallScript": true, "license": "GPL-3.0-or-later", "devDependencies": { diff --git a/package.json b/package.json index 8007a1684..736dda512 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "djlint", - "version": "1.35.4", + "version": "1.36.0", "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.4" + "postinstall": "python3 -m pip install --upgrade djlint==1.36.0" }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "4.3.1", diff --git a/pyproject.toml b/pyproject.toml index a24a83942..ae962cae2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = ["hatchling"] [project] name = "djlint" -version = "1.35.4" +version = "1.36.0" 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 295a0a1ce..74b928802 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.4" +version = "1.36.0" source = { editable = "." } dependencies = [ { name = "click" },