Skip to content

Releases: evilmartians/lefthook

v1.0.1

21 Jun 06:54
v1.0.1
a386b0a
Compare
Choose a tag to compare

Fixed packages for Ruby gem and NPM. Lefthook binary is left the same.

Changelog

  • a386b0a 1.0.1: Fix Ruby gem and NPM packages folder structure
  • b69895d chore: Remove .travis.yml
  • 1e556e1 fix: Bump gem version with fixed folder structure
  • 00527fe fix: Bump npm packages version with fixed folders structure
  • 5001a09 fix: Fix link to NPM package

v1.0.0

19 Jun 06:41
v1.0.0
4701482
Compare
Choose a tag to compare

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

v0.8.0

07 Jun 16:20
v0.8.0
f028352
Compare
Choose a tag to compare

Changelog

  • f028352 0.8.0: Skip hooks in merge/rebase, hide summary, NPM installer package
  • 9ba7d84 Add blog post for React/React Native (#223) [ci skip]
  • 2fe9766 Add global npm install option to docs [ci skip] (#194)
  • 49e3409 Add golangci-lint workflow
  • 6b4f4ef Allow skipping hooks in certain git states: merge and/or rebase (#173)
  • d65edc8 Allows lefthook to work when node_modules is not in root folder for npx (#224)
  • 6e94063 Build binaries on GitHub Actions so people can test lefthook easily
  • ad086ac Do not initialize git config on help and version commands (#209)
  • d3d1386 Document installing from Snap store on Linux. Closes #161 [ci skip]
  • 51ea157 Fix incorrect npx command in git hook script template (#236)
  • 8defa7e Fix lefthook binary extension on Windows
  • 12ad491 Fix path for searching npm-installed binary when in worktree (#193)
  • d98dc59 Fix typo in docs/full_guide.md (#256)
  • 352531c Fix unreachable conditional in hook template (#242)
  • ac987c8 Include archived binaries in the releases (#189)
  • 8fe6b50 LEFTHOOK_QUIET environment variable with the same function as skip_output
  • 9f5e452 Make filename globs case-insensitive (#196)
  • df55fd9 Merge branch '0-7-stable'
  • eae9d36 Merge remote-tracking branch 'origin/0-7-stable'
  • aa26a08 Npm: download the required binaries during installation (#188)
  • 6c84d85 Pass all arguments to downstream hooks (#231)
  • 3c60f88 Remove code duplication
  • c3b9420 Replace deprecated File.exists? with exist? for Ruby wrapper (#263)
  • 87f84cf Split NPM package to two: bundled and installer (#273)
  • 70f6b51 Stop building 32-bit binaries for releases due to low usage [ci skip]
  • 13370c6 Support skipping summary output
  • d1c9e0f Update project URLs in NPM package.json (#235)
  • 9a77793 chore(lint): Fix golangci-lint complains
  • 8b321bf docs(usage): Add commitlint example in full_guide (#201)
  • c43d472 fix(hook.tmpl): adds cpu arch and os arch to lefthook's filepath (#260)
  • bf2fa19 node: fix docs to actually refer to the correct package (#218) [ci skip]
  • 7250a6e node: process.cwd is a function and should be called

v0.7.7

02 Oct 17:26
v0.7.7
491b843
Compare
Choose a tag to compare

Changelog

491b843 0.7.7: Fix arguments passing and various NPM-related fixes
c4bd956 Allows lefthook to work when node_modules is not in root folder for npx (#224)
a72fd02 Do not initialize git config on help and version commands (#209)
cae5b37 Fix incorrect npx command in git hook script template (#236)
8eda3be Pass all arguments to downstream hooks (#231)
d11f933 Update project URLs in NPM package.json (#235)
0a6112a node: fix postinstall: process.cwd is a function and should be called

v0.7.6

02 Jun 10:23
v0.7.6
5c36d35
Compare
Choose a tag to compare

Changelog

5c36d35 0.7.6: Fixes for Windows, NPM on 32bit Node, and NPM in worktrees
da72921 Add simple github action
e0d4765 Fix file selection for Ruby gem build [ci skip]
5310679 Fix lefthook binary extension on Windows
8d14958 Fix path for searching npm-installed binary when in worktree (#193)
f52e079 Remove rpm from recommendations for DEB and RPM packages
f4de02f npm: Use correct arch identifier for 32-bit Intel-based processors

v0.7.5

14 May 18:31
v0.7.5
31a27f1
Compare
Choose a tag to compare

Changelog

31a27f1 0.7.5: Fixes for git worktrees, custom hooks path, npm/gem on Windows
b5507cd Do not output path to executable in Ruby gem wrapper
697e0b1 Drop binaries from git repository [ci skip]
be0bf50 Extract templates
942e109 Fix RSpec (#175)
cacd3b7 Fix failing installation of NPM package on Windows + MINGW64
a512ca8 Fix failing installation of Ruby gem on Windows + MINGW64
2a3d9f4 Fix failing installation of Ruby gem on Windows + MINGW64
bc2c5cb Fix failing installation on Windows + MSYS (#179)
9e22b86 Fix typos
3a5d000 Lefthook has been accepted to Homebrew core! 🎉 🍺
42acef3 Rewrite npm's scripts in JavaScript (#184)
45e9234 Support git workspaces and submodules (#182)
b510d22 getGitHooksPath helper function (#177)

v0.7.4

30 Apr 12:48
v0.7.4
2e6bfe9
Compare
Choose a tag to compare

Changelog

2e6bfe9 0.7.4: Fix some commands outside of repositories, create .git/hooks if needed
97076ba Attach plain binaries to GitHub releases without compression
ac5aaa7 Create .git/hooks directory when it does not exist (#169)
f79dd0d Drop Homebrew tap declaration from GoReleaser configuration
04f9b56 Fix binaries selection for Ruby gem build
44193d6 Improve check for installed git (#171)
664d963 Reintroduce Snapcraft, change confinement to classic
de81ad7 Remove MkdirAll from DeleteGitHooks (#172)

v0.7.3

23 Apr 11:03
v0.7.3
3e1cf0a
Compare
Choose a tag to compare

Changelog

3e1cf0a 0.7.3: Fix building on latest Go, package various architectures
2a8ee58 Add modular output
9d7aa16 Add spinner to wait for execution runners
b4d9e0d Fix a typo aggresive -> aggressive
065b24f Fix golang 1.15+ build (#167)
a962af6 Fix incompatible Bash features used in SH scripts
b742f15 Improve performance with NPM package
7de5f82 Merge pull request #130 from 0legovich/modular_output
0a28296 Merge pull request #142 from pregnor/feat/133/hook-arguments-to-command
e141b9a Merge pull request #146 from nesk/npm-optimization
621d52a Merge pull request #148 from qjcg/update-viper
278315f Merge pull request #150 from chalkygames123/master
8bd07ee Merge pull request #154 from nesk/sh-bugfixes
7b44ebf Package binaries for various architectures to gem and npm packages (#168)
37a7fe9 Source code repository moved to @evilmartians organization
8b83c51 Update README.md
503beb1 Update goreleaser config: explicitly declare architectures
0331c68 Update viper dependency to v1.7.1
5789855 add info about glob library
f7ef7a6 feat(commands): added Git hook argument handling
bd12bbc fix reading pty results
58f641c new article

v0.7.2

19 May 12:28
Compare
Choose a tag to compare

Changelog

5a32eab Add yarn to template
8602f75 Fix: use '-h' for robust lefthook (Go binary) existence checking
f0963d9 Fixed test
acf82ca Merge branch 'master' of github.com:Arkweid/lefthook
55a468e Merge branch 'master' of github.com:Arkweid/lefthook
105cb93 Merge branch 'master' of github.com:Arkweid/lefthook
a4c0990 Merge pull request #1 from Evilweed/refactor/remove-excess-code
5691e6d Merge pull request #116 from fahrinh/fix/check-lefthook-existence
6053e0b Merge pull request #123 from mknapik/master
ee46876 Merge pull request #124 from dotterian/patch-1
77816df Merge pull request #126 from Evilweed/feat/multiple-extends
06d2be1 Merge pull request #2 from Evilweed/test/add-extends-test
b4406f4 Update docker examples in guides
1451685 Update other.md
2d6012a add info about CI services
365aaee feat(ch11605): cr changes
d458c1b feat: ability to add multiple extends
95d3ee0 fix deprecations in .goreleaser
2a2ab34 fix typo
97e7957 refactor: remove-excess-code
a8d6967 refactor: rename v to path
1298853 v0.7.2 release

v0.7.1

02 Feb 12:50
Compare
Choose a tag to compare

Changelog

46092d0 Add possibility for using multiple file types
4e023ef Merge pull request #103 from rbUUbr/feature/add-support-of-multiple-file-extensions
094d3f4 Merge pull request #108 from lionskape/fix/git-execution-conisistency_windows
2747fcb fixed code style for review
9d75757 release/0.7.1
89938f7 remove sh from dependencies
41ec2e7 remove sh from dependencies in add command
4663f24 reverted unnecessary changes