Skip to content

Commit 284c49b

Browse files
chore(release): prepare for 0.2.4
1 parent 815fd8c commit 284c49b

File tree

6 files changed

+36
-8
lines changed

6 files changed

+36
-8
lines changed

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,34 @@
11
# Changelog
22

3-
## [0.2.3](https://github.com/UnknownPlatypus/djangofmt/compare/v0.2.2..0.2.3) - 2025-11-30
3+
## [0.2.4](https://github.com/UnknownPlatypus/djangofmt/compare/v0.2.3..0.2.4) - 2025-12-15
4+
5+
### ⛰️ Features
6+
7+
- *(format)* Auto-sort css statements using `smacss` ordering and enforce `%` in keyframes ([#114](https://github.com/UnknownPlatypus/djangofmt/issues/114)) - ([1dd641f](https://github.com/UnknownPlatypus/djangofmt/commit/1dd641fedc4a07f826c95935d4ceb9d68e0a0070))
8+
- *(format)* Auto-indent `<script>` tag content ([#115](https://github.com/UnknownPlatypus/djangofmt/issues/115)) - ([d959cf0](https://github.com/UnknownPlatypus/djangofmt/commit/d959cf060622a9e6b20f022e22b9c7ad538852f3))
9+
- *(format)* Keep style attribute value on a single line ([#113](https://github.com/UnknownPlatypus/djangofmt/issues/113)) - ([7c2f33c](https://github.com/UnknownPlatypus/djangofmt/commit/7c2f33ca3987ed659dcfb91e4b13999bb4694dde))
10+
- *(format)* Skip file parsing if there is a top-level `<!-- djangofmt:ignore -->` ([#112](https://github.com/UnknownPlatypus/djangofmt/issues/112)) - ([fcbab9b](https://github.com/UnknownPlatypus/djangofmt/commit/fcbab9b3cc2315b930314a78b4643dd23ce5ba10))
11+
- *(format)* Improve formatting of `style` tags and attributes ([#111](https://github.com/UnknownPlatypus/djangofmt/issues/111)) - ([24920db](https://github.com/UnknownPlatypus/djangofmt/commit/24920db6e561ae3360d5b972dd66c7d8fe3b777b))
12+
- *(playground)* Add playground deploy to release workflow ([#124](https://github.com/UnknownPlatypus/djangofmt/issues/124)) - ([124b149](https://github.com/UnknownPlatypus/djangofmt/commit/124b14995a7a5611bc84f00d6493f1cddb1ca928))
13+
- *(playground)* Add an online playground ([#118](https://github.com/UnknownPlatypus/djangofmt/issues/118)) - ([a655190](https://github.com/UnknownPlatypus/djangofmt/commit/a655190832fbd78e06c86f00cc5d7ecb3e7bb28b))
14+
- *(playground)* Expose a wasm format command ([#122](https://github.com/UnknownPlatypus/djangofmt/issues/122)) - ([847d3d8](https://github.com/UnknownPlatypus/djangofmt/commit/847d3d830a66239ef06d07827a73ec7d4914aa1a))
15+
16+
### 🚜 Refactor
17+
18+
- *(cargo)* Switch to workspace setup ([#121](https://github.com/UnknownPlatypus/djangofmt/issues/121)) - ([ad75960](https://github.com/UnknownPlatypus/djangofmt/commit/ad75960ee2a7d972a92b7ec078837d9031ef451e))
19+
20+
### ⚙️ Miscellaneous Tasks
21+
22+
- *(rust)* Bump rust version to 1.89 ([#110](https://github.com/UnknownPlatypus/djangofmt/issues/110)) - ([dcf68aa](https://github.com/UnknownPlatypus/djangofmt/commit/dcf68aa2b68ff01dc8e959d32b7b31fff6173cfe))
23+
- Update release script - ([815fd8c](https://github.com/UnknownPlatypus/djangofmt/commit/815fd8c6470dfc19656b74412b72bf6f7a58e2bf))
24+
25+
## New Contributors ❤️
26+
27+
- @UnknownPlatypus made their first contribution in [#124](https://github.com/UnknownPlatypus/djangofmt/pull/124)
28+
- @renovate[bot] made their first contribution in [#119](https://github.com/UnknownPlatypus/djangofmt/pull/119)
29+
- @pre-commit-ci[bot] made their first contribution in [#109](https://github.com/UnknownPlatypus/djangofmt/pull/109)
30+
31+
## [0.2.3](https://github.com/UnknownPlatypus/djangofmt/compare/v0.2.2..v0.2.3) - 2025-11-30
432

533
### ⛰️ Features
634

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default-members = ["crates/djangofmt"]
44
resolver = "3"
55

66
[workspace.package]
7-
version = "0.2.3"
7+
version = "0.2.4"
88
authors = ["Thibaut Decombe <[email protected]>"]
99
# Please update rustfmt.toml when bumping the Rust edition
1010
edition = "2024"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Sample `.pre-commit-config.yaml`:
4646

4747
```yaml
4848
- repo: https://github.com/UnknownPlatypus/djangofmt-pre-commit
49-
rev: v0.2.3
49+
rev: v0.2.4
5050
hooks:
5151
- id: djangofmt
5252
```
@@ -196,7 +196,7 @@ There is a dedicated pre-commit for these:
196196

197197
```yaml
198198
- repo: https://github.com/UnknownPlatypus/djangofmt-pre-commit
199-
rev: v0.2.3
199+
rev: v0.2.4
200200
hooks:
201201
- id: djangofmt-svg
202202
```

crates/djangofmt/src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ mod tests {
184184
success: true
185185
exit_code: 0
186186
----- stdout -----
187-
djangofmt 0.2.3
187+
djangofmt 0.2.4
188188
189189
----- stderr -----
190190
"###);

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "djangofmt"
7-
version = "0.2.3"
7+
version = "0.2.4"
88
description = "A fast, HTML aware, Django template formatter, written in Rust."
99
readme = "README.md"
1010
keywords = [

0 commit comments

Comments
 (0)