Skip to content

Commit f44270e

Browse files
authored
Bump version 0.4.4 (#2148)
1 parent da457c5 commit f44270e

7 files changed

Lines changed: 74 additions & 15 deletions

File tree

‎CHANGELOG.md‎

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

3+
## 0.4.4
4+
5+
Released on 2026-06-04.
6+
7+
### Highlights
8+
9+
0.4.4 makes `prek run` easier to watch and easier to slice.
10+
11+
Hook stream output now shows a small live preview under the running hook in the
12+
progress UI. Long-running hooks no longer look stuck while they are producing
13+
logs, and failed hooks are easier to diagnose because recent output is already
14+
visible before the final result.
15+
16+
The new group selector lets a single config support different workflows. Tag
17+
hooks with `groups`, then select or exclude those groups at run time:
18+
19+
```yaml
20+
repos:
21+
- repo: local
22+
hooks:
23+
- id: format
24+
name: Format Python
25+
language: system
26+
entry: ruff format
27+
groups: [format, ci]
28+
29+
- id: lint
30+
name: Lint Python
31+
language: system
32+
entry: ruff check
33+
groups: [lint, ci]
34+
```
35+
36+
```bash
37+
prek run --all-files --group ci
38+
prek run --all-files --no-group format
39+
```
40+
41+
This is useful when local development, CI, slow validation, or project-specific
42+
checks need different hook sets without splitting the config.
43+
44+
### Enhancements
45+
46+
- Add hook group filters to `prek run` ([#2141](https://github.com/j178/prek/pull/2141))
47+
- Delay hook output preview rendering ([#2140](https://github.com/j178/prek/pull/2140))
48+
- Stream hook output in progress UI ([#2136](https://github.com/j178/prek/pull/2136))
49+
50+
### Bug fixes
51+
52+
- Fix intent-to-add stash restore ([#2143](https://github.com/j178/prek/pull/2143))
53+
54+
### Documentation
55+
56+
- Document hook stage file input ([#2147](https://github.com/j178/prek/pull/2147))
57+
58+
### Contributors
59+
60+
- @j178
61+
362
## 0.4.3
463

564
Released on 2026-05-27.

‎Cargo.lock‎

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

‎Cargo.toml‎

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

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

1313
[workspace.dependencies]
14-
prek-consts = { path = "crates/prek-consts", version = "0.4.3" }
15-
prek-identify = { path = "crates/prek-identify", version = "0.4.3" }
16-
prek-pty = { path = "crates/prek-pty", version = "0.4.3" }
14+
prek-consts = { path = "crates/prek-consts", version = "0.4.4" }
15+
prek-identify = { path = "crates/prek-identify", version = "0.4.4" }
16+
prek-pty = { path = "crates/prek-pty", version = "0.4.4" }
1717

1818
aho-corasick = { version = "1.1.4" }
1919
annotate-snippets = { version = "0.12.13" }

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ On Linux and macOS:
6363
<!-- --8<-- [start: linux-standalone-install] -->
6464

6565
```bash
66-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.3/prek-installer.sh | sh
66+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.4/prek-installer.sh | sh
6767
```
6868

6969
<!-- --8<-- [end: linux-standalone-install] -->
@@ -73,7 +73,7 @@ On Windows:
7373
<!-- --8<-- [start: windows-standalone-install] -->
7474

7575
```powershell
76-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.3/prek-installer.ps1 | iex"
76+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.4/prek-installer.ps1 | iex"
7777
```
7878

7979
<!-- --8<-- [end: windows-standalone-install] -->

‎docs/integrations.md‎

Lines changed: 3 additions & 3 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.4.3 /prek /usr/local/bin/prek
17+
COPY --from=ghcr.io/j178/prek:v0.4.4 /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.4.3 --version
23+
docker run --rm ghcr.io/j178/prek:v0.4.4 --version
2424
```
2525

2626
### Verifying Images
@@ -43,7 +43,7 @@ Loaded 1 attestation from GitHub API
4343

4444
!!! tip
4545

46-
Use a specific version tag (e.g., `ghcr.io/j178/prek:v0.4.3`) or image
46+
Use a specific version tag (e.g., `ghcr.io/j178/prek:v0.4.4`) or image
4747
digest rather than `latest` for verification.
4848

4949
## GitHub Actions

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "prek"
7-
version = "0.4.3"
7+
version = "0.4.4"
88
description = "A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined."
99
authors = [{ name = "j178", email = "[email protected]" }]
1010
requires-python = ">=3.8"

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

0 commit comments

Comments
 (0)