Skip to content

Commit b570c73

Browse files
authored
Bump version to 0.4.0 (#2081)
1 parent 007b244 commit b570c73

7 files changed

Lines changed: 44 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## 0.4.0
4+
5+
Released on 2026-05-14.
6+
7+
### Breaking changes
8+
9+
These are narrow cleanup breaks in behavior that was either temporary or never worked correctly. Most users should not need to change anything.
10+
11+
- Generated hook scripts no longer preserve `-q`, `-v`, or `--no-progress` passed to `prek install`. This only affects users who expected those global flags to be baked into installed hooks. ([#1966](https://github.com/j178/prek/pull/1966))
12+
- `language_version` no longer accepts direct executable paths. Use `language_version: system` for a system toolchain, or use a supported version request instead. This path form did not work reliably before, so existing working configs should be unaffected. ([#1831](https://github.com/j178/prek/pull/1831))
13+
14+
### Enhancements
15+
16+
- Expand tilde in `--config`, `--cd`, `--log-file` and `--git-dir` ([#2063](https://github.com/j178/prek/pull/2063))
17+
- Prevent auto-update cooldown downgrades ([#2055](https://github.com/j178/prek/pull/2055))
18+
- Use managed npm cache for node hooks ([#2075](https://github.com/j178/prek/pull/2075))
19+
20+
### Bug fixes
21+
22+
- Fix npm config env overrides for node hooks ([#2074](https://github.com/j178/prek/pull/2074))
23+
24+
### Documentation
25+
26+
- Add cookbook page for enabling Git 2.54 config-based global hooks ([#2061](https://github.com/j178/prek/pull/2061))
27+
28+
### Contributors
29+
30+
- @j178
31+
332
## 0.3.13
433

534
Released on 2026-05-06.

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ members = ["crates/*"]
33
resolver = "3"
44

55
[workspace.package]
6-
version = "0.3.13"
6+
version = "0.4.0"
77
edition = "2024"
88
rust-version = "1.93.1"
99
repository = "https://github.com/j178/prek"
1010
homepage = "https://prek.j178.dev/"
1111
license = "MIT"
1212

1313
[workspace.dependencies]
14-
prek-consts = { path = "crates/prek-consts", version = "0.3.13" }
15-
prek-identify = { path = "crates/prek-identify", version = "0.3.13" }
16-
prek-pty = { path = "crates/prek-pty", version = "0.3.13" }
14+
prek-consts = { path = "crates/prek-consts", version = "0.4.0" }
15+
prek-identify = { path = "crates/prek-identify", version = "0.4.0" }
16+
prek-pty = { path = "crates/prek-pty", version = "0.4.0" }
1717

1818
aho-corasick = { version = "1.1.4" }
1919
annotate-snippets = { version = "0.12.13" }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ On Linux and macOS:
6363
<!-- --8<-- [start: linux-standalone-install] -->
6464

6565
```bash
66-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.13/prek-installer.sh | sh
66+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.4.0/prek-installer.sh | sh
6767
```
6868

6969
<!-- --8<-- [end: linux-standalone-install] -->
@@ -73,7 +73,7 @@ On Windows:
7373
<!-- --8<-- [start: windows-standalone-install] -->
7474

7575
```powershell
76-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.13/prek-installer.ps1 | iex"
76+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.4.0/prek-installer.ps1 | iex"
7777
```
7878

7979
<!-- --8<-- [end: windows-standalone-install] -->

docs/integrations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ A common pattern is to copy the binary into your own image:
1414

1515
```dockerfile
1616
FROM debian:bookworm-slim
17-
COPY --from=ghcr.io/j178/prek:v0.3.13 /prek /usr/local/bin/prek
17+
COPY --from=ghcr.io/j178/prek:v0.4.0 /prek /usr/local/bin/prek
1818
```
1919

2020
If you prefer, you can also run the distroless image directly:
2121

2222
```bash
23-
docker run --rm ghcr.io/j178/prek:v0.3.13 --version
23+
docker run --rm ghcr.io/j178/prek:v0.4.0 --version
2424
```
2525

2626
### Verifying Images
@@ -43,7 +43,7 @@ Loaded 1 attestation from GitHub API
4343

4444
!!! tip
4545

46-
Use a specific version tag (e.g., `ghcr.io/j178/prek:v0.3.13`) or image
46+
Use a specific version tag (e.g., `ghcr.io/j178/prek:v0.4.0`) or image
4747
digest rather than `latest` for verification.
4848

4949
## GitHub Actions

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "prek"
7-
version = "0.3.13"
7+
version = "0.4.0"
88
description = "A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined."
99
authors = [{ name = "j178", email = "hi@j178.dev" }]
1010
requires-python = ">=3.8"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)