@j178/prek 0.4.4 → 0.4.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 +47 -0
- package/README.md +4 -7
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.5
|
|
4
|
+
|
|
5
|
+
Released on 2026-06-15.
|
|
6
|
+
|
|
7
|
+
### ✨Highlights
|
|
8
|
+
|
|
9
|
+
0.4.5 completes `prek`'s pre-commit language coverage. With R, Conda, Perl,
|
|
10
|
+
and coursier now supported, `prek` supports every language available in
|
|
11
|
+
pre-commit, plus `prek`-only modern languages such as Bun and Deno.
|
|
12
|
+
|
|
13
|
+
This is full feature parity with pre-commit. The last major compatibility gap
|
|
14
|
+
is closed, and `prek` is now on the path to 1.0.
|
|
15
|
+
|
|
16
|
+
### 💚 Sponsorship
|
|
17
|
+
|
|
18
|
+
If `prek` saves time for you or your team, please consider sponsoring the
|
|
19
|
+
project on [GitHub Sponsors](https://github.com/sponsors/j178). It helps keep
|
|
20
|
+
new features, performance work, and maintenance moving.
|
|
21
|
+
|
|
22
|
+
### Enhancements
|
|
23
|
+
|
|
24
|
+
- Add `Perl` language support ([#2201](https://github.com/j178/prek/pull/2201))
|
|
25
|
+
- Add `R` language support ([#2206](https://github.com/j178/prek/pull/2206))
|
|
26
|
+
- Add `Conda` language support ([#2203](https://github.com/j178/prek/pull/2203))
|
|
27
|
+
- Add `coursier` language support ([#2194](https://github.com/j178/prek/pull/2194))
|
|
28
|
+
- Add group filters to list ([#2152](https://github.com/j178/prek/pull/2152))
|
|
29
|
+
- Remove legacy repo path support ([#2150](https://github.com/j178/prek/pull/2150))
|
|
30
|
+
- Skip cloning fully filtered remote repos ([#2151](https://github.com/j178/prek/pull/2151))
|
|
31
|
+
|
|
32
|
+
### Performance
|
|
33
|
+
|
|
34
|
+
- Avoid building JSON trees in syntax hooks ([#2156](https://github.com/j178/prek/pull/2156))
|
|
35
|
+
- Scan mixed line endings without line vector ([#2160](https://github.com/j178/prek/pull/2160))
|
|
36
|
+
- Skip file scan for always-run no-filename hooks ([#2155](https://github.com/j178/prek/pull/2155))
|
|
37
|
+
- Use fixed buffer for EOF scan ([#2163](https://github.com/j178/prek/pull/2163))
|
|
38
|
+
- Use fixed buffer for private key scan ([#2164](https://github.com/j178/prek/pull/2164))
|
|
39
|
+
|
|
40
|
+
### Bug fixes
|
|
41
|
+
|
|
42
|
+
- Fix pretty-format-json CRLF handling ([#2210](https://github.com/j178/prek/pull/2210))
|
|
43
|
+
- Handle missing blobs in diff snapshots ([#2211](https://github.com/j178/prek/pull/2211))
|
|
44
|
+
- Ignore coursier channel from working repo ([#2202](https://github.com/j178/prek/pull/2202))
|
|
45
|
+
|
|
46
|
+
### Contributors
|
|
47
|
+
|
|
48
|
+
- @j178
|
|
49
|
+
|
|
3
50
|
## 0.4.4
|
|
4
51
|
|
|
5
52
|
Released on 2026-06-04.
|
package/README.md
CHANGED
|
@@ -18,16 +18,13 @@
|
|
|
18
18
|
[pre-commit](https://pre-commit.com/) is a framework to run hooks written in many languages, and it manages the
|
|
19
19
|
language toolchain and dependencies for running the hooks.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
prek is a reimagined version of pre-commit, built in Rust.
|
|
22
22
|
It is designed to be a faster, dependency-free and drop-in alternative for it,
|
|
23
23
|
while also providing some additional long-requested features.
|
|
24
24
|
|
|
25
25
|
<!-- --8<-- [end: description] -->
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
> Although prek is pretty new, it’s already powering real‑world projects like [CPython](https://github.com/python/cpython), [Apache Airflow](https://github.com/apache/airflow), [FastAPI](https://github.com/fastapi/fastapi), and more projects are picking it up—see [Who is using prek?](#who-is-using-prek). If you’re looking for an alternative to `pre-commit`, please give it a try—we’d love your feedback!
|
|
29
|
-
>
|
|
30
|
-
> Please note that some languages are not yet supported for full drop‑in parity with `pre-commit`. See [Language Support](https://prek.j178.dev/languages/) for current status.
|
|
27
|
+
Although prek is pretty new, it’s already powering real‑world projects like [CPython](https://github.com/python/cpython), [Apache Airflow](https://github.com/apache/airflow), [FastAPI](https://github.com/fastapi/fastapi), and more projects are picking it up—see [Who is using prek?](#who-is-using-prek). If you’re looking for an alternative to `pre-commit`, please give it a try—we’d love your feedback!
|
|
31
28
|
|
|
32
29
|
<!-- --8<-- [start:features] -->
|
|
33
30
|
|
|
@@ -63,7 +60,7 @@ On Linux and macOS:
|
|
|
63
60
|
<!-- --8<-- [start: linux-standalone-install] -->
|
|
64
61
|
|
|
65
62
|
```bash
|
|
66
|
-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.
|
|
63
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.5/prek-installer.sh | sh
|
|
67
64
|
```
|
|
68
65
|
|
|
69
66
|
<!-- --8<-- [end: linux-standalone-install] -->
|
|
@@ -73,7 +70,7 @@ On Windows:
|
|
|
73
70
|
<!-- --8<-- [start: windows-standalone-install] -->
|
|
74
71
|
|
|
75
72
|
```powershell
|
|
76
|
-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.
|
|
73
|
+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.5/prek-installer.ps1 | iex"
|
|
77
74
|
```
|
|
78
75
|
|
|
79
76
|
<!-- --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.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,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.5",
|
|
30
|
+
"@j178/prek-darwin-x64": "0.4.5",
|
|
31
|
+
"@j178/prek-linux-arm64-gnu": "0.4.5",
|
|
32
|
+
"@j178/prek-linux-arm64-musl": "0.4.5",
|
|
33
|
+
"@j178/prek-android-arm64": "0.4.5",
|
|
34
|
+
"@j178/prek-linux-arm-gnueabihf": "0.4.5",
|
|
35
|
+
"@j178/prek-linux-arm-musleabihf": "0.4.5",
|
|
36
|
+
"@j178/prek-linux-armv7-musleabihf": "0.4.5",
|
|
37
|
+
"@j178/prek-linux-ia32-gnu": "0.4.5",
|
|
38
|
+
"@j178/prek-linux-ia32-musl": "0.4.5",
|
|
39
|
+
"@j178/prek-linux-riscv64-gnu": "0.4.5",
|
|
40
|
+
"@j178/prek-linux-s390x-gnu": "0.4.5",
|
|
41
|
+
"@j178/prek-linux-x64-gnu": "0.4.5",
|
|
42
|
+
"@j178/prek-linux-x64-musl": "0.4.5",
|
|
43
|
+
"@j178/prek-win32-arm64-msvc": "0.4.5",
|
|
44
|
+
"@j178/prek-win32-ia32-msvc": "0.4.5",
|
|
45
|
+
"@j178/prek-win32-x64-msvc": "0.4.5"
|
|
46
46
|
}
|
|
47
47
|
}
|