Skip to content

Commit 98b9721

Browse files
committed
2.1.1: fix behavior for --colors argument
1 parent 59c7260 commit 98b9721

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.1 (2026-02-12)
4+
5+
- ci: fix publishing to PyPi by [@mrexox](https://github.com/mrexox)
6+
- fix: reset colors on config read ([#1309](https://github.com/evilmartians/lefthook/pull/1309)) by [@mrexox](https://github.com/mrexox)
7+
- chore: reduce verbosity of hints in lefthook install ([#1303](https://github.com/evilmartians/lefthook/pull/1303)) by [@joevin-slq-docto](https://github.com/joevin-slq-docto)
8+
- docs: add missing /v2 suffix for go get -tool ([#1304](https://github.com/evilmartians/lefthook/pull/1304)) by [@alexandregv](https://github.com/alexandregv)
9+
310
## 2.1.0 (2026-02-03)
411

512
- ci: skip Python publishing by [@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.1.0
25+
go install github.com/evilmartians/lefthook/v2@v2.1.1
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.1.0
8+
go install github.com/evilmartians/lefthook/v2@v2.1.1
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.1.0"),
8+
.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "2.1.1"),
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.1.0"
9+
const version = "2.1.1"
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.1.0
5+
pkgver=2.1.1
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.1.0
5+
pkgver=2.1.1
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.1.0",
3+
"version": "2.1.1",
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.1.0",
3+
"version": "2.1.1",
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.1.0",
3+
"version": "2.1.1",
44
"description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.",
55
"preferUnplugged": false,
66
"repository": {

0 commit comments

Comments
 (0)