@j178/prek 0.4.5 → 0.4.7

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 +51 -0
  2. package/README.md +7 -7
  3. package/package.json +18 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.7
4
+
5
+ Released on 2026-07-04.
6
+
7
+ ### Enhancements
8
+
9
+ - Add default_env configuration ([#2288](https://github.com/j178/prek/pull/2288))
10
+ - Rename `auto-update` to `update` ([#2286](https://github.com/j178/prek/pull/2286))
11
+
12
+ ### Bug fixes
13
+
14
+ - Fix progress collapse ordering ([#2291](https://github.com/j178/prek/pull/2291))
15
+ - Fix progress insertion after collapsed rows ([#2292](https://github.com/j178/prek/pull/2292))
16
+
17
+ ### Contributors
18
+
19
+ - @j178
20
+
21
+ ## 0.4.6
22
+
23
+ Released on 2026-07-01.
24
+
25
+ ### Enhancements
26
+
27
+ - Verify managed toolchain downloads before installation ([#2229](https://github.com/j178/prek/pull/2229))
28
+ - Add `PREK_DOCKER_NO_INIT` to opt-out Docker `--init` ([#2242](https://github.com/j178/prek/pull/2242))
29
+ - Improve subprocess error messages ([#2257](https://github.com/j178/prek/pull/2257))
30
+ - Split run concurrency knobs: `PREK_CONCURRENT_HOOKS` and `PREK_CONCURRENT_BATCHES` ([#2276](https://github.com/j178/prek/pull/2276))
31
+
32
+ ### Performance
33
+
34
+ - Avoid allocating markdown extensions per file ([#2245](https://github.com/j178/prek/pull/2245))
35
+ - Avoid unchanged config tracking writes ([#2247](https://github.com/j178/prek/pull/2247))
36
+ - Delay trailing whitespace output buffer ([#2244](https://github.com/j178/prek/pull/2244))
37
+ - Prefilter VCS permalink lines ([#2253](https://github.com/j178/prek/pull/2253))
38
+ - Skip unnecessary submodule updates during hook repo clone ([#2255](https://github.com/j178/prek/pull/2255))
39
+
40
+ ### Documentation
41
+
42
+ - Document `language_version` inferring for Python and Go ([#2241](https://github.com/j178/prek/pull/2241))
43
+
44
+ ### Other changes
45
+
46
+ - Refactor env var handling ([#2277](https://github.com/j178/prek/pull/2277))
47
+ - Use `serde-saphyr` for YAML string quoting ([#2228](https://github.com/j178/prek/pull/2228))
48
+
49
+ ### Contributors
50
+
51
+ - @shaanmajid
52
+ - @j178
53
+
3
54
  ## 0.4.5
4
55
 
5
56
  Released on 2026-06-15.
package/README.md CHANGED
@@ -60,7 +60,7 @@ On Linux and macOS:
60
60
  <!-- --8<-- [start: linux-standalone-install] -->
61
61
 
62
62
  ```bash
63
- curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.5/prek-installer.sh | sh
63
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.7/prek-installer.sh | sh
64
64
  ```
65
65
 
66
66
  <!-- --8<-- [end: linux-standalone-install] -->
@@ -70,7 +70,7 @@ On Windows:
70
70
  <!-- --8<-- [start: windows-standalone-install] -->
71
71
 
72
72
  ```powershell
73
- powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.5/prek-installer.ps1 | iex"
73
+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.7/prek-installer.ps1 | iex"
74
74
  ```
75
75
 
76
76
  <!-- --8<-- [end: windows-standalone-install] -->
@@ -302,7 +302,7 @@ jobs:
302
302
  prek:
303
303
  runs-on: ubuntu-latest
304
304
  steps:
305
- - uses: actions/checkout@v6
305
+ - uses: actions/checkout@v7
306
306
  - uses: j178/prek-action@v2
307
307
  ```
308
308
 
@@ -370,9 +370,10 @@ prek self update
370
370
 
371
371
  ### prek includes security-focused safeguards
372
372
 
373
- - [`prek auto-update`](https://prek.j178.dev/reference/cli/#prek-auto-update) supports `--cooldown-days`, so you can keep newly published releases on hold for a cooling-off period before adopting them.
374
- - [`prek auto-update`](https://prek.j178.dev/reference/cli/#prek-auto-update) validates pinned SHA revisions against the fetched upstream refs, including impostor-commit detection, and keeps `# frozen:` comments in sync with the configured commit.
375
- - [`prek auto-update --check`](https://prek.j178.dev/reference/cli/#prek-auto-update--check) is useful in CI when you want updates or frozen-reference mismatches to fail the job without rewriting the config.
373
+ - For supported managed toolchain downloads, `prek` verifies the downloaded archive or installer checksum before extracting or installing it, helping ensure the integrity of downloaded toolchains.
374
+ - [`prek update`](https://prek.j178.dev/reference/cli/#prek-update) supports `--cooldown-days`, so you can keep newly published releases on hold for a cooling-off period before adopting them.
375
+ - [`prek update`](https://prek.j178.dev/reference/cli/#prek-update) validates pinned SHA revisions against the fetched upstream refs, including impostor-commit detection, and keeps `# frozen:` comments in sync with the configured commit.
376
+ - [`prek update --check`](https://prek.j178.dev/reference/cli/#prek-update--check) is useful in CI when you want updates or frozen-reference mismatches to fail the job without rewriting the config.
376
377
 
377
378
  For more detailed improvements prek offers, take a look at [Difference from pre-commit](https://prek.j178.dev/diff/).
378
379
 
@@ -399,7 +400,6 @@ GitHub stars are current as of April 15, 2026.
399
400
  - [Future-House/paper-qa](https://github.com/Future-House/paper-qa/pull/1098) <sub>8,377 stars</sub>
400
401
  - [getsentry/sentry](https://github.com/getsentry/sentry/pull/110808) <sub>43,639 stars</sub>
401
402
  - [godotengine/godot](https://github.com/godotengine/godot/pull/119150) <sub>110,312 stars</sub>
402
- - [Goldziher/kreuzberg](https://github.com/Goldziher/kreuzberg/pull/142) <sub>7,550 stars</sub>
403
403
  - [home-assistant/core](https://github.com/home-assistant/core/pull/160427) <sub>86,029 stars</sub>
404
404
  - [jcrist/msgspec](https://github.com/jcrist/msgspec/pull/918) <sub>3,692 stars</sub>
405
405
  - [jlowin/fastmcp](https://github.com/jlowin/fastmcp/pull/2309) <sub>24,539 stars</sub>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@j178/prek",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
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.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"
29
+ "@j178/prek-darwin-arm64": "0.4.7",
30
+ "@j178/prek-darwin-x64": "0.4.7",
31
+ "@j178/prek-linux-arm64-gnu": "0.4.7",
32
+ "@j178/prek-linux-arm64-musl": "0.4.7",
33
+ "@j178/prek-android-arm64": "0.4.7",
34
+ "@j178/prek-linux-arm-gnueabihf": "0.4.7",
35
+ "@j178/prek-linux-arm-musleabihf": "0.4.7",
36
+ "@j178/prek-linux-armv7-musleabihf": "0.4.7",
37
+ "@j178/prek-linux-ia32-gnu": "0.4.7",
38
+ "@j178/prek-linux-ia32-musl": "0.4.7",
39
+ "@j178/prek-linux-riscv64-gnu": "0.4.7",
40
+ "@j178/prek-linux-s390x-gnu": "0.4.7",
41
+ "@j178/prek-linux-x64-gnu": "0.4.7",
42
+ "@j178/prek-linux-x64-musl": "0.4.7",
43
+ "@j178/prek-win32-arm64-msvc": "0.4.7",
44
+ "@j178/prek-win32-ia32-msvc": "0.4.7",
45
+ "@j178/prek-win32-x64-msvc": "0.4.7"
46
46
  }
47
47
  }