@j178/prek 0.2.12 → 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,43 @@
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
+
3
41
  ## 0.2.12
4
42
 
5
43
  Released on 2025-10-27.
package/README.md CHANGED
@@ -22,16 +22,16 @@ It is designed to be a faster, dependency-free and drop-in alternative for it,
22
22
  while also providing some additional long-requested features.
23
23
  <!-- description:end -->
24
24
 
25
- > [!WARNING]
26
- > 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!
27
27
  >
28
- > 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/).
29
29
 
30
30
  <!-- features:start -->
31
31
  ## Features
32
32
 
33
33
  - 🚀 A single binary with no dependencies, does not require Python or any other runtime.
34
- - ⚡ [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.
35
35
  - 🔄 Fully compatible with the original pre-commit configurations and hooks.
36
36
  - 🏗️ Built-in support for monorepos (i.e. [workspace mode](https://prek.j178.dev/workspace/)).
37
37
  - 🐍 Integration with [`uv`](https://github.com/astral-sh/uv) for managing Python virtual environments and dependencies.
@@ -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.12/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
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.12/prek-installer.ps1 | iex"
69
+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.13/prek-installer.ps1 | iex"
70
70
  ```
71
71
  <!-- windows-standalone-install:end -->
72
72
 
@@ -287,6 +287,8 @@ prek is pretty new, but it is already being used or recommend by some projects a
287
287
  - [PaperQA2](https://github.com/Future-House/paper-qa/pull/1098)
288
288
  - [requests-cache](https://github.com/requests-cache/requests-cache/pull/1116)
289
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)
290
292
 
291
293
  <!-- why:end -->
292
294
 
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@j178/prek",
26
- "version": "0.2.12"
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.12"
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.12",
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.12",
227
+ "version": "0.2.13",
228
228
  "volta": {
229
229
  "node": "18.14.1",
230
230
  "npm": "9.5.0"