@j178/prek 0.5.10 → 0.5.12

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/README.md +35 -2
  3. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,67 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.12
4
+
5
+ Released on 2026-11-26.
6
+
7
+ ### Enhancements
8
+
9
+ - Explain empty final diffs after hook changes ([#3057](https://github.com/j178/prek/pull/3057))
10
+ - Replace pre-commit shims during installation ([#3054](https://github.com/j178/prek/pull/3054))
11
+
12
+ ### Performance
13
+
14
+ - Skip unnecessary content reads during file identification ([#3049](https://github.com/j178/prek/pull/3049))
15
+
16
+ ### Bug fixes
17
+
18
+ - Fix post-merge squash status environment variable ([#3053](https://github.com/j178/prek/pull/3053))
19
+ - Protect running hooks from cache cleanup ([#3068](https://github.com/j178/prek/pull/3068))
20
+ - Skip binary and BOM-marked UTF-16/32 files in text fixers ([#3058](https://github.com/j178/prek/pull/3058))
21
+ - Select Haskell package executables explicitly ([#3067](https://github.com/j178/prek/pull/3067))
22
+ - Skip unreleased `mise` versions ([#3071](https://github.com/j178/prek/pull/3071))
23
+
24
+ ### Documentation
25
+
26
+ - Add sponsor recognition to README and website ([#3051](https://github.com/j178/prek/pull/3051))
27
+
28
+ ### Contributors
29
+
30
+ - @tianhaogutum
31
+ - @j178
32
+ - @YvanY0
33
+ - @flying-sheep
34
+
35
+ ## 0.5.11
36
+
37
+ Released on 2026-11-16.
38
+
39
+ ### Enhancements
40
+
41
+ - Add `prek install --hook-command` to customize how Git hooks launch prek ([#3002](https://github.com/j178/prek/pull/3002))
42
+ - Bundle the `py.typed` marker in wheels ([#3011](https://github.com/j178/prek/pull/3011))
43
+ - Match installer glibc requirements to release builds ([#3024](https://github.com/j178/prek/pull/3024))
44
+ - Stream completed hook groups without progress output ([#3004](https://github.com/j178/prek/pull/3004))
45
+ - Support NUL-separated file lists with `--files0-from` ([#3013](https://github.com/j178/prek/pull/3013))
46
+
47
+ ### Performance
48
+
49
+ - Infer hook effects to skip unnecessary Git diffs ([#3014](https://github.com/j178/prek/pull/3014))
50
+ - Automatically group read-only hooks ([#3020](https://github.com/j178/prek/pull/3020))
51
+ - Cache file contents across read-only builtin hooks ([#3021](https://github.com/j178/prek/pull/3021))
52
+
53
+ ### Bug fixes
54
+
55
+ - Preserve number precision in `pretty-format-json` ([#3033](https://github.com/j178/prek/pull/3033))
56
+ - Quote installed hook arguments for the shell ([#3034](https://github.com/j178/prek/pull/3034))
57
+
58
+ ### Contributors
59
+
60
+ - @j178
61
+ - @patrick-immometrica
62
+ - @MaicoTimmerman
63
+ - @tisonkun
64
+
3
65
  ## 0.5.10
4
66
 
5
67
  Released on 2026-11-04.
package/README.md CHANGED
@@ -33,6 +33,39 @@ with pre-commit configurations and hooks, so you can use it as a drop-in replace
33
33
 
34
34
  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!
35
35
 
36
+ <!-- --8<-- [start:sponsors] -->
37
+
38
+ ## Sponsors
39
+
40
+ Thank you to everyone supporting prek's development, including our private sponsors.
41
+
42
+ ### Logo sponsors
43
+
44
+ <table>
45
+ <tr>
46
+ <td align="center" width="600">
47
+ <br />
48
+ <a href="https://github.com/sponsors/j178"><strong>Your logo here</strong></a>
49
+ <br />
50
+ Become a sponsor and feature your logo here.
51
+ <br /><br />
52
+ </td>
53
+ </tr>
54
+ </table>
55
+
56
+ ### Community sponsors
57
+
58
+ [Frost Ming](https://github.com/frostming) ·
59
+ [Corry Haines](https://github.com/tabletcorry) ·
60
+ [Alex Kraker](https://github.com/kraker) ·
61
+ [Janosh Riebesell](https://github.com/janosh) ·
62
+ [Udaya Prakash](https://github.com/udaya2899) ·
63
+ [openclaw](https://github.com/openclaw)
64
+
65
+ [Become a sponsor](https://github.com/sponsors/j178) and help keep prek growing.
66
+
67
+ <!-- --8<-- [end:sponsors] -->
68
+
36
69
  <!-- --8<-- [start:features] -->
37
70
 
38
71
  ## Features
@@ -59,7 +92,7 @@ On Linux and macOS:
59
92
  <!-- --8<-- [start: linux-standalone-install] -->
60
93
 
61
94
  ```bash
62
- curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.5.10/prek-installer.sh | sh
95
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.5.12/prek-installer.sh | sh
63
96
  ```
64
97
 
65
98
  <!-- --8<-- [end: linux-standalone-install] -->
@@ -69,7 +102,7 @@ On Windows:
69
102
  <!-- --8<-- [start: windows-standalone-install] -->
70
103
 
71
104
  ```powershell
72
- powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.5.10/prek-installer.ps1 | iex"
105
+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.5.12/prek-installer.ps1 | iex"
73
106
  ```
74
107
 
75
108
  <!-- --8<-- [end: windows-standalone-install] -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@j178/prek",
3
- "version": "0.5.10",
3
+ "version": "0.5.12",
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.10",
30
- "@j178/prek-darwin-x64": "0.5.10",
31
- "@j178/prek-linux-arm64-gnu": "0.5.10",
32
- "@j178/prek-linux-arm64-musl": "0.5.10",
33
- "@j178/prek-android-arm64": "0.5.10",
34
- "@j178/prek-linux-x64-gnu": "0.5.10",
35
- "@j178/prek-linux-x64-musl": "0.5.10",
36
- "@j178/prek-win32-arm64-msvc": "0.5.10",
37
- "@j178/prek-win32-x64-msvc": "0.5.10"
29
+ "@j178/prek-darwin-arm64": "0.5.12",
30
+ "@j178/prek-darwin-x64": "0.5.12",
31
+ "@j178/prek-linux-arm64-gnu": "0.5.12",
32
+ "@j178/prek-linux-arm64-musl": "0.5.12",
33
+ "@j178/prek-android-arm64": "0.5.12",
34
+ "@j178/prek-linux-x64-gnu": "0.5.12",
35
+ "@j178/prek-linux-x64-musl": "0.5.12",
36
+ "@j178/prek-win32-arm64-msvc": "0.5.12",
37
+ "@j178/prek-win32-x64-msvc": "0.5.12"
38
38
  }
39
39
  }