Repository navigation
Patch release, no breaking changes. MSRV stays 1.83.
Upgrade if you use prek mode in a git worktree or submodule — that
combination failed to build in 0.4.0.
cargo update -p husky-rsFixes
- prek mode failed in worktrees and submodules.
.gitis a file there, so
prek install --git-dir <root>/.gitaborted with
failed to create directory ...: Not a directory (os error 20). Now resolves
the git common dir viagit rev-parse --git-common-dir(git 2.5+). CARGO_TARGET_DIRoutside the repo silently installed nothing. The build
script finds the project fromOUT_DIR; it now emits a diagnostic. Note that
cargo hides build-script warnings from registry dependencies unless you pass
-vv, socargo build -vvis how you see it. Suppressed on docs.rs..huskyas a file fails fast on every platform, not just Unix.
Added
push-to-checkoutinSUPPORTED_HOOKS(28 hooks), sois_valid_hook_name
accepts it.
Internal
- CI's
msrvjob pinned the stable toolchain, so 1.83 was never tested. Fixed. - Tests 85 → 93; two previously passed without asserting anything.
Full diff: v0.4.0...v0.4.1