Jo
bdc40e36aa
Bump version to 0.2.19 ( #1156 )
2025-11-26 17:14:35 +08:00
Jo
5c9fce63be
Bump version to 0.2.18 ( #1132 )
...
* Bump version to 0.2.18
* Add highlights
2025-11-21 20:41:20 +08:00
Jo
ede0277df3
Enable enable virtual terminal processing on Windows ( #1123 )
2025-11-20 12:41:02 +08:00
Jo
5110eb9fc1
Bump version to 0.2.17 ( #1114 )
2025-11-18 23:04:44 +08:00
Jo
683ad1f786
Revert back to serde_yaml again ( #1112 )
2025-11-18 22:46:32 +08:00
Jo
df5068a797
Bump version to 0.2.16 ( #1110 )
2025-11-18 17:52:07 +08:00
Jo
aed7e555d0
Restore using serde_yaml in check-yaml hook ( #1106 )
...
* Fix check-yaml: do not try to parse !!binary scalar into UTF-8 string
* Restore using `serde_yaml` in `check-yaml` hook
* Update snaps
2025-11-18 17:25:52 +08:00
renovate[bot]
19e97f7c92
Update Rust crate serde-saphyr to 0.0.8 ( #1099 )
2025-11-17 19:26:19 +08:00
Jo
11f369ed7a
Bump version to 0.2.15 ( #1098 )
2025-11-17 18:41:36 +08:00
Jo
7e06cffa70
Bump version to 0.2.15-alpha.3 ( #1091 )
...
* Fix release
* Bump version to 0.2.15-alpha.3
2025-11-16 19:26:06 +08:00
Jo
bf8dc871e5
Bump version to 0.2.15-alpha.2 ( #1090 )
...
* Revert "Bump version to 0.2.15-alpha.1 (#1089 )"
This reverts commit 0d0509f4f3 .
* Bump
* Bump version to 0.2.15-alpha.2
2025-11-16 18:39:38 +08:00
Jo
0d0509f4f3
Bump version to 0.2.15-alpha.1 ( #1089 )
2025-11-16 18:07:51 +08:00
Jo
8292d951b8
Prepare for publishing to crates.io ( #1088 )
...
* Add descriptions for crates
* Add version
# Conflicts:
# Cargo.toml
* Add action
* Fix
2025-11-16 17:36:51 +08:00
Jo
0dd2fcc9b2
Replace serde-yaml with serde_saphyr ( #1087 )
...
* .
# Conflicts:
# Cargo.lock
# Cargo.toml
* .
* .
* Replace `serde-yaml` with `serde_saphyr`
* Fix sanps
* Fix snaps
2025-11-16 15:58:39 +08:00
Jo
f65fcb48ef
Revert "Use mimalloc and tikv-jemallocator as global allocator ( #1082 )" ( #1084 )
...
This reverts commit a670b814b2 .
2025-11-15 14:55:04 +08:00
Jo
544bd32860
Remove unused url dependency ( #1083 )
2025-11-15 14:54:07 +08:00
Jo
a670b814b2
Use mimalloc and tikv-jemallocator as global allocator ( #1082 )
2025-11-15 14:35:20 +08:00
Jo
cd8d8fdb52
Migrate to astral_async_zip on crates.io ( #1081 )
...
* Migrate to astral_async_zip on crates.io
* Fix lint
2025-11-15 14:21:05 +08:00
Jo
30355ea9b4
Bump version to 0.2.14 ( #1075 )
2025-11-14 23:07:29 +08:00
Jo
9c70b50930
Bump version to 0.2.13 ( #1036 )
2025-11-04 22:05:02 +08:00
Copilot
011a0b3ff1
Rename crate lib/constants to crates/prek-consts and rename lib to crates ( #1026 )
...
* Initial plan
* Rename crate lib/constants to lib/prek-consts and fix all references
Co-authored-by: j178 <10510431+j178@users.noreply.github.com >
* Rename lib directory to crates and update all references
Co-authored-by: j178 <10510431+j178@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: j178 <10510431+j178@users.noreply.github.com >
2025-11-03 23:16:58 +08:00
Jo
ee0acf25a3
Rename pty crate to prek-pty ( #1025 )
2025-11-03 22:16:22 +08:00
Jo
f6d873c48e
Vendor yaml-merge-keys to reduce dependencies ( #1024 )
2025-11-03 20:36:23 +08:00
Jo
156f06977a
Fix YAML with nested merge keys ( #1020 )
2025-11-03 15:36:40 +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
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
Louis Maddox
6d8579fdf4
feat: make package cargo binstallable ( #882 )
2025-10-15 06:33:38 +08:00
Jo
1205b6ddb6
Add tracking issue for language support ( #879 )
2025-10-14 20:42:29 +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
Jo
0ba14e2f1d
Add support for specifying PREK_UV_SOURCE ( #766 )
...
* Add support for specifying `PREK_UV_SOURCE`
* Fix
* Improve
* debug
* Fix
2025-09-20 18:24:35 +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
Jo
e3eeb39fd1
Bump version to 0.2.0 ( #726 )
2025-09-14 12:43:16 +08:00
Jo
be6674f6dd
Enable more aggressive optimizations for release ( #724 )
2025-09-14 11:58:23 +08:00