Skip to content

Commit 737b956

Browse files
committed
2.0.12: add fail_on_changes_diff hook setting
1 parent 303e3f7 commit 737b956

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.0.12 (2025-12-15)
4+
5+
- chore: small changes on diff printing ([#1242](https://github.com/evilmartians/lefthook/pull/1242)) by [@mrexox](https://github.com/mrexox)
6+
- feat: ability to show diff when failing on changes ([#1227](https://github.com/evilmartians/lefthook/pull/1227)) by [@scop](https://github.com/scop)
7+
- fix: make short status parser more robust ([#1236](https://github.com/evilmartians/lefthook/pull/1236)) by [@scop](https://github.com/scop)
8+
- docs: fix readme ([#1235](https://github.com/evilmartians/lefthook/pull/1235)) by [@matdibu](https://github.com/matdibu)
9+
310
## 2.0.11 (2025-12-12)
411

512
- feat: refetch and cleanup on ref change ([#1210](https://github.com/evilmartians/lefthook/pull/1210)) 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.11
25+
go install github.com/evilmartians/lefthook/v2@v2.0.12
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.11
8+
go install github.com/evilmartians/lefthook/v2@v2.0.12
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.11"),
8+
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "2.0.12"),
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.11"
9+
const version = "2.0.12"
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.11
5+
pkgver=2.0.12
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.11
5+
pkgver=2.0.12
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.11",
3+
"version": "2.0.12",
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.11",
3+
"version": "2.0.12",
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.11",
3+
"version": "2.0.12",
44
"description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
66
"repository": {

0 commit comments

Comments
 (0)