@j178/prek 0.5.4 → 0.5.5
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 +49 -0
- package/README.md +4 -4
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.5
|
|
4
|
+
|
|
5
|
+
Released on 2026-10-05.
|
|
6
|
+
|
|
7
|
+
### Enhancements
|
|
8
|
+
|
|
9
|
+
- Add Nushell completion generation ([#2785](https://github.com/j178/prek/pull/2785))
|
|
10
|
+
- Add `ppc64le` wheel and binary builds ([#2809](https://github.com/j178/prek/pull/2809))
|
|
11
|
+
|
|
12
|
+
### Performance
|
|
13
|
+
|
|
14
|
+
- Avoid JSON imports when querying Python interpreters ([#2790](https://github.com/j178/prek/pull/2790))
|
|
15
|
+
- Avoid duplicate diffs after hooks rewrite files ([#2815](https://github.com/j178/prek/pull/2815))
|
|
16
|
+
- Batch file reads in shebang checks ([#2793](https://github.com/j178/prek/pull/2793))
|
|
17
|
+
- Check cached hook environments concurrently ([#2797](https://github.com/j178/prek/pull/2797))
|
|
18
|
+
- Overlap Git discovery with worktree status checks ([#2821](https://github.com/j178/prek/pull/2821))
|
|
19
|
+
- Query staged additions only for case conflicts ([#2802](https://github.com/j178/prek/pull/2802))
|
|
20
|
+
- Reduce worker overhead in XML and pygrep checks ([#2789](https://github.com/j178/prek/pull/2789))
|
|
21
|
+
- Reuse Git worktree state during hook startup ([#2787](https://github.com/j178/prek/pull/2787))
|
|
22
|
+
- Reuse intent-to-add paths when saving unstaged changes ([#2788](https://github.com/j178/prek/pull/2788))
|
|
23
|
+
- Run Git queries concurrently for case-conflict checks ([#2792](https://github.com/j178/prek/pull/2792))
|
|
24
|
+
- Share Bun and Deno version queries across environments ([#2795](https://github.com/j178/prek/pull/2795))
|
|
25
|
+
- Share Lua runtime probes across hook environments ([#2796](https://github.com/j178/prek/pull/2796))
|
|
26
|
+
- Share Ruby version queries across hook environments ([#2794](https://github.com/j178/prek/pull/2794))
|
|
27
|
+
- Share mise version queries across hook environments ([#2798](https://github.com/j178/prek/pull/2798))
|
|
28
|
+
- Skip site initialization in Python interpreter probes ([#2822](https://github.com/j178/prek/pull/2822))
|
|
29
|
+
- Skip untracked files in destroyed symlink checks ([#2799](https://github.com/j178/prek/pull/2799))
|
|
30
|
+
- Skip unused file input for always-run hooks ([#2813](https://github.com/j178/prek/pull/2813))
|
|
31
|
+
|
|
32
|
+
### Bug fixes
|
|
33
|
+
|
|
34
|
+
- Preserve staged and unstaged changes on conflicted stash restore ([#2803](https://github.com/j178/prek/pull/2803))
|
|
35
|
+
- Default missing `core.fileMode` in shebang checks ([#2832](https://github.com/j178/prek/pull/2832))
|
|
36
|
+
- Match protected branch patterns from the start ([#2829](https://github.com/j178/prek/pull/2829))
|
|
37
|
+
- Normalize explicit paths in shebang index checks ([#2831](https://github.com/j178/prek/pull/2831))
|
|
38
|
+
- Preserve empty `trailing-whitespace` character sets ([#2830](https://github.com/j178/prek/pull/2830))
|
|
39
|
+
- Reject empty files in `check-json` ([#2826](https://github.com/j178/prek/pull/2826))
|
|
40
|
+
- Reject trailing data in `check-json` ([#2828](https://github.com/j178/prek/pull/2828))
|
|
41
|
+
- Round up file sizes in `check-added-large-files` ([#2827](https://github.com/j178/prek/pull/2827))
|
|
42
|
+
|
|
43
|
+
### Documentation
|
|
44
|
+
|
|
45
|
+
- Redesign the prek badge and refresh logo details ([#2818](https://github.com/j178/prek/pull/2818))
|
|
46
|
+
|
|
47
|
+
### Contributors
|
|
48
|
+
|
|
49
|
+
- @imphil
|
|
50
|
+
- @j178
|
|
51
|
+
|
|
3
52
|
## 0.5.4
|
|
4
53
|
|
|
5
54
|
Released on 2026-09-28.
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<a href="https://trendshift.io/repositories/14578?utm_source=repository-badge&utm_medium=badge&utm_campaign=badge-repository-14578" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/14578" alt="j178%2Fprek | Trendshift" width="250" height="55"/></a>
|
|
9
9
|
|
|
10
|
-
[](https://github.com/j178/prek)
|
|
11
11
|
[](https://pypi.python.org/pypi/prek)
|
|
12
12
|
[](https://codecov.io/github/j178/prek)
|
|
13
13
|
[](https://pepy.tech/projects/prek)
|
|
@@ -59,7 +59,7 @@ On Linux and macOS:
|
|
|
59
59
|
<!-- --8<-- [start: linux-standalone-install] -->
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
|
-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.5.
|
|
62
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.5.5/prek-installer.sh | sh
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
<!-- --8<-- [end: linux-standalone-install] -->
|
|
@@ -69,7 +69,7 @@ On Windows:
|
|
|
69
69
|
<!-- --8<-- [start: windows-standalone-install] -->
|
|
70
70
|
|
|
71
71
|
```powershell
|
|
72
|
-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.5.
|
|
72
|
+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.5.5/prek-installer.ps1 | iex"
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
<!-- --8<-- [end: windows-standalone-install] -->
|
|
@@ -152,7 +152,7 @@ cargo binstall prek
|
|
|
152
152
|
|
|
153
153
|
<!-- --8<-- [start: cargo-install] -->
|
|
154
154
|
|
|
155
|
-
Build from source using Cargo (Rust 1.
|
|
155
|
+
Build from source using Cargo (Rust 1.97+ is required):
|
|
156
156
|
|
|
157
157
|
```bash
|
|
158
158
|
cargo install --locked prek
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@j178/prek",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
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,14 +26,14 @@
|
|
|
26
26
|
"LICENSE"
|
|
27
27
|
],
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@j178/prek-darwin-arm64": "0.5.
|
|
30
|
-
"@j178/prek-darwin-x64": "0.5.
|
|
31
|
-
"@j178/prek-linux-arm64-gnu": "0.5.
|
|
32
|
-
"@j178/prek-linux-arm64-musl": "0.5.
|
|
33
|
-
"@j178/prek-android-arm64": "0.5.
|
|
34
|
-
"@j178/prek-linux-x64-gnu": "0.5.
|
|
35
|
-
"@j178/prek-linux-x64-musl": "0.5.
|
|
36
|
-
"@j178/prek-win32-arm64-msvc": "0.5.
|
|
37
|
-
"@j178/prek-win32-x64-msvc": "0.5.
|
|
29
|
+
"@j178/prek-darwin-arm64": "0.5.5",
|
|
30
|
+
"@j178/prek-darwin-x64": "0.5.5",
|
|
31
|
+
"@j178/prek-linux-arm64-gnu": "0.5.5",
|
|
32
|
+
"@j178/prek-linux-arm64-musl": "0.5.5",
|
|
33
|
+
"@j178/prek-android-arm64": "0.5.5",
|
|
34
|
+
"@j178/prek-linux-x64-gnu": "0.5.5",
|
|
35
|
+
"@j178/prek-linux-x64-musl": "0.5.5",
|
|
36
|
+
"@j178/prek-win32-arm64-msvc": "0.5.5",
|
|
37
|
+
"@j178/prek-win32-x64-msvc": "0.5.5"
|
|
38
38
|
}
|
|
39
39
|
}
|