Packages

husky

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

Your version

157 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 9.x · latest line
  2. 9.1.7

    18 Nov 2024
    • Add husky label to deprecated warning

  3. 9.1.6

    11 Sep 2024
    • Fix issue where example pre-commit file is generated incorrectly

  4. 9.1.5

    20 Aug 2024
    • Fixes #1494, support pre-merge-commit hook

  5. 9.1.4

    29 Jul 2024
    • Improve deprecation notice

  6. 9.1.3

    26 Jul 2024
    • Better handle space in PATH

  7. 9.1.2

    25 Jul 2024

    Show a message instead of automatically removing deprecated code.

  8. 9.1.1

    18 Jul 2024
    • 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

    • bunx husky init command

  9. 9.1.0

    17 Jul 2024
  10. 9.0.11

    13 Feb 2024
    • export HUSKY=0 in init (fixes #1393)

  11. 9.0.10

    1 Feb 2024
    • Rename index.d.ts to index.d.mts

  12. 9.0.9

    1 Feb 2024

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  13. 9.0.8

    1 Feb 2024
    • Fix tab detection on install command

  14. 9.0.7

    29 Jan 2024

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  15. 9.0.6

    25 Jan 2024
    • Fix unbound variable

  16. 9.0.5

    25 Jan 2024
    • Init error

  17. 9.0.4

    25 Jan 2024
    • Init create dir before

    • Init not working on pnpm #1334

  18. 9.0.3

    25 Jan 2024
    • Add scripts field if not present

    • Insert final newline

    • Fix git hooks path on windows

  19. 9.0.2

    25 Jan 2024
    • Exit code

  20. 9.0.1

    25 Jan 2024
    • removed

      Dropped support for Node 14 and 16.

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

    • Added $XDG_CONFIG_HOME support. Move ~/.huskyrc to ~/.config/husky/init.sh for centralized configuration.

  21. 8.x
  22. 8.0.3

    3 Jan 2023
    • Add git not installed message #1208

  23. 8.0.2

    8 Nov 2022

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  24. 8.0.1

    9 May 2022
    • Use POSIX equality operator

  25. 8.0.0

    8 May 2022
    • removed

      Drop Node 12 support

    • Add husky - prefix to logged global error messages

    • Show PATH when command not found to improve debuggability

  26. 7.x
  27. 7.0.4

    21 Oct 2021

    No changes. Husky v7.0.3 was reverted, this version is the same as v7.0.2.

  28. 7.0.3

    21 Oct 2021
  29. 7.0.2

    25 Aug 2021

    Fix pre-commit hook in WebStorm (#1023)

  30. 7.0.1

    6 Jul 2021
    • Fix gracefully fail if Git command is not found #1003 (same as in v6)

  31. 7.0.0

    1 Jul 2021
    • removed

      Drop Node 10 support

    • Improve .husky/ directory structure. .husky/.gitignore is now unnecessary and can be removed.

    • Improve error output (shorter)

  32. 6.x
  33. 6.0.0

    29 Mar 2021
    • breaking

      husky init has been moved to its own package (npx husky-init)

    • Programmatically use husky: require('husky')

    • TypeScript definitions

  34. 5.x
  35. 5.2.0

    21 Mar 2021
    • Add set command to replace hooks (husky set .husky/pre-commit cmd)

    • Update add command to append command (husky add .husky/pre-commit cmd)

    • Improve error messages

  36. 5.1.3

    2 Mar 2021
    • cli: husky init will detect Yarn v2 and initialize accordingly

  37. 5.1.2

    1 Mar 2021
    • cli: husky init use prepare script

  38. 5.1.1

    22 Feb 2021
    • init: Update package.json postinstall

  39. 5.1.0

    21 Feb 2021
    • Add husky init

  40. 5.0.9

    8 Feb 2021
    • install: Do not fail if not inside a Git directory (closes #851)

  41. 5.0.8

    28 Jan 2021
    • install: Better handle Git <2.9 (#846) closes #844

  42. 5.0.7

    27 Jan 2021
    • shell: Double quote params

  43. 5.0.6

    11 Dec 2020
    • Remove unused files

  44. 5.0.5

    11 Dec 2020
    • Fix custom directory support #827

  45. 5.0.1 – 5.0.44 releases without a noteShow each
  46. 5.0.0

    16 Nov 2020

    👉 See typicode.github.io/husky for breaking changes and new installation instructions.

  47. 4.x
  48. 4.3.8

    15 Jan 2021
    • Fix Cannot read property 'toString' of null

    • Improve error messages

  49. 4.3.7

    7 Jan 2021
    • Upgrade find-versions to 4.0.0 #837

  50. 4.3.6

    13 Dec 2020
    • Fix prepare-commit-msg on windows #737

  51. 4.3.5

    7 Dec 2020
    • Rollback and do not throw error if husky install fails

  52. 4.3.4

    5 Dec 2020
    • Throw error if husky install fails

    • Add workaround for npm 7 currently missing INIT_CWD environment variable

  53. 4.3.3

    5 Dec 2020