Angaben zum Datum
Datum aus der Quelle.
Erstmals gesehen am .
hk 2.5.0: Sichereres Stashing und deutlich schnelleres Laden der Konfiguration
hk 2.5.0 macht das Stashing bei Abbrüchen und parallelen hk-Prozessen sicher, lädt Konfigurationen deutlich schneller (kalt von etwa 1,4 s auf 0,07 s), meldet Diagnostics von mehr Builtins und behebt viele Fälle, in denen Prüfungen fälschlich bestanden wurden, sowie mehrere Windows-Probleme.
hk 2.5.0 makes stashing safe when hk is killed and when several hk processes run at once, loads configs much faster, and reports diagnostics from many more builtins. It also fixes a long list of cases where a check passed without checking anything, along with several Windows problems.
Highlights
- Stashing holds up under interruption and concurrency. SIGTERM, SIGHUP and crashes no longer leave your unstaged changes stuck in
git stash. Hooks running in linked worktrees now take turns stashing. Several edge cases that dropped or mixed up changes are fixed. - Configs load faster. A cold config load drops from about 1.4 s to about 0.07 s, and
hk validateis about 14x faster. Several per-step and stashing costs are lower in large repos. - Fewer checks pass when they should fail.
hk validatenow catches more config mistakes. Several builtins andhk utilchecks no longer skip binary files, case conflicts in directory names, or executable bits recorded in git.