@j178/prek 0.2.28 → 0.2.30

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 CHANGED
@@ -1,5 +1,79 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.30
4
+
5
+ Released on 2026-01-18.
6
+
7
+ ### Enhancements
8
+
9
+ - Build binaries using minimal-size profile ([#1376](https://github.com/j178/prek/pull/1376))
10
+ - Check for duplicate keys in `check-json5` builtin hook ([#1387](https://github.com/j178/prek/pull/1387))
11
+ - Preserve quoting style in `auto-update` ([#1379](https://github.com/j178/prek/pull/1379))
12
+ - Show warning if file lock acquiring blocks for long time ([#1353](https://github.com/j178/prek/pull/1353))
13
+ - Singleflight Python health checks with cached interpreter info ([#1381](https://github.com/j178/prek/pull/1381))
14
+
15
+ ### Bug fixes
16
+
17
+ - Do not resolve entry for docker_image ([#1386](https://github.com/j178/prek/pull/1386))
18
+ - Fix command lookup on Windows ([#1383](https://github.com/j178/prek/pull/1383))
19
+
20
+ ### Documentation
21
+
22
+ - Document language support details ([#1380](https://github.com/j178/prek/pull/1380))
23
+ - Document that `check-json5` now rejects duplicate keys ([#1391](https://github.com/j178/prek/pull/1391))
24
+
25
+ ### Contributors
26
+
27
+ - @j178
28
+
29
+ ## 0.2.29
30
+
31
+ Released on 2026-01-16.
32
+
33
+ ### Highlights
34
+
35
+ `files` / `exclude` now support globs (including glob lists), making config filters much easier to read and maintain than heavily-escaped regex.
36
+
37
+ Before (regex):
38
+
39
+ ```yaml
40
+ files: "^(src/.*\\.rs$|crates/[^/]+/src/.*\\.rs$)"
41
+ ```
42
+
43
+ After (glob list):
44
+
45
+ ```yaml
46
+ files:
47
+ glob:
48
+ - src/**/*.rs
49
+ - crates/**/src/**/*.rs
50
+ ```
51
+
52
+ ### Enhancements
53
+
54
+ - Add `check-json5` as builtin hooks ([#1367](https://github.com/j178/prek/pull/1367))
55
+ - Add glob list support for file patterns (`files` and `exclude`) ([#1197](https://github.com/j178/prek/pull/1197))
56
+
57
+ ### Bug fixes
58
+
59
+ - Fix missing commit hash from version info ([#1352](https://github.com/j178/prek/pull/1352))
60
+ - Remove git env vars from `uv pip install` subprocess ([#1355](https://github.com/j178/prek/pull/1355))
61
+ - Set `TERM=dumb` under PTY to prevent capability-probe hangs ([#1363](https://github.com/j178/prek/pull/1363))
62
+
63
+ ### Documentation
64
+
65
+ - Add `home-assistant/core` to the users of prek ([#1350](https://github.com/j178/prek/pull/1350))
66
+ - Document builtin hooks ([#1370](https://github.com/j178/prek/pull/1370))
67
+ - Explain project configuration scope ([#1373](https://github.com/j178/prek/pull/1373))
68
+
69
+ ### Contributors
70
+
71
+ - @Goldziher
72
+ - @yihong0618
73
+ - @j178
74
+ - @shaanmajid
75
+ - @ulgens
76
+
3
77
  ## 0.2.28
4
78
 
5
79
  Released on 2026-01-13.
package/README.md CHANGED
@@ -58,7 +58,7 @@ On Linux and macOS:
58
58
 
59
59
  <!-- linux-standalone-install:start -->
60
60
  ```bash
61
- curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.28/prek-installer.sh | sh
61
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.30/prek-installer.sh | sh
62
62
  ```
63
63
  <!-- linux-standalone-install:end -->
64
64
 
@@ -66,7 +66,7 @@ On Windows:
66
66
 
67
67
  <!-- windows-standalone-install:start -->
68
68
  ```powershell
69
- powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.28/prek-installer.ps1 | iex"
69
+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.30/prek-installer.ps1 | iex"
70
70
  ```
71
71
  <!-- windows-standalone-install:end -->
72
72
 
@@ -257,7 +257,7 @@ jobs:
257
257
  prek:
258
258
  runs-on: ubuntu-latest
259
259
  steps:
260
- - uses: actions/checkout@v5
260
+ - uses: actions/checkout@v6
261
261
  - uses: j178/prek-action@v1
262
262
  ```
263
263
 
@@ -320,6 +320,7 @@ prek is pretty new, but it is already being used or recommend by some projects a
320
320
  - [fastapi/asyncer](https://github.com/fastapi/asyncer/pull/437)
321
321
  - [astral-sh/ruff](https://github.com/astral-sh/ruff/pull/22505)
322
322
  - [astral-sh/ty](https://github.com/astral-sh/ty/pull/2469)
323
+ - [home-assistant/core](https://github.com/home-assistant/core/pull/160427)
323
324
  - [DetachHead/basedpyright](https://github.com/DetachHead/basedpyright/pull/1413)
324
325
  - [OpenLineage/OpenLineage](https://github.com/OpenLineage/OpenLineage/pull/3965)
325
326
  - [authlib/authlib](https://github.com/authlib/authlib/pull/804)
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@j178/prek",
26
- "version": "0.2.28"
26
+ "version": "0.2.30"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -515,5 +515,5 @@
515
515
  }
516
516
  },
517
517
  "requires": true,
518
- "version": "0.2.28"
518
+ "version": "0.2.30"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.28",
2
+ "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.30",
3
3
  "author": "j178 <hi@j178.dev>",
4
4
  "bin": {
5
5
  "prek": "run-prek.js"
@@ -210,7 +210,7 @@
210
210
  "zipExt": ".tar.gz"
211
211
  }
212
212
  },
213
- "version": "0.2.28",
213
+ "version": "0.2.30",
214
214
  "volta": {
215
215
  "node": "18.14.1",
216
216
  "npm": "9.5.0"