@j178/prek 0.2.24 → 0.2.26

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,63 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.26
4
+
5
+ Released on 2026-01-07.
6
+
7
+ ### Highlights
8
+
9
+ `python/cpython` is now [using](https://github.com/j178/prek/pull/1308) prek. That’s the highlight of this release!
10
+
11
+ ### Enhancements
12
+
13
+ - Add hook-level `env` option to set environment variables for hooks (#1279) ([#1285](https://github.com/j178/prek/pull/1285))
14
+ - Support apple's `container` for docker language ([#1306](https://github.com/j178/prek/pull/1306))
15
+ - Skip cookiecutter template directories like `{{cookiecutter.project_slug}}` during project discovery ([#1316](https://github.com/j178/prek/pull/1316))
16
+ - Use global `CONCURRENCY` for repo clone ([#1292](https://github.com/j178/prek/pull/1292))
17
+ - untar: disallow external symlinks ([#1314](https://github.com/j178/prek/pull/1314))
18
+
19
+ ### Bug fixes
20
+
21
+ - Exit with success if no hooks match the hook stage ([#1317](https://github.com/j178/prek/pull/1317))
22
+ - Fix Go template string to detect rootless podman ([#1302](https://github.com/j178/prek/pull/1302))
23
+ - Panic on overly long filenames instead of silently dropping files ([#1287](https://github.com/j178/prek/pull/1287))
24
+
25
+ ### Other changes
26
+
27
+ - Add `python/cpython` to users ([#1308](https://github.com/j178/prek/pull/1308))
28
+ - Add `MoonshotAI/kimi-cli` to users ([#1286](https://github.com/j178/prek/pull/1286))
29
+
30
+ ### Contributors
31
+
32
+ - @ulgens
33
+ - @loganaden
34
+ - @danielparks
35
+ - @branchv
36
+ - @j178
37
+ - @yihong0618
38
+ - @mocknen
39
+ - @copilot-swe-agent
40
+ - @ZhuoZhuoCrayon
41
+
42
+ ## 0.2.25
43
+
44
+ Released on 2025-12-27.
45
+
46
+ ### Performance
47
+
48
+ - Use `git cat-file -e` in check if a rev exists ([#1277](https://github.com/j178/prek/pull/1277))
49
+
50
+ ### Bug fixes
51
+
52
+ - Fix `priority` not applied for remote hooks ([#1281](https://github.com/j178/prek/pull/1281))
53
+ - Report config file parsing error in `auto-update` ([#1274](https://github.com/j178/prek/pull/1274))
54
+ - Unset `GIT_DIR` for auto-update ([#1269](https://github.com/j178/prek/pull/1269))
55
+
56
+ ### Contributors
57
+
58
+ - @j178
59
+ - @branchv
60
+
3
61
  ## 0.2.24
4
62
 
5
63
  Released on 2025-12-23.
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.24/prek-installer.sh | sh
61
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.26/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.24/prek-installer.ps1 | iex"
69
+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.26/prek-installer.ps1 | iex"
70
70
  ```
71
71
  <!-- windows-standalone-install:end -->
72
72
 
@@ -312,22 +312,26 @@ For more detailed improvements prek offers, take a look at [Difference from pre-
312
312
 
313
313
  prek is pretty new, but it is already being used or recommend by some projects and organizations:
314
314
 
315
- - [Apache Airflow](https://github.com/apache/airflow/issues/44995)
316
- - [PDM](https://github.com/pdm-project/pdm/pull/3593)
317
- - [FastAPI](https://github.com/fastapi/fastapi/pull/14572)
318
- - [basedpyright](https://github.com/DetachHead/basedpyright/pull/1413)
319
- - [OpenLineage](https://github.com/OpenLineage/OpenLineage/pull/3965)
320
- - [Authlib](https://github.com/authlib/authlib/pull/804)
321
- - [pre-commit-crocodile](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile/)
322
- - [PaperQA2](https://github.com/Future-House/paper-qa/pull/1098)
323
- - [requests-cache](https://github.com/requests-cache/requests-cache/pull/1116)
324
- - [kreuzberg](https://github.com/Goldziher/kreuzberg/pull/142)
325
- - [attrs](https://github.com/python-attrs/attrs/commit/c95b177682e76a63478d29d040f9cb36a8d31915#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449)
326
- - [FastMCP](https://github.com/jlowin/fastmcp/pull/2309)
327
- - [iceberg-python](https://github.com/apache/iceberg-python/pull/2533)
328
- - [msgspec](https://github.com/jcrist/msgspec/pull/918)
329
- - [humanize](https://github.com/python-humanize/humanize/pull/276)
330
- - [nf-core](https://github.com/nf-core/tools/pull/3899)
315
+ - [apache/airflow](https://github.com/apache/airflow/issues/44995)
316
+ - [python/cpython](https://github.com/python/cpython/issues/143148)
317
+ - [pdm-project/pdm](https://github.com/pdm-project/pdm/pull/3593)
318
+ - [fastapi/fastapi](https://github.com/fastapi/fastapi/pull/14572)
319
+ - [fastapi/typer](https://github.com/fastapi/typer/pull/1453)
320
+ - [fastapi/asyncer](https://github.com/fastapi/asyncer/pull/437)
321
+ - [DetachHead/basedpyright](https://github.com/DetachHead/basedpyright/pull/1413)
322
+ - [OpenLineage/OpenLineage](https://github.com/OpenLineage/OpenLineage/pull/3965)
323
+ - [authlib/authlib](https://github.com/authlib/authlib/pull/804)
324
+ - [django/djangoproject.com](https://github.com/django/djangoproject.com/pull/2252)
325
+ - [Future-House/paper-qa](https://github.com/Future-House/paper-qa/pull/1098)
326
+ - [requests-cache/requests-cache](https://github.com/requests-cache/requests-cache/pull/1116)
327
+ - [Goldziher/kreuzberg](https://github.com/Goldziher/kreuzberg/pull/142)
328
+ - [python-attrs/attrs](https://github.com/python-attrs/attrs/commit/c95b177682e76a63478d29d040f9cb36a8d31915)
329
+ - [jlowin/fastmcp](https://github.com/jlowin/fastmcp/pull/2309)
330
+ - [apache/iceberg-python](https://github.com/apache/iceberg-python/pull/2533)
331
+ - [jcrist/msgspec](https://github.com/jcrist/msgspec/pull/918)
332
+ - [python-humanize/humanize](https://github.com/python-humanize/humanize/pull/276)
333
+ - [MoonshotAI/kimi-cli](https://github.com/MoonshotAI/kimi-cli/pull/535)
334
+ - [ZhuoZhuoCrayon/throttled-py](https://github.com/ZhuoZhuoCrayon/throttled-py/pull/119)
331
335
 
332
336
  <!-- why:end -->
333
337
 
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@j178/prek",
26
- "version": "0.2.24"
26
+ "version": "0.2.26"
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.24"
518
+ "version": "0.2.26"
519
519
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.24",
2
+ "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.26",
3
3
  "author": "j178 <hi@j178.dev>",
4
4
  "bin": {
5
5
  "prek": "run-prek.js"
@@ -224,7 +224,7 @@
224
224
  "zipExt": ".tar.gz"
225
225
  }
226
226
  },
227
- "version": "0.2.24",
227
+ "version": "0.2.26",
228
228
  "volta": {
229
229
  "node": "18.14.1",
230
230
  "npm": "9.5.0"