Skip to content

Commit b7a7bec

Browse files
authored
Bump version to 0.2.29 (#1374)
1 parent f6731ad commit b7a7bec

File tree

6 files changed

+84
-35
lines changed

6 files changed

+84
-35
lines changed

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
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

553
Released on 2026-01-13.

Cargo.lock

Lines changed: 28 additions & 27 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.28"
6+
version = "0.2.29"
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.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

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.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

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.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

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.28 /prek /usr/local/bin/prek
17+
COPY --from=ghcr.io/j178/prek:v0.2.29 /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.28 --version
23+
docker run --rm ghcr.io/j178/prek:v0.2.29 --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.28"
3+
version = "0.2.29"
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)