Skip to content

Commit c43361a

Browse files
committed
2.1.0: disable installing to configured local or global hooks
1 parent 9ace994 commit c43361a

File tree

23 files changed

+39
-32
lines changed

23 files changed

+39
-32
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change log
22

3+
## 2.1.0 (2026-02-03)
4+
5+
- ci: skip Python publishing by [@mrexox][]
6+
- chore: fancy wording and indentation for hits by [@mrexox][]
7+
- feat: check core.hooksPath when lefthook install ([#1292](https://github.com/evilmartians/lefthook/pull/1292)) by [@joevin-sql-docto][]
8+
- feat: allow installing non-git hooks ([#1301](https://github.com/evilmartians/lefthook/pull/1301)) by [@mrexox][]
9+
310
## 2.0.16 (2026-01-27)
411

512
- chore: timeout cleanup ([#1297](https://github.com/evilmartians/lefthook/pull/1297)) by [@mrexox](https://github.com/mrexox)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A Git hooks manager for Node.js, Ruby, Python and many other types of projects.
2222
With **Go** (>= 1.25):
2323

2424
```bash
25-
go install github.com/evilmartians/lefthook/v2@v2.0.16
25+
go install github.com/evilmartians/lefthook/v2@v2.1.0
2626
```
2727

2828
* or as a go tool

docs/mdbook/installation/go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The minimum Go version required is 1.25 and you can install
55
- as global package
66

77
```bash
8-
go install github.com/evilmartians/lefthook/v2@v2.0.16
8+
go install github.com/evilmartians/lefthook/v2@v2.1.0
99
```
1010

1111
- or as a go tool in your project

docs/mdbook/installation/swift.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ You can find the Swift wrapper plugin [here](https://github.com/csjones/lefthook
55
Utilize lefthook in your Swift project using Swift Package Manager:
66

77
```swift
8-
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "2.0.16"),
8+
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "2.1.0"),
99
```
1010

1111
Or, with [mint](https://github.com/yonaskolb/Mint):

internal/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"golang.org/x/mod/semver"
77
)
88

9-
const version = "2.0.16"
9+
const version = "2.1.0"
1010

1111
var (
1212
// Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}.

packaging/aur/lefthook-bin/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
pkgname=lefthook-bin
44
pkgdesc="Git hooks manager"
5-
pkgver=2.0.16
5+
pkgver=2.1.0
66
pkgrel=1
77
arch=('x86_64' 'aarch64')
88
url="https://github.com/evilmartians/lefthook"

packaging/aur/lefthook/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
pkgname=lefthook
44
pkgdesc="Git hooks manager"
5-
pkgver=2.0.16
5+
pkgver=2.1.0
66
pkgrel=1
77
arch=('x86_64' 'aarch64')
88
url="https://github.com/evilmartians/lefthook"

packaging/npm-bundled/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@evilmartians/lefthook",
3-
"version": "2.0.16",
3+
"version": "2.1.0",
44
"description": "Simple git hooks manager",
55
"main": "bin/index.js",
66
"files": [

packaging/npm-installer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@evilmartians/lefthook-installer",
3-
"version": "2.0.16",
3+
"version": "2.1.0",
44
"description": "Simple git hooks manager",
55
"main": "bin/index.js",
66
"files": [

packaging/npm/lefthook-darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lefthook-darwin-arm64",
3-
"version": "2.0.16",
3+
"version": "2.1.0",
44
"description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
66
"repository": {

0 commit comments

Comments
 (0)