From b913f098766ddd60ed6ddd6e4a81a9a6e247ac04 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Mon, 8 Jul 2024 10:41:18 +0300 Subject: [PATCH] 1.6.19: improve startup performance on npm --- CHANGELOG.md | 7 +++++++ docs/install.md | 2 +- internal/version/version.go | 2 +- packaging/npm-bundled/package.json | 2 +- packaging/npm-installer/package.json | 2 +- .../npm/lefthook-darwin-arm64/package.json | 2 +- packaging/npm/lefthook-darwin-x64/package.json | 2 +- .../npm/lefthook-freebsd-arm64/package.json | 2 +- .../npm/lefthook-freebsd-x64/package.json | 2 +- .../npm/lefthook-linux-arm64/package.json | 2 +- packaging/npm/lefthook-linux-x64/package.json | 2 +- .../npm/lefthook-windows-arm64/package.json | 2 +- .../npm/lefthook-windows-x64/package.json | 2 +- packaging/npm/lefthook/package.json | 18 +++++++++--------- packaging/pack.rb | 2 +- packaging/rubygems/lefthook.gemspec | 2 +- 16 files changed, 30 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fb7064b..9394dd86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ ## master (unreleased) +## 1.6.19 (2024-07-08) + +- perf: startup time reduce ([#705](https://github.com/evilmartians/lefthook/pull/705)) by @dalisoft +- docs: add a note about pnpm package installation ([#761](https://github.com/evilmartians/lefthook/pull/761)) by @mrexox +- ci: retriable integrity tests ([#758](https://github.com/evilmartians/lefthook/pull/758)) by @mrexox +- ci: universal publisher with Ruby script ([#756](https://github.com/evilmartians/lefthook/pull/756)) by @mrexox + ## 1.6.18 (2024-06-21) - fix: allow multiple levels of extends ([#755](https://github.com/evilmartians/lefthook/pull/755)) by @mrexox diff --git a/docs/install.md b/docs/install.md index 82f00ba9..1a5f1f16 100644 --- a/docs/install.md +++ b/docs/install.md @@ -81,7 +81,7 @@ You can find the Swift wrapper plugin [here](https://github.com/csjones/lefthook Utilize lefthook in your Swift project using Swift Package Manager: ```swift -.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.6.18"), +.package(url: "https://github.com/csjones/lefthook-plugin.git", exact: "1.6.19"), ``` Or, with [mint](https://github.com/yonaskolb/Mint): diff --git a/internal/version/version.go b/internal/version/version.go index 79341075..323b7d45 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -8,7 +8,7 @@ import ( "strconv" ) -const version = "1.6.18" +const version = "1.6.19" var ( // Is set via -X github.com/evilmartians/lefthook/internal/version.commit={commit}. diff --git a/packaging/npm-bundled/package.json b/packaging/npm-bundled/package.json index fe60ec8b..11e3dfe1 100644 --- a/packaging/npm-bundled/package.json +++ b/packaging/npm-bundled/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook", - "version": "1.6.18", + "version": "1.6.19", "description": "Simple git hooks manager", "main": "bin/index.js", "bin": { diff --git a/packaging/npm-installer/package.json b/packaging/npm-installer/package.json index 2b423fa6..d4516269 100644 --- a/packaging/npm-installer/package.json +++ b/packaging/npm-installer/package.json @@ -1,6 +1,6 @@ { "name": "@evilmartians/lefthook-installer", - "version": "1.6.18", + "version": "1.6.19", "description": "Simple git hooks manager", "main": "bin/index.js", "bin": { diff --git a/packaging/npm/lefthook-darwin-arm64/package.json b/packaging/npm/lefthook-darwin-arm64/package.json index 61d305e3..764d3a9b 100644 --- a/packaging/npm/lefthook-darwin-arm64/package.json +++ b/packaging/npm/lefthook-darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-darwin-arm64", - "version": "1.6.18", + "version": "1.6.19", "description": "The macOS ARM 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-darwin-x64/package.json b/packaging/npm/lefthook-darwin-x64/package.json index 75e02d94..3fd5e785 100644 --- a/packaging/npm/lefthook-darwin-x64/package.json +++ b/packaging/npm/lefthook-darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-darwin-x64", - "version": "1.6.18", + "version": "1.6.19", "description": "The macOS 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-freebsd-arm64/package.json b/packaging/npm/lefthook-freebsd-arm64/package.json index 7cbef9e6..be79a37c 100644 --- a/packaging/npm/lefthook-freebsd-arm64/package.json +++ b/packaging/npm/lefthook-freebsd-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-freebsd-arm64", - "version": "1.6.18", + "version": "1.6.19", "description": "The FreeBSD ARM 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-freebsd-x64/package.json b/packaging/npm/lefthook-freebsd-x64/package.json index d6b3ea19..153c5ec7 100644 --- a/packaging/npm/lefthook-freebsd-x64/package.json +++ b/packaging/npm/lefthook-freebsd-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-freebsd-x64", - "version": "1.6.18", + "version": "1.6.19", "description": "The FreeBSD 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-linux-arm64/package.json b/packaging/npm/lefthook-linux-arm64/package.json index 7ad48b4d..ab00c78a 100644 --- a/packaging/npm/lefthook-linux-arm64/package.json +++ b/packaging/npm/lefthook-linux-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-linux-arm64", - "version": "1.6.18", + "version": "1.6.19", "description": "The Linux ARM 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-linux-x64/package.json b/packaging/npm/lefthook-linux-x64/package.json index e360b4bf..4fa5069b 100644 --- a/packaging/npm/lefthook-linux-x64/package.json +++ b/packaging/npm/lefthook-linux-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-linux-x64", - "version": "1.6.18", + "version": "1.6.19", "description": "The Linux 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-windows-arm64/package.json b/packaging/npm/lefthook-windows-arm64/package.json index d9cf1f17..d53e6910 100644 --- a/packaging/npm/lefthook-windows-arm64/package.json +++ b/packaging/npm/lefthook-windows-arm64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-windows-arm64", - "version": "1.6.18", + "version": "1.6.19", "description": "The Windows ARM 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook-windows-x64/package.json b/packaging/npm/lefthook-windows-x64/package.json index ec4c2e2d..00d14628 100644 --- a/packaging/npm/lefthook-windows-x64/package.json +++ b/packaging/npm/lefthook-windows-x64/package.json @@ -1,6 +1,6 @@ { "name": "lefthook-windows-x64", - "version": "1.6.18", + "version": "1.6.19", "description": "The Windows 64-bit binary for lefthook, git hooks manager.", "bin": { "lefthook": "bin/lefthook" diff --git a/packaging/npm/lefthook/package.json b/packaging/npm/lefthook/package.json index fad43a28..1c851028 100644 --- a/packaging/npm/lefthook/package.json +++ b/packaging/npm/lefthook/package.json @@ -1,6 +1,6 @@ { "name": "lefthook", - "version": "1.6.18", + "version": "1.6.19", "description": "Simple git hooks manager", "repository": "https://github.com/evilmartians/lefthook", "keywords": [ @@ -16,14 +16,14 @@ }, "homepage": "https://github.com/evilmartians/lefthook#readme", "optionalDependencies": { - "lefthook-darwin-arm64": "1.6.18", - "lefthook-darwin-x64": "1.6.18", - "lefthook-linux-arm64": "1.6.18", - "lefthook-linux-x64": "1.6.18", - "lefthook-freebsd-arm64": "1.6.18", - "lefthook-freebsd-x64": "1.6.18", - "lefthook-windows-arm64": "1.6.18", - "lefthook-windows-x64": "1.6.18" + "lefthook-darwin-arm64": "1.6.19", + "lefthook-darwin-x64": "1.6.19", + "lefthook-linux-arm64": "1.6.19", + "lefthook-linux-x64": "1.6.19", + "lefthook-freebsd-arm64": "1.6.19", + "lefthook-freebsd-x64": "1.6.19", + "lefthook-windows-arm64": "1.6.19", + "lefthook-windows-x64": "1.6.19" }, "scripts": { "postinstall": "node postinstall.js" diff --git a/packaging/pack.rb b/packaging/pack.rb index 2009ca83..cc6dc22a 100755 --- a/packaging/pack.rb +++ b/packaging/pack.rb @@ -2,7 +2,7 @@ require "fileutils" -VERSION = "1.6.18" +VERSION = "1.6.19" ROOT = File.join(__dir__, "..") DIST = File.join(ROOT, "dist") diff --git a/packaging/rubygems/lefthook.gemspec b/packaging/rubygems/lefthook.gemspec index d502de8e..61376e9c 100644 --- a/packaging/rubygems/lefthook.gemspec +++ b/packaging/rubygems/lefthook.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = "lefthook" - spec.version = "1.6.18" + spec.version = "1.6.19" spec.authors = ["A.A.Abroskin", "Evil Martians"] spec.email = ["lefthook@evilmartians.com"]