@j178/prek 0.4.3 → 0.4.4

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 +59 -0
  2. package/README.md +3 -3
  3. package/package.json +18 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,64 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.4
4
+
5
+ Released on 2026-06-04.
6
+
7
+ ### Highlights
8
+
9
+ 0.4.4 makes `prek run` easier to watch and easier to slice.
10
+
11
+ Hook stream output now shows a small live preview under the running hook in the
12
+ progress UI. Long-running hooks no longer look stuck while they are producing
13
+ logs, and failed hooks are easier to diagnose because recent output is already
14
+ visible before the final result.
15
+
16
+ The new group selector lets a single config support different workflows. Tag
17
+ hooks with `groups`, then select or exclude those groups at run time:
18
+
19
+ ```yaml
20
+ repos:
21
+ - repo: local
22
+ hooks:
23
+ - id: format
24
+ name: Format Python
25
+ language: system
26
+ entry: ruff format
27
+ groups: [format, ci]
28
+
29
+ - id: lint
30
+ name: Lint Python
31
+ language: system
32
+ entry: ruff check
33
+ groups: [lint, ci]
34
+ ```
35
+
36
+ ```bash
37
+ prek run --all-files --group ci
38
+ prek run --all-files --no-group format
39
+ ```
40
+
41
+ This is useful when local development, CI, slow validation, or project-specific
42
+ checks need different hook sets without splitting the config.
43
+
44
+ ### Enhancements
45
+
46
+ - Add hook group filters to `prek run` ([#2141](https://github.com/j178/prek/pull/2141))
47
+ - Delay hook output preview rendering ([#2140](https://github.com/j178/prek/pull/2140))
48
+ - Stream hook output in progress UI ([#2136](https://github.com/j178/prek/pull/2136))
49
+
50
+ ### Bug fixes
51
+
52
+ - Fix intent-to-add stash restore ([#2143](https://github.com/j178/prek/pull/2143))
53
+
54
+ ### Documentation
55
+
56
+ - Document hook stage file input ([#2147](https://github.com/j178/prek/pull/2147))
57
+
58
+ ### Contributors
59
+
60
+ - @j178
61
+
3
62
  ## 0.4.3
4
63
 
5
64
  Released on 2026-05-27.
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  [![prek](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json)](https://github.com/j178/prek)
9
9
  [![PyPI version](https://img.shields.io/pypi/v/prek.svg)](https://pypi.python.org/pypi/prek)
10
10
  [![codecov](https://codecov.io/github/j178/prek/graph/badge.svg?token=MP6TY24F43)](https://codecov.io/github/j178/prek)
11
- [![PyPI Downloads](https://img.shields.io/pypi/dm/prek?logo=python)](https://pepy.tech/projects/prek)
11
+ [![PyPI Downloads](https://static.pepy.tech/personalized-badge/prek?period=monthly&units=INTERNATIONAL_SYSTEM&left_color=GREY&right_color=BLUE&left_text=downloads%2Fmonth)](https://pepy.tech/projects/prek)
12
12
  [![Discord](https://img.shields.io/discord/1403581202102878289?logo=discord)](https://discord.gg/3NRJUqJz86)
13
13
 
14
14
  </div>
@@ -63,7 +63,7 @@ On Linux and macOS:
63
63
  <!-- --8<-- [start: linux-standalone-install] -->
64
64
 
65
65
  ```bash
66
- curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.3/prek-installer.sh | sh
66
+ curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.4/prek-installer.sh | sh
67
67
  ```
68
68
 
69
69
  <!-- --8<-- [end: linux-standalone-install] -->
@@ -73,7 +73,7 @@ On Windows:
73
73
  <!-- --8<-- [start: windows-standalone-install] -->
74
74
 
75
75
  ```powershell
76
- powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.3/prek-installer.ps1 | iex"
76
+ powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.4/prek-installer.ps1 | iex"
77
77
  ```
78
78
 
79
79
  <!-- --8<-- [end: windows-standalone-install] -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@j178/prek",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
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.3",
30
- "@j178/prek-darwin-x64": "0.4.3",
31
- "@j178/prek-linux-arm64-gnu": "0.4.3",
32
- "@j178/prek-linux-arm64-musl": "0.4.3",
33
- "@j178/prek-android-arm64": "0.4.3",
34
- "@j178/prek-linux-arm-gnueabihf": "0.4.3",
35
- "@j178/prek-linux-arm-musleabihf": "0.4.3",
36
- "@j178/prek-linux-armv7-musleabihf": "0.4.3",
37
- "@j178/prek-linux-ia32-gnu": "0.4.3",
38
- "@j178/prek-linux-ia32-musl": "0.4.3",
39
- "@j178/prek-linux-riscv64-gnu": "0.4.3",
40
- "@j178/prek-linux-s390x-gnu": "0.4.3",
41
- "@j178/prek-linux-x64-gnu": "0.4.3",
42
- "@j178/prek-linux-x64-musl": "0.4.3",
43
- "@j178/prek-win32-arm64-msvc": "0.4.3",
44
- "@j178/prek-win32-ia32-msvc": "0.4.3",
45
- "@j178/prek-win32-x64-msvc": "0.4.3"
29
+ "@j178/prek-darwin-arm64": "0.4.4",
30
+ "@j178/prek-darwin-x64": "0.4.4",
31
+ "@j178/prek-linux-arm64-gnu": "0.4.4",
32
+ "@j178/prek-linux-arm64-musl": "0.4.4",
33
+ "@j178/prek-android-arm64": "0.4.4",
34
+ "@j178/prek-linux-arm-gnueabihf": "0.4.4",
35
+ "@j178/prek-linux-arm-musleabihf": "0.4.4",
36
+ "@j178/prek-linux-armv7-musleabihf": "0.4.4",
37
+ "@j178/prek-linux-ia32-gnu": "0.4.4",
38
+ "@j178/prek-linux-ia32-musl": "0.4.4",
39
+ "@j178/prek-linux-riscv64-gnu": "0.4.4",
40
+ "@j178/prek-linux-s390x-gnu": "0.4.4",
41
+ "@j178/prek-linux-x64-gnu": "0.4.4",
42
+ "@j178/prek-linux-x64-musl": "0.4.4",
43
+ "@j178/prek-win32-arm64-msvc": "0.4.4",
44
+ "@j178/prek-win32-ia32-msvc": "0.4.4",
45
+ "@j178/prek-win32-x64-msvc": "0.4.4"
46
46
  }
47
47
  }