1
0
mirror of https://github.com/j178/prek.git synced 2026-04-03 17:34:03 +02:00
Commit Graph

206 Commits

Author SHA1 Message Date
renovate[bot]
ac4fccf323 Update Rust crate ctrlc to v3.5.1 (#1011) 2025-11-01 12:08:56 +08:00
renovate[bot]
4f6798d244 Update Rust crate ignore to v0.4.25 (#1012) 2025-11-01 11:59:23 +08:00
renovate[bot]
73bb025c08 Update Rust crate clap to v4.5.51 (#1009) 2025-11-01 11:58:22 +08:00
renovate[bot]
43999dcec0 Update Rust crate clap_complete to v4.5.60 (#1010) 2025-11-01 11:57:44 +08:00
renovate[bot]
189d89ab77 Update Rust crate indicatif to v0.18.2 (#1000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-31 15:27:55 +08:00
renovate[bot]
ad5c374032 Update Rust crate etcetera to 0.11.0 (#1002)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-31 15:23:06 +08:00
Jo
5ae43ab61e Use lazy_regex for compile time regex checking (#996) 2025-10-30 21:26:28 +08:00
Jo
8470e0424a Remove hotpath profiling (#991)
The profiling isn’t very useful right now - it’s way too sensitive to noise. What we really need is proper benchmarking that runs multiple times to filter out all that noise, like what you get with https://codspeed.io/ or https://bencher.dev/
2025-10-29 21:11:23 +08:00
Jo
a1b6d2821e Refactor bloat-check and hotpath workflow (#990)
* Refactor `bloat-check` and `hotpath` workflow

* Use faster profiling  profile

* Fix template injection issue

* Tweak
2025-10-29 17:00:38 +08:00
Louis Maddox
65a2fe22a6 Profile latency and allocations with hotpath (#956)
* perf(hotpath): profile prek run on its own repo

* Combine pr comments

* Fix path

---------

Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-10-28 17:41:47 +08:00
Jo
a18d363b7e Refactor identify using smallvec (#982)
```console
❯ hyperfine --warmup 3 'prek run -a trailing-whitespace' './target/release/prek run -a trailing-whitespace'
Benchmark 1: prek run -a trailing-whitespace
  Time (mean ± σ):      56.6 ms ±   7.8 ms    [User: 28.1 ms, System: 35.7 ms]
  Range (min … max):    48.0 ms …  73.0 ms    37 runs

Benchmark 2: ./target/release/prek run -a trailing-whitespace
  Time (mean ± σ):      51.0 ms ±   2.6 ms    [User: 28.1 ms, System: 35.3 ms]
  Range (min … max):    48.1 ms …  61.5 ms    46 runs

Summary
  ./target/release/prek run -a trailing-whitespace ran
    1.11 ± 0.16 times faster than prek run -a trailing-whitespace
```
2025-10-28 16:16:31 +08:00
Jo
15ef28aee9 Bump version to 0.2.12 (#978) 2025-10-27 20:11:46 +08:00
Steven Taylor
7161581362 Allow using system trusted store by PREK_NATIVE_TLS (#959) 2025-10-26 03:56:02 +08:00
Jo
c2f0468b62 Bump version to 0.2.11 (#962) 2025-10-24 20:09:59 +08:00
renovate[bot]
aa8748496b Update Rust crate astral-tokio-tar to v0.5.6 [SECURITY] (#952)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-22 11:05:52 +08:00
Jo
9e0e9b3ad8 Bump version to 0.2.10 (#922) 2025-10-18 20:48:01 +08:00
Louis Maddox
bbdac782d6 Implement check-xml as builtin hook (#894)
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-10-17 17:12:15 +08:00
Jo
565c5e26e4 Bump version to 0.2.9 (#903) 2025-10-16 18:45:15 +08:00
Jo
e924c4ba50 Try release again (#878) 2025-10-14 15:16:08 +08:00
Jo
45882a6c0e Bump version to 0.2.7 (#877) 2025-10-14 14:24:03 +08:00
Jo
2a226a3d13 Bump version to 0.2.6 (#875) 2025-10-14 13:16:49 +08:00
Jo
33864f24bc Bump version to 0.2.5 (#864) 2025-10-10 22:11:13 +08:00
Jo
38ea52040d Bump version to 0.2.4 (#848) 2025-10-07 16:59:27 +08:00
Jo
7fe75a86da Bump version to 0.2.3 (#818) 2025-09-29 16:48:36 +08:00
Jo
eef84cf8c5 Bump version to 0.2.2 (#802) 2025-09-26 22:56:32 +08:00
renovate[bot]
a906d48a9c Update Rust crate astral-tokio-tar to v0.5.4 [SECURITY] (#788) 2025-09-24 07:27:19 +08:00
renovate[bot]
64afa98029 Update Rust crate anyhow to v1.0.100 (#769)
* Update Rust crate anyhow to v1.0.100

* Lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-09-22 14:31:33 +08:00
renovate[bot]
b924bb5920 Update Rust crate fancy-regex to v0.16.2 (#772)
* Update Rust crate fancy-regex to v0.16.2

* Update snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-09-22 13:12:51 +08:00
renovate[bot]
3626607268 Update Rust crate clap to v4.5.48 (#770) 2025-09-22 10:35:24 +08:00
renovate[bot]
ff987a1f00 Update Rust crate clap_complete to v4.5.58 (#771) 2025-09-22 10:35:12 +08:00
renovate[bot]
db21969fad Update Rust crate toml to v0.9.7 (#776) 2025-09-22 10:34:33 +08:00
renovate[bot]
29ce978b67 Update Rust crate fs-err to v3.1.2 (#773) 2025-09-22 09:30:11 +08:00
renovate[bot]
d52869242b Update Rust crate serde to v1.0.226 (#774) 2025-09-22 09:29:54 +08:00
renovate[bot]
ce58964f63 Update Rust crate serde_stacker to v0.1.14 (#775) 2025-09-22 09:28:44 +08:00
Jo
224d7e6dae Bump version to 0.2.1 (#749) 2025-09-15 23:01:14 +08:00
Jo
022ef1824c auto-update: prefer tags that are most similar to the current version (#719)
* auto-update: prefer tags that are most similar to the current version

* Add test
2025-09-15 21:35:44 +08:00
renovate[bot]
d8f4adbcaa Update Rust crate tempfile to v3.22.0 (#743)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 10:52:36 +08:00
renovate[bot]
0d0fe1373b Update Rust crate rustix to v1.1.2 (#742)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 10:52:02 +08:00
renovate[bot]
5afcb08bda Update Rust crate target-lexicon to v0.13.3 (#739)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 10:48:22 +08:00
renovate[bot]
a9871015a6 Update Rust crate serde_json to v1.0.145 (#737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 10:46:25 +08:00
renovate[bot]
e060e2ea42 Update Rust crate serde_ignored to v0.1.14 (#736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 10:46:11 +08:00
renovate[bot]
a560ba5572 Update Rust crate serde_stacker to v0.1.13 (#738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 10:44:40 +08:00
renovate[bot]
6133c95845 Update Rust crate semver to v1.0.27 (#734)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 10:43:47 +08:00
Jo
e3eeb39fd1 Bump version to 0.2.0 (#726) 2025-09-14 12:43:16 +08:00
Kushagra Udai
4e9faf20ba Speed up check_toml (#713)
* Speed up check_toml, closes #710

* fmt

* codecov

* fmt
2025-09-11 11:22:40 +08:00
Jo
98e0b71a61 Bump version to 0.2.0-alpha.5 (#711) 2025-09-11 10:52:26 +08:00
Jo
6f0a7da41b Generate cli reference (#707)
* Generate cli reference

* Fix lint
2025-09-10 22:05:05 +08:00
Jo
d3825a1fad Bump version to 0.2.0-alpha.4 (#696)
* Revert "Remove setup-dev-drive from Windows CI (#674)"

This reverts commit f3111a4d29.

* Bump version to 0.2.0-alpha.4
2025-09-10 00:44:20 +08:00
Jo
d5f2d6b303 Bump version to 0.2.0-alpha.3 (#671) 2025-09-08 15:21:24 +08:00
renovate[bot]
985655e833 Update Rust crate insta to v1.43.2 (#653) 2025-09-08 09:36:49 +08:00