Packages

husky

9.1.7 · 18 Nov 2024MIT49.9M / weekRepositoryHomepagenpmAtom feed

Upgrading husky From 8.0.1 to 9.1.7

21 releases in betweennotes for 20

Reading releases, release notes and advisories…

Other targets from 8.0.1Newest 8.x8.0.3
  1. 8.0.1yours
  2. 2 releases
  3. 9.0.1breaking
  4. 17 releases
  5. 9.1.7target
3+
changes to make
0
advisories fixed
1+
new
18+
fixes

Counted from 20 of 21 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking9.0.1
  • deprecated9.1.1
  • deprecated9.1.1

Release by release

  1. 9.1.7

    18 Nov 20241 fix
    • fixed

      Add husky label to deprecated warning

  2. 9.1.6

    11 Sep 20241 fix
    • fixed

      Fix issue where example pre-commit file is generated incorrectly

  3. 9.1.5

    20 Aug 20241 fix
    • fixed

      Fixes #1494, support pre-merge-commit hook

  4. 9.1.4nothing new or fixed in the note

  5. 9.1.3

    26 Jul 20241 fix
    • fixed

      Better handle space in PATH

  6. 9.1.2nothing new or fixed in the note

  7. 9.1.1

    Deprecation18 Jul 20242 fixes
    • deprecated

      #!/usr/bin/env sh and . "$(dirname -- "$0")/_/husky.sh" are deprecated. husky command will automatically remove them, no action required.

    • deprecated

      If you're having code in ~/.huskyrc please move it to .config/husky/init.sh

    • fixed

      bunx husky init command

    • fixed

      Workaround for some hooks implementation on Windows

  8. 9.1.0no release note

9 other lines we could not sort, mostly version bumps
  • Improve deprecation notice

    9.1.4
  • Enhanced security with CI and npm --provenance for safer publishing.

    9.0.1
  • Fixed permission issue for Windows-created hooks; they no longer need to be executable.

    9.0.1
  • Removed husky install. Use husky or husky some/dir for the same functionality (deprecation notice to be added).

    9.0.1
  • Modified behavior when .git is missing; it now triggers a warning instead of failure.

    9.0.1
  • Replaced HUSKY_DEBUG=1 with HUSKY=2 for debugging.

    9.0.1
  • Updated the Husky API for module usage.

    9.0.1
  • Transitioned to ESM for module usage.

    9.0.1
  • Revamped docs.

    9.0.1

16 internal lines (docs, tests, tooling) left out.