Skip to content

Commit 6da36f9

Browse files
chore(release): prepare for v0.2.5
1 parent 8c58c24 commit 6da36f9

File tree

6 files changed

+52
-16
lines changed

6 files changed

+52
-16
lines changed

CHANGELOG.md

Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,45 @@
11
# Changelog
22

3-
## [0.2.4](https://github.com/UnknownPlatypus/djangofmt/compare/v0.2.3..0.2.4) - 2025-12-15
3+
## [0.2.5](https://github.com/UnknownPlatypus/djangofmt/compare/v0.2.4..v0.2.5) - 2026-01-12
4+
5+
### ⛰️ Features
6+
7+
- *(debug)* Add debug logs on external formatter failures ([#143](https://github.com/UnknownPlatypus/djangofmt/issues/143)) - ([a5dda3b](https://github.com/UnknownPlatypus/djangofmt/commit/a5dda3bf4d11c94d0da4f667835d03074fb43cc2))
8+
- *(format)* Don't format django multiline comment tags (`{% comment %}...{% endcomment %}`) ([#162](https://github.com/UnknownPlatypus/djangofmt/issues/162)) - ([6a6ca10](https://github.com/UnknownPlatypus/djangofmt/commit/6a6ca106c3009fa85d7555b7f019f6c6de500620))
9+
- *(lint)* Show source file name in lint diagnostics ([#159](https://github.com/UnknownPlatypus/djangofmt/issues/159)) - ([6ee8c96](https://github.com/UnknownPlatypus/djangofmt/commit/6ee8c963af1bdefad0c6509f4f672be371e397aa))
10+
- *(lint)* Add building blocks for linting ([#144](https://github.com/UnknownPlatypus/djangofmt/issues/144)) - ([08a12a0](https://github.com/UnknownPlatypus/djangofmt/commit/08a12a05fb4037a8569b7ee10dfc49672058e682))
11+
- *(playground)* Add a "Open issue on Github" button in the playground ([#163](https://github.com/UnknownPlatypus/djangofmt/issues/163)) - ([ae247b3](https://github.com/UnknownPlatypus/djangofmt/commit/ae247b36c92434aa643c48515b017262312378a8))
12+
- *(playground)* Add a new collapsible panel to display linting errors ([#148](https://github.com/UnknownPlatypus/djangofmt/issues/148)) - ([067e4a0](https://github.com/UnknownPlatypus/djangofmt/commit/067e4a090d5a801cb31483461a90ed485797b4af))
13+
14+
### 🐛 Bug Fixes
15+
16+
- *(format)* Fixes handling of deprecated django `{% trans %}` tag ([#154](https://github.com/UnknownPlatypus/djangofmt/issues/154)) - ([8a7a64f](https://github.com/UnknownPlatypus/djangofmt/commit/8a7a64f041c7eecf4c04c84f3942a97e94ca578f))
17+
18+
### 🚜 Refactor
19+
20+
- *(format)* Remove `line_col_to_offset` and use miette `SourceOffset::from_location` for error reporting ([#145](https://github.com/UnknownPlatypus/djangofmt/issues/145)) - ([f8acc95](https://github.com/UnknownPlatypus/djangofmt/commit/f8acc953b8d34dd382c7e86b54f013b9fb5130e8))
21+
22+
### ⚡ Performance
23+
24+
- *(allocator)* Use jemalloc on linux ([#128](https://github.com/UnknownPlatypus/djangofmt/issues/128)) - ([4e92927](https://github.com/UnknownPlatypus/djangofmt/commit/4e92927ac3f3de5b2629ddcda446bd3b7462357f))
25+
- *(codspeed)* Setup Codspeed CI benchmarks ([#125](https://github.com/UnknownPlatypus/djangofmt/issues/125)) - ([0ea2b39](https://github.com/UnknownPlatypus/djangofmt/commit/0ea2b399dfd19c31b1d82c06c7cf10186f39456b))
26+
- *(perf)* Update the `lto` and `codegen-units` benchmark script ([#126](https://github.com/UnknownPlatypus/djangofmt/issues/126)) - ([ccd7edge](https://github.com/UnknownPlatypus/djangofmt/commit/ccd7edea4eaa3e30b2a1017b833d498b34b95c34))
27+
28+
### 🧪 Testing
29+
30+
- *(binary-size)* Add cargo-bloat ([#136](https://github.com/UnknownPlatypus/djangofmt/issues/136)) - ([2855cb2](https://github.com/UnknownPlatypus/djangofmt/commit/2855cb24535d75daa40d224e307f14f7729f41d5))
31+
- *(ci)* Skip codspeed in CI if no rust code changes ([#158](https://github.com/UnknownPlatypus/djangofmt/issues/158)) - ([8bf4432](https://github.com/UnknownPlatypus/djangofmt/commit/8bf4432cef316027a50324ce8dae9c54d480a459))
32+
- *(ci)* Cancel outdated ci jobs - ([18595c3](https://github.com/UnknownPlatypus/djangofmt/commit/18595c32391b441601fdd13d668f8fb32325b68a))
33+
- *(clippy)* Improve clippy configuration ([#156](https://github.com/UnknownPlatypus/djangofmt/issues/156)) - ([2de17b3](https://github.com/UnknownPlatypus/djangofmt/commit/2de17b3e70d3ec630e2f11cf28c3c5a86c949eaf))
34+
- *(pre-commit)* Switch to a managed `dprint` pre-commit integration ([#138](https://github.com/UnknownPlatypus/djangofmt/issues/138)) - ([1ccfba0](https://github.com/UnknownPlatypus/djangofmt/commit/1ccfba0f23dd5069aeb9ca3eb2709a82edf2a966))
35+
- *(pre-commit)* Simplify dprint discovery in pre-commit ([#137](https://github.com/UnknownPlatypus/djangofmt/issues/137)) - ([f4eb28c](https://github.com/UnknownPlatypus/djangofmt/commit/f4eb28c2ed38ac3a55f1aeb111749da32176b4ea))
36+
- *(review)* Add coderrabit ([#141](https://github.com/UnknownPlatypus/djangofmt/issues/141)) - ([bac6128](https://github.com/UnknownPlatypus/djangofmt/commit/bac6128b6f38dc2ac77dee8e8b727ab5b30b5f84))
37+
38+
## New Contributors ❤️
39+
40+
- @Mouarius made their first contribution in [#156](https://github.com/UnknownPlatypus/djangofmt/pull/156)
41+
42+
## [0.2.4](https://github.com/UnknownPlatypus/djangofmt/compare/v0.2.3..v0.2.4) - 2025-12-15
443

544
### ⛰️ Features
645

@@ -22,12 +61,6 @@
2261
- *(rust)* Bump rust version to 1.89 ([#110](https://github.com/UnknownPlatypus/djangofmt/issues/110)) - ([dcf68aa](https://github.com/UnknownPlatypus/djangofmt/commit/dcf68aa2b68ff01dc8e959d32b7b31fff6173cfe))
2362
- Update release script - ([815fd8c](https://github.com/UnknownPlatypus/djangofmt/commit/815fd8c6470dfc19656b74412b72bf6f7a58e2bf))
2463

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-
3164
## [0.2.3](https://github.com/UnknownPlatypus/djangofmt/compare/v0.2.2..v0.2.3) - 2025-11-30
3265

3366
### ⛰️ Features

Cargo.lock

Lines changed: 4 additions & 4 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
@@ -3,7 +3,7 @@ resolver = "3"
33
members = ["crates/*"]
44

55
[workspace.package]
6-
version = "0.2.4"
6+
version = "0.2.5"
77
authors = ["Thibaut Decombe <[email protected]>"]
88
# Please update rustfmt.toml when bumping the Rust edition
99
edition = "2024"

README.md

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

4848
```yaml
4949
- repo: https://github.com/UnknownPlatypus/djangofmt-pre-commit
50-
rev: v0.2.4
50+
rev: v0.2.5
5151
hooks:
5252
- id: djangofmt
5353
```
@@ -197,7 +197,7 @@ There is a dedicated pre-commit for these:
197197

198198
```yaml
199199
- repo: https://github.com/UnknownPlatypus/djangofmt-pre-commit
200-
rev: v0.2.4
200+
rev: v0.2.5
201201
hooks:
202202
- id: djangofmt-svg
203203
```

crates/djangofmt/src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ mod tests {
187187
success: true
188188
exit_code: 0
189189
----- stdout -----
190-
djangofmt 0.2.4
190+
djangofmt 0.2.5
191191
192192
----- stderr -----
193193
"###);

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "djangofmt"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
description = "A fast, HTML aware, Django template formatter, written in Rust."
55
readme = "README.md"
66
requires-python = ">=3.8"
@@ -137,11 +137,14 @@ commit_preprocessors = [
137137
# Optionally sets the commit's scope and can decide to exclude commits from further processing.
138138
commit_parsers = [
139139
{ message = "^feat", group = "<!-- 0 -->⛰️ Features" },
140+
{ message = "^fit", group = "<!-- 0 -->⛰️ Features" },
140141
{ message = "^fix\\(deps\\)", skip = true },
141142
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
142143
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
143144
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
145+
{ message = "^pref", group = "<!-- 4 -->⚡ Performance" },
144146
{ message = "^refactor\\(clippy\\)", skip = true },
147+
{ message = "^refactor\\(perf\\)", group = "<!-- 4 -->⚡ Performance" },
145148
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
146149
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
147150
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },

0 commit comments

Comments
 (0)