Packages

husky

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

Upgrading husky From 4.0.10 to 9.1.7

60 releases in betweennotes for 51

Reading releases, release notes and advisories…

Other targets from 4.0.10Newest 4.x4.3.8
  1. 4.0.10yours
  2. 16 releases
  3. 5.0.0major
  4. 14 releases
  5. 6.0.0major
  6. 7.0.0major
  7. 4 releases
  8. 8.0.0major
  9. 3 releases
  10. 9.0.1breaking
  11. 17 releases
  12. 9.1.7target
8+
changes to make
0
advisories fixed
10+
new
40+
fixes

Counted from 51 of 60 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • breaking9.0.1
  • breaking8.0.0
  • breaking7.0.0
  • breaking6.0.0
  • breaking6.0.0
  • breaking5.0.0
  • 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

23 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
  • Improve .husky/ directory structure. .husky/.gitignore is now unnecessary and can be removed.

    7.0.0

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