diff --git a/CHANGELOG.md b/CHANGELOG.md index e06af144..e3460fd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.2.21 + +Released on 2025-12-09. + +### Bug fixes + +- Fallback to use remote repo package root instead of erroring ([#1203](https://github.com/j178/prek/pull/1203)) +- Prepend toolchain bin directory to PATH when calling cargo ([#1204](https://github.com/j178/prek/pull/1204)) +- Use `cargo` from installed toolchain ([#1202](https://github.com/j178/prek/pull/1202)) + +### Contributors + +- @j178 + ## 0.2.20 Released on 2025-12-08. @@ -17,10 +31,8 @@ Want to show your project runs on prek? Add our README badge to your docs or rep ### Enhancements - Support Rust language ([#989](https://github.com/j178/prek/pull/989)) - - Refactor Rust toolchain management ([#1198](https://github.com/j178/prek/pull/1198)) - Add support for finding packages in virtual workspaces ([#1180](https://github.com/j178/prek/pull/1180)) - - Add `prek cache size` command ([#1183](https://github.com/j178/prek/pull/1183)) - Support orphan projects ([#1129](https://github.com/j178/prek/pull/1129)) - Fallback to `manual` stage for hooks specified directly in command line ([#1185](https://github.com/j178/prek/pull/1185)) diff --git a/Cargo.lock b/Cargo.lock index 895e9cda..2f185e99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1847,7 +1847,7 @@ dependencies = [ [[package]] name = "prek" -version = "0.2.20" +version = "0.2.21" dependencies = [ "anstream", "anstyle-query", @@ -1919,14 +1919,14 @@ dependencies = [ [[package]] name = "prek-consts" -version = "0.2.20" +version = "0.2.21" dependencies = [ "tracing", ] [[package]] name = "prek-pty" -version = "0.2.20" +version = "0.2.21" dependencies = [ "rustix", "tokio", @@ -2147,9 +2147,9 @@ checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "reqwest" -version = "0.12.24" +version = "0.12.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" +checksum = "b6eff9328d40131d43bd911d42d79eb6a47312002a4daefc9e37f17e74a7701a" dependencies = [ "base64", "bytes", @@ -2477,9 +2477,9 @@ dependencies = [ [[package]] name = "simd-adler32" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" +checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2" [[package]] name = "similar" @@ -2854,9 +2854,9 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf146f99d442e8e68e585f5d798ccd3cad9a7835b917e09728880a862706456" +checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" dependencies = [ "bitflags 2.10.0", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 7e017078..ab50b9e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,15 +2,15 @@ members = ["crates/*"] [workspace.package] -version = "0.2.20" +version = "0.2.21" edition = "2024" repository = "https://github.com/j178/prek" homepage = "https://prek.j178.dev/" license = "MIT" [workspace.dependencies] -prek-consts = { path = "crates/prek-consts", version = "0.2.20" } -prek-pty = { path = "crates/prek-pty", version = "0.2.20" } +prek-consts = { path = "crates/prek-consts", version = "0.2.21" } +prek-pty = { path = "crates/prek-pty", version = "0.2.21" } rustix = { version = "1.0.8", features = ["pty", "process", "fs", "termios"] } thiserror = { version = "2.0.11" } diff --git a/README.md b/README.md index b0564100..01f98606 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ On Linux and macOS: ```bash -curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.20/prek-installer.sh | sh +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/v0.2.21/prek-installer.sh | sh ``` @@ -67,7 +67,7 @@ On Windows: ```powershell -powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.20/prek-installer.ps1 | iex" +powershell -ExecutionPolicy ByPass -c "irm https://github.com/j178/prek/releases/download/v0.2.21/prek-installer.ps1 | iex" ``` diff --git a/pyproject.toml b/pyproject.toml index 2f924c69..8ef9130e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "prek" -version = "0.2.20" +version = "0.2.21" description = "Better `pre-commit`, re-engineered in Rust" authors = [{ name = "j178", email = "hi@j178.dev" }] requires-python = ">=3.8"