File tree Expand file tree Collapse file tree 6 files changed +84
-35
lines changed
Expand file tree Collapse file tree 6 files changed +84
-35
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.2.29
4+
5+ Released on 2026-01-16.
6+
7+ ### Highlights
8+
9+ ` files ` / ` exclude ` now support globs (including glob lists), making config filters much easier to read and maintain than heavily-escaped regex.
10+
11+ Before (regex):
12+
13+ ``` yaml
14+ files : " ^(src/.*\\ .rs$|crates/[^/]+/src/.*\\ .rs$)"
15+ ` ` `
16+
17+ After (glob list):
18+
19+ ` ` ` yaml
20+ files :
21+ glob :
22+ - src/**/*.rs
23+ - crates/**/src/**/*.rs
24+ ` ` `
25+
26+ ### Enhancements
27+
28+ - Add ` check-json5` as builtin hooks ([#1367](https://github.com/j178/prek/pull/1367))
29+ - Add glob list support for file patterns (`files` and `exclude`) ([#1197](https://github.com/j178/prek/pull/1197))
30+
31+ # ## Bug fixes
32+
33+ - Fix missing commit hash from version info ([#1352](https://github.com/j178/prek/pull/1352))
34+ - Remove git env vars from `uv pip install` subprocess ([#1355](https://github.com/j178/prek/pull/1355))
35+ - Set `TERM=dumb` under PTY to prevent capability-probe hangs ([#1363](https://github.com/j178/prek/pull/1363))
36+
37+ # ## Documentation
38+
39+ - Add `home-assistant/core` to the users of prek ([#1350](https://github.com/j178/prek/pull/1350))
40+ - Document builtin hooks ([#1370](https://github.com/j178/prek/pull/1370))
41+ - Explain project configuration scope ([#1373](https://github.com/j178/prek/pull/1373))
42+
43+ # ## Contributors
44+
45+ - @Goldziher
46+ - @yihong0618
47+ - @j178
48+ - @shaanmajid
49+ - @ulgens
50+
351# # 0.2.28
452
553Released on 2026-01-13.
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.28 "
6+ version = " 0.2.29 "
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.28 " }
14- prek-pty = { path = " crates/prek-pty" , version = " 0.2.28 " }
13+ prek-consts = { path = " crates/prek-consts" , version = " 0.2.29 " }
14+ prek-pty = { path = " crates/prek-pty" , version = " 0.2.29 " }
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.28 /prek-installer.sh | sh
61+ curl --proto ' =https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.29 /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.28 /prek-installer.ps1 | iex"
69+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.29 /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.28 /prek /usr/local/bin/prek
17+ COPY --from=ghcr.io/j178/prek:v0.2.29 /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.28 --version
23+ docker run --rm ghcr.io/j178/prek:v0.2.29 --version
2424```
2525
2626## GitHub Actions
Original file line number Diff line number Diff line change 11[project ]
22name = " prek"
3- version = " 0.2.28 "
3+ version = " 0.2.29 "
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