@j178/prek 0.3.4 → 0.3.6
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 +73 -0
- package/README.md +7 -8
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.6
|
|
4
|
+
|
|
5
|
+
Released on 2026-03-16.
|
|
6
|
+
|
|
7
|
+
### Enhancements
|
|
8
|
+
|
|
9
|
+
- Allow selectors for hook ids containing colons ([#1782](https://github.com/j178/prek/pull/1782))
|
|
10
|
+
- Rename `prek install-hooks` to `prek prepare-hooks` and `prek install --install-hooks` to `prek install --prepare-hooks` ([#1766](https://github.com/j178/prek/pull/1766))
|
|
11
|
+
- Retry auth-failed repo clones with terminal prompts enabled ([#1761](https://github.com/j178/prek/pull/1761))
|
|
12
|
+
|
|
13
|
+
### Performance
|
|
14
|
+
|
|
15
|
+
- Optimize `detect_private_key` by chunked reading and using aho-corasick ([#1791](https://github.com/j178/prek/pull/1791))
|
|
16
|
+
- Optimize `fix_byte_order_marker` by shifting file contents in place ([#1790](https://github.com/j178/prek/pull/1790))
|
|
17
|
+
|
|
18
|
+
### Bug fixes
|
|
19
|
+
|
|
20
|
+
- Align stage defaulting behavior with pre-commit ([#1788](https://github.com/j178/prek/pull/1788))
|
|
21
|
+
- Make sure child output is drained in the PTY subprocess ([#1768](https://github.com/j178/prek/pull/1768))
|
|
22
|
+
- fix(golang): use `GOTOOLCHAIN=local` when probing system go ([#1797](https://github.com/j178/prek/pull/1797))
|
|
23
|
+
|
|
24
|
+
### Documentation
|
|
25
|
+
|
|
26
|
+
- Disambiguate “hook” terminology by renaming "Git hooks" to "Git shims" ([#1776](https://github.com/j178/prek/pull/1776))
|
|
27
|
+
- Document compatibility with pre-commit ([#1767](https://github.com/j178/prek/pull/1767))
|
|
28
|
+
- Update configuration.md with TOML 1.1 notes ([#1764](https://github.com/j178/prek/pull/1764))
|
|
29
|
+
|
|
30
|
+
### Other changes
|
|
31
|
+
|
|
32
|
+
- Sync latest identify tags ([#1798](https://github.com/j178/prek/pull/1798))
|
|
33
|
+
|
|
34
|
+
### Contributors
|
|
35
|
+
|
|
36
|
+
- @github-actions
|
|
37
|
+
- @j178
|
|
38
|
+
- @pcastellazzi
|
|
39
|
+
- @deadnews
|
|
40
|
+
- @copilot-swe-agent
|
|
41
|
+
|
|
42
|
+
## 0.3.5
|
|
43
|
+
|
|
44
|
+
Released on 2026-03-09.
|
|
45
|
+
|
|
46
|
+
### Enhancements
|
|
47
|
+
|
|
48
|
+
- Add automatic Ruby download support using rv binaries ([#1668](https://github.com/j178/prek/pull/1668))
|
|
49
|
+
- Adjust open file limit on process startup ([#1705](https://github.com/j178/prek/pull/1705))
|
|
50
|
+
- Allow parallel gem retry ([#1732](https://github.com/j178/prek/pull/1732))
|
|
51
|
+
- Enable system-proxy feature on reqwest ([#1738](https://github.com/j178/prek/pull/1738))
|
|
52
|
+
- Expose `--git-dir` to force hook installation target ([#1723](https://github.com/j178/prek/pull/1723))
|
|
53
|
+
- Pass `--quiet`, `--verbose`, and `--no-progress` through `prek install` into generated hook scripts ([#1753](https://github.com/j178/prek/pull/1753))
|
|
54
|
+
- Respect `core.sharedRepository` for hook permissions ([#1755](https://github.com/j178/prek/pull/1755))
|
|
55
|
+
- Support legacy mode hook script ([#1706](https://github.com/j178/prek/pull/1706))
|
|
56
|
+
- rust: support `cli:` git dependency 4th segment package disambiguation ([#1747](https://github.com/j178/prek/pull/1747))
|
|
57
|
+
|
|
58
|
+
### Bug fixes
|
|
59
|
+
|
|
60
|
+
- Fix Python `__main__.py` entry ([#1741](https://github.com/j178/prek/pull/1741))
|
|
61
|
+
- python: strip `UV_SYSTEM_PYTHON` from `uv venv` and `pip install` commands ([#1756](https://github.com/j178/prek/pull/1756))
|
|
62
|
+
|
|
63
|
+
### Other changes
|
|
64
|
+
|
|
65
|
+
- Sync latest identify tags ([#1733](https://github.com/j178/prek/pull/1733))
|
|
66
|
+
|
|
67
|
+
### Contributors
|
|
68
|
+
|
|
69
|
+
- @Dev-iL
|
|
70
|
+
- @tennox
|
|
71
|
+
- @shaanmajid
|
|
72
|
+
- @is-alnilam
|
|
73
|
+
- @github-actions
|
|
74
|
+
- @j178
|
|
75
|
+
|
|
3
76
|
## 0.3.4
|
|
4
77
|
|
|
5
78
|
Released on 2026-02-28.
|
package/README.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
<br/>prek
|
|
6
|
-
</h1>
|
|
3
|
+
<img width="180" alt="prek" src="https://raw.githubusercontent.com/j178/prek/master/docs/assets/logo.webp" />
|
|
4
|
+
<h1>prek</h1>
|
|
7
5
|
|
|
8
6
|
[](https://github.com/j178/prek)
|
|
7
|
+
[](https://pypi.python.org/pypi/prek)
|
|
9
8
|
[](https://codecov.io/github/j178/prek)
|
|
10
|
-
[](https://github.com/j178/prek/releases)
|
|
11
9
|
[](https://pepy.tech/projects/prek)
|
|
12
10
|
[](https://discord.gg/3NRJUqJz86)
|
|
13
11
|
|
|
@@ -63,7 +61,7 @@ On Linux and macOS:
|
|
|
63
61
|
<!-- --8<-- [start: linux-standalone-install] -->
|
|
64
62
|
|
|
65
63
|
```bash
|
|
66
|
-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.
|
|
64
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.6/prek-installer.sh | sh
|
|
67
65
|
```
|
|
68
66
|
|
|
69
67
|
<!-- --8<-- [end: linux-standalone-install] -->
|
|
@@ -73,7 +71,7 @@ On Windows:
|
|
|
73
71
|
<!-- --8<-- [start: windows-standalone-install] -->
|
|
74
72
|
|
|
75
73
|
```powershell
|
|
76
|
-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.
|
|
74
|
+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.6/prek-installer.ps1 | iex"
|
|
77
75
|
```
|
|
78
76
|
|
|
79
77
|
<!-- --8<-- [end: windows-standalone-install] -->
|
|
@@ -330,7 +328,7 @@ prek self update
|
|
|
330
328
|
## Quick start
|
|
331
329
|
|
|
332
330
|
- **I already use pre-commit:** follow the short migration checklist in the [quickstart guide](https://prek.j178.dev/quickstart/#already-using-pre-commit) to swap in `prek` safely.
|
|
333
|
-
- **I'm new to pre-commit-style tools:** learn the basics—creating a config, running hooks, and installing
|
|
331
|
+
- **I'm new to pre-commit-style tools:** learn the basics—creating a config, running hooks, and installing Git shims—in the [beginner quickstart walkthrough](https://prek.j178.dev/quickstart/#new-to-pre-commit-style-workflows).
|
|
334
332
|
|
|
335
333
|
<!-- --8<-- [start: why] -->
|
|
336
334
|
|
|
@@ -375,6 +373,7 @@ prek is pretty new, but it is already being used or recommend by some projects a
|
|
|
375
373
|
- [astral-sh/ty](https://github.com/astral-sh/ty/pull/2469)
|
|
376
374
|
- [openclaw/openclaw](https://github.com/openclaw/openclaw/pull/1720)
|
|
377
375
|
- [home-assistant/core](https://github.com/home-assistant/core/pull/160427)
|
|
376
|
+
- [python-telegram-bot/python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot/pull/5142)
|
|
378
377
|
- [DetachHead/basedpyright](https://github.com/DetachHead/basedpyright/pull/1413)
|
|
379
378
|
- [OpenLineage/OpenLineage](https://github.com/OpenLineage/OpenLineage/pull/3965)
|
|
380
379
|
- [authlib/authlib](https://github.com/authlib/authlib/pull/804)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/j178/prek/releases/download/v0.3.
|
|
3
|
+
"https://github.com/j178/prek/releases/download/v0.3.6"
|
|
4
4
|
],
|
|
5
5
|
"author": "j178 <hi@j178.dev>",
|
|
6
6
|
"bin": {
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
"zipExt": ".tar.gz"
|
|
213
213
|
}
|
|
214
214
|
},
|
|
215
|
-
"version": "0.3.
|
|
215
|
+
"version": "0.3.6",
|
|
216
216
|
"volta": {
|
|
217
217
|
"node": "18.14.1",
|
|
218
218
|
"npm": "9.5.0"
|