Skip to content

Commit 4b7521b

Browse files
authored
Bump version to 0.2.28 (#1349)
1 parent 44f0e05 commit 4b7521b

File tree

6 files changed

+79
-51
lines changed

6 files changed

+79
-51
lines changed

CHANGELOG.md

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

3+
## 0.2.28
4+
5+
Released on 2026-01-13.
6+
7+
### Enhancements
8+
9+
- Avoid running `git diff` for skipped hooks ([#1335](https://github.com/j178/prek/pull/1335))
10+
- More accurate command line length limit calculation ([#1348](https://github.com/j178/prek/pull/1348))
11+
- Raise platform command line length upper limit ([#1347](https://github.com/j178/prek/pull/1347))
12+
- Use `/bin/sh` in generated git hook scripts ([#1333](https://github.com/j178/prek/pull/1333))
13+
14+
### Bug fixes
15+
16+
- Avoid rewriting if config is up-to-date ([#1346](https://github.com/j178/prek/pull/1346))
17+
18+
### Documentation
19+
20+
- Add `ty` to the users of prek ([#1342](https://github.com/j178/prek/pull/1342))
21+
- Add `ruff` to the users of prek ([#1334](https://github.com/j178/prek/pull/1334))
22+
- Complete configuration document ([#1338](https://github.com/j178/prek/pull/1338))
23+
- Document UV environment variable inheritance in prek ([#1339](https://github.com/j178/prek/pull/1339))
24+
25+
### Contributors
26+
27+
- @copilot-swe-agent
28+
- @MatthewMckee4
29+
- @yihong0618
30+
- @j178
31+
332
## 0.2.27
433

534
Released on 2026-01-07.

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ members = ["crates/*"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.2.27"
6+
version = "0.2.28"
77
edition = "2024"
88
repository = "https://github.com/j178/prek"
99
homepage = "https://prek.j178.dev/"
1010
license = "MIT"
1111

1212
[workspace.dependencies]
13-
prek-consts = { path = "crates/prek-consts", version = "0.2.27" }
14-
prek-pty = { path = "crates/prek-pty", version = "0.2.27" }
13+
prek-consts = { path = "crates/prek-consts", version = "0.2.28" }
14+
prek-pty = { path = "crates/prek-pty", version = "0.2.28" }
1515

1616
anstream = { version = "0.6.15" }
1717
anstyle-query = { version = "1.1.5" }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ On Linux and macOS:
5858

5959
<!-- linux-standalone-install:start -->
6060
```bash
61-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.27/prek-installer.sh | sh
61+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.28/prek-installer.sh | sh
6262
```
6363
<!-- linux-standalone-install:end -->
6464

6565
On Windows:
6666

6767
<!-- windows-standalone-install:start -->
6868
```powershell
69-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.27/prek-installer.ps1 | iex"
69+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.28/prek-installer.ps1 | iex"
7070
```
7171
<!-- windows-standalone-install:end -->
7272

docs/integrations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ A common pattern is to copy the binary into your own image:
1414

1515
```dockerfile
1616
FROM debian:bookworm-slim
17-
COPY --from=ghcr.io/j178/prek:v0.2.27 /prek /usr/local/bin/prek
17+
COPY --from=ghcr.io/j178/prek:v0.2.28 /prek /usr/local/bin/prek
1818
```
1919

2020
If you prefer, you can also run the distroless image directly:
2121

2222
```bash
23-
docker run --rm ghcr.io/j178/prek:v0.2.27 --version
23+
docker run --rm ghcr.io/j178/prek:v0.2.28 --version
2424
```
2525

2626
## GitHub Actions

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "prek"
3-
version = "0.2.27"
3+
version = "0.2.28"
44
description = "Better `pre-commit`, re-engineered in Rust"
55
authors = [{ name = "j178", email = "hi@j178.dev" }]
66
requires-python = ">=3.8"

0 commit comments

Comments
 (0)