Skip to content

Commit a7b0cb3

Browse files
chore(release): prepare for v0.2.0
1 parent 8e51711 commit a7b0cb3

File tree

7 files changed

+33
-5
lines changed

7 files changed

+33
-5
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Changelog
22

3+
## [0.2.0](https://github.com/UnknownPlatypus/djangofmt/compare/v0.1.0..v0.2.0) - 2025-05-23
4+
5+
### ⛰️ Features
6+
7+
- _(cli)_ Add `indent_width` cli parameter ([#48](https://github.com/UnknownPlatypus/djangofmt/issues/48)) - ([b0d0219](https://github.com/UnknownPlatypus/djangofmt/commit/b0d021948d564282f32b95688f0d31cbd6d8e633))
8+
- _(fmt)_ Never wrap opening tag with no attrs ([#20](https://github.com/UnknownPlatypus/djangofmt/issues/20)) - ([8fb993a](https://github.com/UnknownPlatypus/djangofmt/commit/8fb993a37f3ce1fbeb911eb91f8d92485a7db62c))
9+
- _(format)_ Converge in one pass formatting style attr ([#50](https://github.com/UnknownPlatypus/djangofmt/issues/50)) - ([fadce6b](https://github.com/UnknownPlatypus/djangofmt/commit/fadce6b31b8345543419eb0c6c5703e80810b2ec))
10+
11+
### 🐛 Bug Fixes
12+
13+
- _(cli)_ Exit `1` on handled formatting failure - ([b7ebb78](https://github.com/UnknownPlatypus/djangofmt/commit/b7ebb789a865f62a58bb3b34cccaafea8f0e20e7))
14+
15+
### 🧪 Testing
16+
17+
- _(ecosystem-check)_ Stability test + Integration test with djade ([#51](https://github.com/UnknownPlatypus/djangofmt/issues/51)) - ([449456e](https://github.com/UnknownPlatypus/djangofmt/commit/449456e3c2da1f643402772ee555dc34fa8af132))
18+
- _(pre-commit.ci)_ Enable `pre-commit.ci` ([#15](https://github.com/UnknownPlatypus/djangofmt/issues/15)) - ([5ce836f](https://github.com/UnknownPlatypus/djangofmt/commit/5ce836f701c8082bfe56ebdbba05a00cf8644e5b))
19+
20+
### ⚙️ Miscellaneous Tasks
21+
22+
- _(markup_fmt)_ Bump `markup_fmt` to v0.20.0 ([#65](https://github.com/UnknownPlatypus/djangofmt/issues/65)) - ([070e2af](https://github.com/UnknownPlatypus/djangofmt/commit/070e2af30a1d888d66592324af5d77b10820b249))
23+
- _(rust)_ Rust 1.87 edition 2024 ([#55](https://github.com/UnknownPlatypus/djangofmt/issues/55)) - ([9aeb174](https://github.com/UnknownPlatypus/djangofmt/commit/9aeb174595bbb8d2da893dc41b3f4054368c71c9))
24+
25+
## New Contributors ❤️
26+
27+
- @renovate[bot] made their first contribution in [#64](https://github.com/UnknownPlatypus/djangofmt/pull/64)
28+
- @pre-commit-ci[bot] made their first contribution in [#52](https://github.com/UnknownPlatypus/djangofmt/pull/52)
29+
330
## [0.1.0] - 2025-03-12
431

532
Initial release!

Cargo.lock

Lines changed: 1 addition & 1 deletion
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
@@ -1,6 +1,6 @@
11
[package]
22
name = "djangofmt"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Thibaut Decombe <[email protected]>"]
55
edition = "2024"
66
exclude = ["/tests"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Sample `.pre-commit-config.yaml`:
3434

3535
```yaml
3636
- repo: https://github.com/UnknownPlatypus/djangofmt-pre-commit
37-
rev: v0.1.0
37+
rev: v0.2.0
3838
hooks:
3939
- id: djangofmt
4040
```

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ commit_preprocessors = [
148148
# Optionally sets the commit's scope and can decide to exclude commits from further processing.
149149
commit_parsers = [
150150
{ message = "^feat", group = "<!-- 0 -->⛰️ Features" },
151+
{ message = "^fix\\(deps\\)", skip = true },
151152
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
152153
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
153154
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo "Preparing $1..."
1414
# update the version in various files
1515
sed -E -i "s/^version = .*$/version = \"${1#v}\"/" Cargo.toml pyproject.toml
1616
sed -E -i "s/rev: v.*$/rev: v${1#v}/" README.md
17-
sed -E -i "s/djangofmt \d+.\d+.\d+/djangofmt ${1#v}/" src/args.rs
17+
sed -E -i "s/(djangofmt) [0-9]+\.[0-9]+\.[0-9]+/\1 ${1#v}/" src/args.rs
1818
# sync cargo.lock
1919
cargo build
2020
# update the changelog

src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ mod tests {
183183
success: true
184184
exit_code: 0
185185
----- stdout -----
186-
djangofmt 0.1.0
186+
djangofmt 0.2.0
187187
188188
----- stderr -----
189189
"###);

0 commit comments

Comments
 (0)