Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/publish-prek-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
id: refresh
env:
GITHUB_TOKEN: ${{ secrets.PREK_ACTION_TOKEN }}
run: npm run update-known-versions
run: |
# Wait a bit to ensure the new release is available via the GitHub API.
sleep 10
npm run update-known-versions

- name: Check whether known version files changed
id: changes
Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Changelog

## 0.3.7

Released on 2026-03-23.

### Enhancements

- Add `pretty-format-json` as builtin hook ([#915](https://github.com/j178/prek/pull/915))
- Add `check-vcs-permalinks` as builtin hook ([#1842](https://github.com/j178/prek/pull/1842))
- Add `check-illegal-windows-names` as builtin hook ([#1841](https://github.com/j178/prek/pull/1841))
- Add `check-shebang-scripts-are-executable` builtin hook ([#1847](https://github.com/j178/prek/pull/1847))
- Add `destroyed-symlinks` builtin hook ([#1851](https://github.com/j178/prek/pull/1851))
- Add `file-contents-sorter` as builtin hook ([#1846](https://github.com/j178/prek/pull/1846))
- Add `--all` flag to `prek uninstall` ([#1817](https://github.com/j178/prek/pull/1817))
- Improve file pattern parse errors ([#1829](https://github.com/j178/prek/pull/1829))
- Validate `uv` binary after download ([#1825](https://github.com/j178/prek/pull/1825))

### Bug fixes

- Fix workspace-relative added file paths ([#1852](https://github.com/j178/prek/pull/1852))
- Relax alias-anchor ratio check for check-yaml ([#1839](https://github.com/j178/prek/pull/1839))

### Contributors

- @j178
- @mvanhorn
- @feliblo
- @Tiryoh

## 0.3.6

Released on 2026-03-16.
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ members = ["crates/*"]
resolver = "3"

[workspace.package]
version = "0.3.6"
version = "0.3.7"
edition = "2024"
rust-version = "1.92.0"
repository = "https://github.com/j178/prek"
homepage = "https://prek.j178.dev/"
license = "MIT"

[workspace.dependencies]
prek-consts = { path = "crates/prek-consts", version = "0.3.6" }
prek-identify = { path = "crates/prek-identify", version = "0.3.6" }
prek-pty = { path = "crates/prek-pty", version = "0.3.6" }
prek-consts = { path = "crates/prek-consts", version = "0.3.7" }
prek-identify = { path = "crates/prek-identify", version = "0.3.7" }
prek-pty = { path = "crates/prek-pty", version = "0.3.7" }

aho-corasick = { version = "1.1.4" }
anstream = { version = "1.0.0" }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ On Linux and macOS:
<!-- --8<-- [start: linux-standalone-install] -->

```bash
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.6/prek-installer.sh | sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.3.7/prek-installer.sh | sh
```

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

```powershell
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.6/prek-installer.ps1 | iex"
powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.3.7/prek-installer.ps1 | iex"
```

<!-- --8<-- [end: windows-standalone-install] -->
Expand Down
6 changes: 3 additions & 3 deletions docs/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ A common pattern is to copy the binary into your own image:

```dockerfile
FROM debian:bookworm-slim
COPY --from=ghcr.io/j178/prek:v0.3.6 /prek /usr/local/bin/prek
COPY --from=ghcr.io/j178/prek:v0.3.7 /prek /usr/local/bin/prek
```

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

```bash
docker run --rm ghcr.io/j178/prek:v0.3.6 --version
docker run --rm ghcr.io/j178/prek:v0.3.7 --version
```

### Verifying Images
Expand All @@ -43,7 +43,7 @@ Loaded 1 attestation from GitHub API

!!! tip

Use a specific version tag (e.g., `ghcr.io/j178/prek:v0.3.6`) or image
Use a specific version tag (e.g., `ghcr.io/j178/prek:v0.3.7`) or image
digest rather than `latest` for verification.

## GitHub Actions
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "prek"
version = "0.3.6"
version = "0.3.7"
description = "Better `pre-commit`, re-engineered in Rust"
authors = [{ name = "j178", email = "hi@j178.dev" }]
requires-python = ">=3.8"
Expand Down
Loading