Skip to content

Commit dd53c3d

Browse files
authored
Bump version to 0.3.6 (#1811)
1 parent ae0f62f commit dd53c3d

7 files changed

Lines changed: 55 additions & 14 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ repos:
99
- repo: builtin
1010
hooks:
1111
- id: trailing-whitespace
12+
exclude:
13+
glob: CHANGELOG.md
1214
- id: mixed-line-ending
1315
- id: check-yaml
1416
- id: check-toml

CHANGELOG.md

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

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+
342
## 0.3.5
443

544
Released on 2026-03-09.

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.5"
6+
version = "0.3.6"
77
edition = "2024"
88
rust-version = "1.92.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.5" }
15-
prek-identify = { path = "crates/prek-identify", version = "0.3.5" }
16-
prek-pty = { path = "crates/prek-pty", version = "0.3.5" }
14+
prek-consts = { path = "crates/prek-consts", version = "0.3.6" }
15+
prek-identify = { path = "crates/prek-identify", version = "0.3.6" }
16+
prek-pty = { path = "crates/prek-pty", version = "0.3.6" }
1717

1818
aho-corasick = { version = "1.1.4" }
1919
anstream = { version = "1.0.0" }

README.md

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

6363
```bash
64-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.5/prek-installer.sh | sh
64+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.6/prek-installer.sh | sh
6565
```
6666

6767
<!-- --8<-- [end: linux-standalone-install] -->
@@ -71,7 +71,7 @@ On Windows:
7171
<!-- --8<-- [start: windows-standalone-install] -->
7272

7373
```powershell
74-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.5/prek-installer.ps1 | iex"
74+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.6/prek-installer.ps1 | iex"
7575
```
7676

7777
<!-- --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.5 /prek /usr/local/bin/prek
17+
COPY --from=ghcr.io/j178/prek:v0.3.6 /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.5 --version
23+
docker run --rm ghcr.io/j178/prek:v0.3.6 --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.5`) or image
46+
Use a specific version tag (e.g., `ghcr.io/j178/prek:v0.3.6`) 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
@@ -1,6 +1,6 @@
11
[project]
22
name = "prek"
3-
version = "0.3.5"
3+
version = "0.3.6"
44
description = "Better `pre-commit`, re-engineered in Rust"
55
authors = [{ name = "j178", email = "[email protected]" }]
66
requires-python = ">=3.8"

0 commit comments

Comments
 (0)