Skip to content

v1.0.0

Compare
Choose a tag to compare
@mrexox mrexox released this 19 Jun 06:41
· 318 commits to master since this release
v1.0.0
4701482

This release contains the refactoring of lefthook project. Here are the goals we wanted to achieve:

  • Make the code more structured, and split it into independent components.
  • Define the config scheme to make it easy to understand from the source code.
  • Add tests to prevent accidental regression bugs.

We rewrote the code thoroughly. So the behavior might have changed, although we were trying to keep it similar to the v0.8.0 version. So if you have a problem or bug, please, open an issue.

Changelog

  • 491b843 0.7.7: Fix arguments passing and various NPM-related fixes
  • f028352 0.8.0: Skip hooks in merge/rebase, hide summary, NPM installer package
  • 4701482 1.0.0: Refactoring
  • fa2403e Account for GOAMD64 suffix in directory names in NPM and GEM packages [ci skip]
  • 360128f Add more linters and fix issues
  • 01d26f8 Add tests on install and uninstall commands
  • c4bd956 Allows lefthook to work when node_modules is not in root folder for npx (#224)
  • 2268393 Bump go to 1.17
  • 0ebf449 Bump libgit2 and refactor load.go
  • 6a472e7 Configure CI linter
  • c02966f Cover install command with tests
  • a72fd02 Do not initialize git config on help and version commands (#209)
  • d2c4bd8 Don't execute a command if substitution is empty
  • c5e3afb Embed documentation from a file
  • 2ab9b24 Fix comments
  • cae5b37 Fix incorrect npx command in git hook script template (#236)
  • 92de212 Fix lefthook file detection
  • 9f7d359 Fix linter
  • 1f5836f Fix typo
  • eaefe70 Hide unneeded logs under verbose flag
  • 5878866 Implement add command and refactor some other files and tests
  • accb87a Implement config loading and add tests (#245)
  • 35d1a15 Implement install command
  • d643c2d Implement version check, refactor tests
  • 7aeb9d3 Improve extends algorithm, remove dummy func replaceCmd
  • 5e4b5e2 Improve logging
  • ac987c8 Include archived binaries in the releases (#189)
  • 855ecce Include version into RPM/DEB packages on release [ci skip]
  • 466e801 Merge branch 'master' into refactoring
  • bfed65c Merge pull request #275 from evilmartians/refactoring
  • eae9d36 Merge remote-tracking branch 'origin/0-7-stable'
  • 4d5776f Move deprecated option 'aggressive' to uninstall command
  • f3dd673 Move list of hooks to config
  • a23b804 Move logic to a separate package
  • 8eda3be Pass all arguments to downstream hooks (#231)
  • adda4aa Prepare a skeleton for Run command implementation
  • 2182443 Read configuration into memory
  • e055dc9 Refactoring WIP
  • 44c0acd Reorganize files for better code support
  • f3ffc5b Run command implementation
  • 87f84cf Split NPM package to two: bundled and installer (#273)
  • baa238e Store checksum file name in one place
  • 8289896 Try fix golangci-lint in github actions
  • 015b891 Try fixing tests on windows
  • d11f933 Update project URLs in NPM package.json (#235)
  • 4556baa Update the list of git hooks
  • 9ec226c Use more understandable patterns for Lefthook initialization
  • f30499f build flag for windows
  • 3e6c8ec chore: Better code style
  • 9fe6f42 chore: Bump version to 1.0.0
  • 7e44349 chore: Update changelog
  • 6802534 filesTypeToFn
  • 7c3c434 fix(ci): Fix goreleaser build
  • 862d1c3 fix(gem): Add aarch64 support (#267)
  • 19cecad fix(spinner): Handle spinner in log package
  • a233e25 fix: Skip execution if result of files option is empty
  • b7692d7 fix: Support non-git hooks
  • b3f5982 more tweaks
  • 0a6112a node: fix postinstall: process.cwd is a function and should be called
  • 5eff2e6 review fixes
  • 02e6c56 run command windows