@j178/prek 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +77 -0
- package/README.md +3 -3
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,82 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
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
|
+
|
|
62
|
+
## 0.4.3
|
|
63
|
+
|
|
64
|
+
Released on 2026-05-27.
|
|
65
|
+
|
|
66
|
+
### Bug fixes
|
|
67
|
+
|
|
68
|
+
- Ignore stat-only hook rewrites ([#2131](https://github.com/j178/prek/pull/2131))
|
|
69
|
+
|
|
70
|
+
### Sponsorship
|
|
71
|
+
|
|
72
|
+
If `prek` saves time for you or your team, please consider sponsoring the
|
|
73
|
+
project on [GitHub Sponsors](https://github.com/sponsors/j178). It helps keep
|
|
74
|
+
new features, performance work, and maintenance moving.
|
|
75
|
+
|
|
76
|
+
### Contributors
|
|
77
|
+
|
|
78
|
+
- @stevbev
|
|
79
|
+
|
|
3
80
|
## 0.4.2
|
|
4
81
|
|
|
5
82
|
Released on 2026-05-26.
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[](https://github.com/j178/prek)
|
|
9
9
|
[](https://pypi.python.org/pypi/prek)
|
|
10
10
|
[](https://codecov.io/github/j178/prek)
|
|
11
|
-
[](https://pepy.tech/projects/prek)
|
|
12
12
|
[](https://discord.gg/3NRJUqJz86)
|
|
13
13
|
|
|
14
14
|
</div>
|
|
@@ -63,7 +63,7 @@ On Linux and macOS:
|
|
|
63
63
|
<!-- --8<-- [start: linux-standalone-install] -->
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
|
-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.
|
|
66
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.4/prek-installer.sh | sh
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
<!-- --8<-- [end: linux-standalone-install] -->
|
|
@@ -73,7 +73,7 @@ On Windows:
|
|
|
73
73
|
<!-- --8<-- [start: windows-standalone-install] -->
|
|
74
74
|
|
|
75
75
|
```powershell
|
|
76
|
-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.
|
|
76
|
+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.4/prek-installer.ps1 | iex"
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
<!-- --8<-- [end: windows-standalone-install] -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@j178/prek",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,22 +26,22 @@
|
|
|
26
26
|
"LICENSE"
|
|
27
27
|
],
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@j178/prek-darwin-arm64": "0.4.
|
|
30
|
-
"@j178/prek-darwin-x64": "0.4.
|
|
31
|
-
"@j178/prek-linux-arm64-gnu": "0.4.
|
|
32
|
-
"@j178/prek-linux-arm64-musl": "0.4.
|
|
33
|
-
"@j178/prek-android-arm64": "0.4.
|
|
34
|
-
"@j178/prek-linux-arm-gnueabihf": "0.4.
|
|
35
|
-
"@j178/prek-linux-arm-musleabihf": "0.4.
|
|
36
|
-
"@j178/prek-linux-armv7-musleabihf": "0.4.
|
|
37
|
-
"@j178/prek-linux-ia32-gnu": "0.4.
|
|
38
|
-
"@j178/prek-linux-ia32-musl": "0.4.
|
|
39
|
-
"@j178/prek-linux-riscv64-gnu": "0.4.
|
|
40
|
-
"@j178/prek-linux-s390x-gnu": "0.4.
|
|
41
|
-
"@j178/prek-linux-x64-gnu": "0.4.
|
|
42
|
-
"@j178/prek-linux-x64-musl": "0.4.
|
|
43
|
-
"@j178/prek-win32-arm64-msvc": "0.4.
|
|
44
|
-
"@j178/prek-win32-ia32-msvc": "0.4.
|
|
45
|
-
"@j178/prek-win32-x64-msvc": "0.4.
|
|
29
|
+
"@j178/prek-darwin-arm64": "0.4.4",
|
|
30
|
+
"@j178/prek-darwin-x64": "0.4.4",
|
|
31
|
+
"@j178/prek-linux-arm64-gnu": "0.4.4",
|
|
32
|
+
"@j178/prek-linux-arm64-musl": "0.4.4",
|
|
33
|
+
"@j178/prek-android-arm64": "0.4.4",
|
|
34
|
+
"@j178/prek-linux-arm-gnueabihf": "0.4.4",
|
|
35
|
+
"@j178/prek-linux-arm-musleabihf": "0.4.4",
|
|
36
|
+
"@j178/prek-linux-armv7-musleabihf": "0.4.4",
|
|
37
|
+
"@j178/prek-linux-ia32-gnu": "0.4.4",
|
|
38
|
+
"@j178/prek-linux-ia32-musl": "0.4.4",
|
|
39
|
+
"@j178/prek-linux-riscv64-gnu": "0.4.4",
|
|
40
|
+
"@j178/prek-linux-s390x-gnu": "0.4.4",
|
|
41
|
+
"@j178/prek-linux-x64-gnu": "0.4.4",
|
|
42
|
+
"@j178/prek-linux-x64-musl": "0.4.4",
|
|
43
|
+
"@j178/prek-win32-arm64-msvc": "0.4.4",
|
|
44
|
+
"@j178/prek-win32-ia32-msvc": "0.4.4",
|
|
45
|
+
"@j178/prek-win32-x64-msvc": "0.4.4"
|
|
46
46
|
}
|
|
47
47
|
}
|