Skip to content

chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.14 - #86

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/aqua-evilmartians-lefthook-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/aqua-evilmartians-lefthook-2.x

Conversation

@renovate

@renovate renovate Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
aqua:evilmartians/lefthook tools patch 2.1.9 → 2.1.14

Release Notes

evilmartians/lefthook (aqua:evilmartians/lefthook)

v2.1.14

Compare Source

v2.1.13

Compare Source

v2.1.12

Compare Source

v2.1.11

Compare Source

v2.1.10

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions

github-actions Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

This is a patch version update from v2.1.9 to v2.1.14, spanning 5 incremental releases over approximately 3.5 months (July-September 2026). All changes are backward-compatible bug fixes and improvements.

Key Changes Across v2.1.10 - v2.1.14:

v2.1.14 (September 14, 2026):

  • Fixed error handling when --job/--command flags match nothing
  • Disabled TTY features when stdout is not a terminal
  • Fixed force colors when colors are explicitly enabled
  • Fixed file_types path resolution from repository root
  • Important: Prevented npm postinstall from force-installing hooks
  • Documentation improvements for files inheritance and template run examples

v2.1.12 (August 28, 2026):

  • Critical fix: Fixed hook failure when stage_fixed encounters errors during staging
  • Fixed LEFTHOOK_OUTPUT environment variable precedence
  • CI improvements with Node.js 24 support

v2.1.11 (August 21, 2026):

  • Fixed terminal size inheritance for PTY commands
  • Documentation clarifications
  • Dependency update: Go bumped to 1.26.6

v2.1.10 (July 8, 2026):

  • New feature: AI coding agents integration
  • Fixed test suite stability with NO_COLOR environment variable
  • Dependency migration: shellescape library changed to al.essio.dev/pkg/shellescape

Breaking Changes: None

Security Fixes: None explicitly mentioned, but the fixes improve robustness and error handling

🎯 Impact Scope Investigation

Current Usage in Codebase:

  1. Installation: Lefthook v2.1.9 → v2.1.14 managed via mise.toml (mise.toml:4)
  2. Configuration: Active configuration in lefthook.yml with the following setup:
    • pre-commit hooks: fmt (with stage_fixed: true), lint, gitleaks, hadolint
    • pre-push hooks: gitleaks

Relevant Feature Usage:

  • stage_fixed: true (lefthook.yml:4): Used in the fmt command - DIRECTLY BENEFITS from v2.1.12 fix that addresses hook failures when staging fixed files encounters errors
  • No usage of --job or --command CLI flags in configuration
  • No usage of file_types feature (uses glob instead)
  • No usage of LEFTHOOK_OUTPUT environment variable

Dependency Impact:

  • Go version in mise.toml (1.26.4) is compatible with lefthook's Go 1.26.6 requirement from v2.1.11
  • No conflicts with other aqua tools: golangci-lint (2.12.2), hadolint (2.14.0)

Configuration Compatibility:

  • All existing configuration options (glob, run, stage_fixed, staged_files) remain fully supported
  • No migration or configuration changes required

💡 Recommended Actions

Immediate Actions:

  1. ✅ Merge this PR - The update is safe and backward-compatible
  2. ✅ Run mise install after merging to update lefthook to v2.1.14
  3. ✅ Verify hooks work by running lefthook run pre-commit or triggering a test commit

Benefits of This Update:

  • Improved reliability: Fixes the stage_fixed error handling issue that directly affects the fmt hook
  • Better CLI behavior: Fixes TTY detection and color handling
  • Bug fixes: Resolves path resolution issues and command matching errors
  • No code changes required: All existing configurations remain valid

Testing Recommendation:

# After merging and running mise install
git add .
lefthook run pre-commit  # Should execute fmt, lint, gitleaks, hadolint

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from baa8700 to 1a31f3d Compare August 28, 2026 11:32
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.10 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.11 Aug 28, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from 1a31f3d to 6095c3d Compare September 4, 2026 11:16
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.11 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.12 Sep 4, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from 6095c3d to 6d3c48c Compare September 21, 2026 10:23
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.12 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.13 Sep 21, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from 6d3c48c to de1ad25 Compare September 21, 2026 21:57
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.13 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.14 Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants