File tree Expand file tree Collapse file tree 6 files changed +79
-51
lines changed
Expand file tree Collapse file tree 6 files changed +79
-51
lines changed Original file line number Diff line number Diff line change 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
534Released on 2026-01-07.
Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ members = ["crates/*"]
33resolver = " 2"
44
55[workspace .package ]
6- version = " 0.2.27 "
6+ version = " 0.2.28 "
77edition = " 2024"
88repository = " https://github.com/j178/prek"
99homepage = " https://prek.j178.dev/"
1010license = " 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
1616anstream = { version = " 0.6.15" }
1717anstyle-query = { version = " 1.1.5" }
Original file line number Diff line number Diff 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
6565On 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
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ A common pattern is to copy the binary into your own image:
1414
1515``` dockerfile
1616FROM 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
2020If 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
Original file line number Diff line number Diff line change 11[project ]
22name = " prek"
3- version = " 0.2.27 "
3+ version = " 0.2.28 "
44description = " Better `pre-commit`, re-engineered in Rust"
55authors = [{ name = " j178" , email = " hi@j178.dev" }]
66requires-python = " >=3.8"
You can’t perform that action at this time.
0 commit comments