Skip to content

Commit 56d6d0c

Browse files
authored
Bump version to 0.3.12 (#2045)
1 parent 5f94f6f commit 56d6d0c

9 files changed

Lines changed: 57 additions & 20 deletions

File tree

.github/workflows/build-release-binaries.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ on:
1717

1818
permissions: {}
1919

20-
concurrency:
21-
group: ${{ github.workflow }}-${{ github.ref }}
22-
cancel-in-progress: true
23-
2420
env:
2521
CARGO_INCREMENTAL: 0
2622
CARGO_NET_RETRY: 10

CHANGELOG.md

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

3+
## 0.3.12
4+
5+
Released on 2026-05-05.
6+
7+
### Highlights
8+
9+
`auto_update.cooldown_days` is now available in both the user-level global
10+
config (`~/.config/prek/prek.toml` on Linux and macOS, or
11+
`$XDG_CONFIG_HOME/prek/prek.toml` when set; `%APPDATA%\prek\prek.toml` on
12+
Windows) and project config. Set a user default for `prek auto-update`, then
13+
override it per project when a repository needs a different update cadence.
14+
15+
```toml
16+
[auto_update]
17+
cooldown_days = 7
18+
```
19+
20+
### Enhancements
21+
22+
- Add global auto-update cooldown config ([#2041](https://github.com/j178/prek/pull/2041))
23+
- Add project auto-update cooldown config ([#2044](https://github.com/j178/prek/pull/2044))
24+
- Support `language: dart` ([#1146](https://github.com/j178/prek/pull/1146))
25+
26+
### Bug fixes
27+
28+
- Pass commit message file to workspace hooks ([#2043](https://github.com/j178/prek/pull/2043))
29+
- Preserve non-UTF8 filenames from git ([#2023](https://github.com/j178/prek/pull/2023))
30+
- ruby: put resolved Ruby's bin dir on `$PATH` for `gem` invocations ([#2021](https://github.com/j178/prek/pull/2021))
31+
32+
### Documentation
33+
34+
- Update docs with the new logo and icon ([#2025](https://github.com/j178/prek/pull/2025))
35+
- Point schema docs to SchemaStore ([#2039](https://github.com/j178/prek/pull/2039))
36+
37+
### Contributors
38+
39+
- @j178
40+
- @xiaoyanli-lyft
41+
- @Lutra-Fs
42+
343
## 0.3.11
444

545
Released on 2026-04-27.

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.11"
6+
version = "0.3.12"
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.11" }
15-
prek-identify = { path = "crates/prek-identify", version = "0.3.11" }
16-
prek-pty = { path = "crates/prek-pty", version = "0.3.11" }
14+
prek-consts = { path = "crates/prek-consts", version = "0.3.12" }
15+
prek-identify = { path = "crates/prek-identify", version = "0.3.12" }
16+
prek-pty = { path = "crates/prek-pty", version = "0.3.12" }
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
@@ -60,7 +60,7 @@ On Linux and macOS:
6060
<!-- --8<-- [start: linux-standalone-install] -->
6161

6262
```bash
63-
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.11/prek-installer.sh | sh
63+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.12/prek-installer.sh | sh
6464
```
6565

6666
<!-- --8<-- [end: linux-standalone-install] -->
@@ -70,7 +70,7 @@ On Windows:
7070
<!-- --8<-- [start: windows-standalone-install] -->
7171

7272
```powershell
73-
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.11/prek-installer.ps1 | iex"
73+
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.12/prek-installer.ps1 | iex"
7474
```
7575

7676
<!-- --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.11 /prek /usr/local/bin/prek
17+
COPY --from=ghcr.io/j178/prek:v0.3.12 /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.11 --version
23+
docker run --rm ghcr.io/j178/prek:v0.3.12 --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.11`) or image
46+
Use a specific version tag (e.g., `ghcr.io/j178/prek:v0.3.12`) or image
4747
digest rather than `latest` for verification.
4848

4949
## GitHub Actions

mise.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,6 @@ description = "Prepare for a release"
7171
run = """
7272
git checkout -b bump
7373
uv run --group dev rooster release
74-
prek run mdformat --files CHANGELOG.md
74+
prek run mdformat --files CHANGELOG.md || true
75+
uv lock
7576
"""

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.11"
7+
version = "0.3.12"
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)