@j178/prek 0.4.5 → 0.4.6

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 +33 -0
  2. package/README.md +4 -3
  3. package/package.json +18 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.6
4
+
5
+ Released on 2026-07-01.
6
+
7
+ ### Enhancements
8
+
9
+ - Verify managed toolchain downloads before installation ([#2229](https://github.com/j178/prek/pull/2229))
10
+ - Add `PREK_DOCKER_NO_INIT` to opt-out Docker `--init` ([#2242](https://github.com/j178/prek/pull/2242))
11
+ - Improve subprocess error messages ([#2257](https://github.com/j178/prek/pull/2257))
12
+ - Split run concurrency knobs: `PREK_CONCURRENT_HOOKS` and `PREK_CONCURRENT_BATCHES` ([#2276](https://github.com/j178/prek/pull/2276))
13
+
14
+ ### Performance
15
+
16
+ - Avoid allocating markdown extensions per file ([#2245](https://github.com/j178/prek/pull/2245))
17
+ - Avoid unchanged config tracking writes ([#2247](https://github.com/j178/prek/pull/2247))
18
+ - Delay trailing whitespace output buffer ([#2244](https://github.com/j178/prek/pull/2244))
19
+ - Prefilter VCS permalink lines ([#2253](https://github.com/j178/prek/pull/2253))
20
+ - Skip unnecessary submodule updates during hook repo clone ([#2255](https://github.com/j178/prek/pull/2255))
21
+
22
+ ### Documentation
23
+
24
+ - Document `language_version` inferring for Python and Go ([#2241](https://github.com/j178/prek/pull/2241))
25
+
26
+ ### Other changes
27
+
28
+ - Refactor env var handling ([#2277](https://github.com/j178/prek/pull/2277))
29
+ - Use `serde-saphyr` for YAML string quoting ([#2228](https://github.com/j178/prek/pull/2228))
30
+
31
+ ### Contributors
32
+
33
+ - @shaanmajid
34
+ - @j178
35
+
3
36
  ## 0.4.5
4
37
 
5
38
  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.6/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.6/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,6 +370,7 @@ prek self update
370
370
 
371
371
  ### prek includes security-focused safeguards
372
372
 
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.
373
374
  - [`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
375
  - [`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
376
  - [`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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@j178/prek",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
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.6",
30
+ "@j178/prek-darwin-x64": "0.4.6",
31
+ "@j178/prek-linux-arm64-gnu": "0.4.6",
32
+ "@j178/prek-linux-arm64-musl": "0.4.6",
33
+ "@j178/prek-android-arm64": "0.4.6",
34
+ "@j178/prek-linux-arm-gnueabihf": "0.4.6",
35
+ "@j178/prek-linux-arm-musleabihf": "0.4.6",
36
+ "@j178/prek-linux-armv7-musleabihf": "0.4.6",
37
+ "@j178/prek-linux-ia32-gnu": "0.4.6",
38
+ "@j178/prek-linux-ia32-musl": "0.4.6",
39
+ "@j178/prek-linux-riscv64-gnu": "0.4.6",
40
+ "@j178/prek-linux-s390x-gnu": "0.4.6",
41
+ "@j178/prek-linux-x64-gnu": "0.4.6",
42
+ "@j178/prek-linux-x64-musl": "0.4.6",
43
+ "@j178/prek-win32-arm64-msvc": "0.4.6",
44
+ "@j178/prek-win32-ia32-msvc": "0.4.6",
45
+ "@j178/prek-win32-x64-msvc": "0.4.6"
46
46
  }
47
47
  }