@j178/prek 0.2.11 → 0.2.13

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,68 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.13
4
+
5
+ Released on 2025-11-04.
6
+
7
+ ### Enhancements
8
+
9
+ - Add Ruby support (no download support yet) ([#993](https://github.com/j178/prek/pull/993))
10
+ - Implement `check-executables-have-shebangs` as builtin-hook ([#924](https://github.com/j178/prek/pull/924))
11
+ - Improve container id detection ([#1031](https://github.com/j178/prek/pull/1031))
12
+
13
+ ### Performance
14
+
15
+ - Optimize hot paths: reduce allocations ([#997](https://github.com/j178/prek/pull/997))
16
+ - Refactor `identify` using smallvec ([#982](https://github.com/j178/prek/pull/982))
17
+
18
+ ### Bug fixes
19
+
20
+ - Fix YAML with nested merge keys ([#1020](https://github.com/j178/prek/pull/1020))
21
+ - Treat every file as executable on Windows to keep compatibility with pre-commit ([#980](https://github.com/j178/prek/pull/980))
22
+
23
+ ### Documentation
24
+
25
+ - Document that .gitignore is respected by default during workspace discovery ([#983](https://github.com/j178/prek/pull/983))
26
+ - Update project stability status ([#1005](https://github.com/j178/prek/pull/1005))
27
+ - Add FastMCP to "who is using prek" ([#1034](https://github.com/j178/prek/pull/1034))
28
+ - Add attrs to "who is using prek" ([#981](https://github.com/j178/prek/pull/981))
29
+
30
+ ### Contributors
31
+
32
+ - @my1e5
33
+ - @j178
34
+ - @zzstoatzz
35
+ - @lmmx
36
+ - @feliblo
37
+ - @yihong0618
38
+ - @st1971
39
+ - @is-alnilam
40
+
41
+ ## 0.2.12
42
+
43
+ Released on 2025-10-27.
44
+
45
+ ### Enhancements
46
+
47
+ - Add a warning for unimplemented hooks ([#976](https://github.com/j178/prek/pull/976))
48
+ - Allow using system trusted store by `PREK_NATIVE_TLS` ([#959](https://github.com/j178/prek/pull/959))
49
+
50
+ ### Bug fixes
51
+
52
+ - Do not check for `script` subprocess status ([#964](https://github.com/j178/prek/pull/964))
53
+ - Fix compatibility with older luarocks ([#967](https://github.com/j178/prek/pull/967))
54
+ - Fix local relative path in `try-repo` ([#975](https://github.com/j178/prek/pull/975))
55
+
56
+ ### Documentation
57
+
58
+ - Update language support status ([#970](https://github.com/j178/prek/pull/970))
59
+
60
+ ### Contributors
61
+
62
+ - @yihong0618
63
+ - @st1971
64
+ - @j178
65
+
3
66
  ## 0.2.11
4
67
 
5
68
  Released on 2025-10-24.
package/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  <div align="center">
2
2
 
3
- # prek
4
-
5
- <img width="220" alt="prek" src="./docs/assets/logo.webp" />
3
+ <h1>
4
+ <img width="180" alt="prek" src="./docs/assets/logo.webp" />
5
+ <br/>prek
6
+ </h1>
6
7
 
7
8
  [![CI](https://github.com/j178/prek/actions/workflows/ci.yml/badge.svg)](https://github.com/j178/prek/actions/workflows/ci.yml)
8
9
  [![codecov](https://codecov.io/github/j178/prek/graph/badge.svg?token=MP6TY24F43)](https://codecov.io/github/j178/prek)
@@ -21,16 +22,16 @@ It is designed to be a faster, dependency-free and drop-in alternative for it,
21
22
  while also providing some additional long-requested features.
22
23
  <!-- description:end -->
23
24
 
24
- > [!WARNING]
25
- > prek is not production-ready yet. Some subcommands and languages are not implemented. See the current gaps for drop-in parity: [TODO](https://prek.j178.dev/todo/).
25
+ > [!NOTE]
26
+ > Although prek is pretty new, it’s already powering real‑world projects like [Airflow](https://github.com/apache/airflow), 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!
26
27
  >
27
- > But it's already being adopted by [some projects](#who-is-using-prek) like Airflow, so please give it a try - we'd love your feedback!
28
+ > Please note that some subcommands and languages are still missing for full drop‑in parity with `pre-commit`. Track the remaining gaps here: [TODO](https://prek.j178.dev/todo/).
28
29
 
29
30
  <!-- features:start -->
30
31
  ## Features
31
32
 
32
33
  - 🚀 A single binary with no dependencies, does not require Python or any other runtime.
33
- - ⚡ [Faster](https://prek.j178.dev/benchmark/) than `pre-commit` and uses only half the disk space.
34
+ - ⚡ [Faster](https://prek.j178.dev/benchmark/) than `pre-commit` and more efficient in disk space usage.
34
35
  - 🔄 Fully compatible with the original pre-commit configurations and hooks.
35
36
  - 🏗️ Built-in support for monorepos (i.e. [workspace mode](https://prek.j178.dev/workspace/)).
36
37
  - 🐍 Integration with [`uv`](https://github.com/astral-sh/uv) for managing Python virtual environments and dependencies.
@@ -57,7 +58,7 @@ On Linux and macOS:
57
58
 
58
59
  <!-- linux-standalone-install:start -->
59
60
  ```bash
60
- curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.11/prek-installer.sh | sh
61
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.13/prek-installer.sh | sh
61
62
  ```
62
63
  <!-- linux-standalone-install:end -->
63
64
 
@@ -65,7 +66,7 @@ On Windows:
65
66
 
66
67
  <!-- windows-standalone-install:start -->
67
68
  ```powershell
68
- powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.11/prek-installer.ps1 | iex"
69
+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.13/prek-installer.ps1 | iex"
69
70
  ```
70
71
  <!-- windows-standalone-install:end -->
71
72
 
@@ -286,6 +287,8 @@ prek is pretty new, but it is already being used or recommend by some projects a
286
287
  - [PaperQA2](https://github.com/Future-House/paper-qa/pull/1098)
287
288
  - [requests-cache](https://github.com/requests-cache/requests-cache/pull/1116)
288
289
  - [kreuzberg](https://github.com/Goldziher/kreuzberg/pull/142)
290
+ - [attrs](https://github.com/python-attrs/attrs/commit/c95b177682e76a63478d29d040f9cb36a8d31915#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449)
291
+ - [FastMCP](https://github.com/jlowin/fastmcp/pull/2309)
289
292
 
290
293
  <!-- why:end -->
291
294
 
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@j178/prek",
26
- "version": "0.2.11"
26
+ "version": "0.2.13"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -896,5 +896,5 @@
896
896
  }
897
897
  },
898
898
  "requires": true,
899
- "version": "0.2.11"
899
+ "version": "0.2.13"
900
900
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.11",
2
+ "artifactDownloadUrl": "https://github.com/j178/prek/releases/download/v0.2.13",
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.11",
227
+ "version": "0.2.13",
228
228
  "volta": {
229
229
  "node": "18.14.1",
230
230
  "npm": "9.5.0"