Skip to content

Commit 8e731a9

Browse files
authored
Bump version to 0.3.11 (#2018)
1 parent 24302f7 commit 8e731a9

6 files changed

Lines changed: 56 additions & 14 deletions

File tree

CHANGELOG.md

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

3+
## 0.3.11
4+
5+
Released on 2026-04-27.
6+
7+
### Highlights
8+
9+
Hook entries now have an explicit `shell` option for shell snippets. Set
10+
`shell: sh`, `bash`, `pwsh`, `powershell`, or `cmd` when an entry should be
11+
evaluated by that shell; leaving it unset keeps prek's direct argv execution.
12+
13+
`prek auto-update` can now filter tag candidates before choosing an update.
14+
Both options take glob patterns: use `--include-tag` to only consider matching
15+
tag names, and `--exclude-tag` to skip matching tags such as moving tags or
16+
prereleases.
17+
18+
### Enhancements
19+
20+
- Add `auto-update --exclude-repo <repo>` to skip repos ([#1983](https://github.com/j178/prek/pull/1983))
21+
- Add `auto-update --exit-code` to exit with non-zero on updates ([#2002](https://github.com/j178/prek/pull/2002))
22+
- Add `auto-update --include-tag <pattern>`/`--exclude-tag <pattern>` to filter tags ([#1984](https://github.com/j178/prek/pull/1984))
23+
- Adds an explicit `shell` hook option for entries that should run as shell source ([#2004](https://github.com/j178/prek/pull/2004))
24+
- Make `--hook-dir` optional for hook-impl ([#1989](https://github.com/j178/prek/pull/1989))
25+
- Skip shim warning when `--script-version` is missing ([#1990](https://github.com/j178/prek/pull/1990))
26+
27+
### Bug fixes
28+
29+
- Install Ruby executable in gem bin ([#2017](https://github.com/j178/prek/pull/2017))
30+
- Use dedicated Android npm package ([#1982](https://github.com/j178/prek/pull/1982))
31+
- Use stable repo keys without breaking cached clones ([#1995](https://github.com/j178/prek/pull/1995))
32+
33+
### Documentation
34+
35+
- Explain prek name ([#1980](https://github.com/j178/prek/pull/1980))
36+
- Clarify `pass_filenames` concurrency docs ([#1999](https://github.com/j178/prek/pull/1999))
37+
- Reorganize documentation references ([#2005](https://github.com/j178/prek/pull/2005))
38+
- Clarify hook author manifest env docs ([#1991](https://github.com/j178/prek/pull/1991))
39+
- docs: add Sentry to users list ([#1981](https://github.com/j178/prek/pull/1981))
40+
41+
### Contributors
42+
43+
- @j178
44+
345
## 0.3.10
446

547
Released on 2026-04-21.

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.10"
6+
version = "0.3.11"
77
edition = "2024"
88
rust-version = "1.93.0"
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.10" }
15-
prek-identify = { path = "crates/prek-identify", version = "0.3.10" }
16-
prek-pty = { path = "crates/prek-pty", version = "0.3.10" }
14+
prek-consts = { path = "crates/prek-consts", version = "0.3.11" }
15+
prek-identify = { path = "crates/prek-identify", version = "0.3.11" }
16+
prek-pty = { path = "crates/prek-pty", version = "0.3.11" }
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
@@ -65,7 +65,7 @@ On Linux and macOS:
6565
<!-- --8<-- [start: linux-standalone-install] -->
6666

6767
```bash
68-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.10/prek-installer.sh | sh
68+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.11/prek-installer.sh | sh
6969
```
7070

7171
<!-- --8<-- [end: linux-standalone-install] -->
@@ -75,7 +75,7 @@ On Windows:
7575
<!-- --8<-- [start: windows-standalone-install] -->
7676

7777
```powershell
78-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.10/prek-installer.ps1 | iex"
78+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.11/prek-installer.ps1 | iex"
7979
```
8080

8181
<!-- --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.10 /prek /usr/local/bin/prek
17+
COPY --from=ghcr.io/j178/prek:v0.3.11 /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.10 --version
23+
docker run --rm ghcr.io/j178/prek:v0.3.11 --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.10`) or image
46+
Use a specific version tag (e.g., `ghcr.io/j178/prek:v0.3.11`) 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.10"
7+
version = "0.3.11"
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 = "[email protected]" }]
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)