Skip to content

chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.16 - #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 Pending
aqua:evilmartians/lefthook tools patch 2.1.9 → 2.1.16 2.2.1 (+2)

Release Notes

evilmartians/lefthook (aqua:evilmartians/lefthook)

v2.1.16

Compare Source

v2.1.15

Compare Source

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 PR updates lefthook from v2.1.9 to v2.1.16, spanning 7 patch releases (v2.1.10 through v2.1.16). All changes are backward-compatible bug fixes and minor enhancements with no breaking changes.

Key Changes Across Versions:

v2.1.16:

  • Fix: Test staging fixed files with partially staged content
  • Fix: Preserve unrelated unstaged changes on conflict
  • Security: Bump mod and text deps to resolve CVEs (#1560)
  • CI: Refactor publishing scripts

v2.1.15:

  • Fix: Do not pipe stdin into post-checkout git-lfs hook
  • Fix: Remove color blending
  • Fix: Resolve push-files fallback against remote-tracking ref
  • Fix: Sanitize slashes in remote ref when building checkout dir name
  • Fix: Quote paths in generated hook shim
  • Feature: Propagate forced colors to hook commands via CLICOLOR_FORCE

v2.1.14:

  • Fix: Error when --job/--command matches nothing
  • Fix: Disable tty things when stdout is not TTY
  • Fix: Force colors when colors are explicitly enabled
  • Fix: Resolve file_types paths from the repo root
  • Fix: Don't force-install hooks from npm postinstall

v2.1.13:

  • Duplicate of v2.1.14 changes (re-release)

v2.1.12:

  • Fix: Fail the hook when staging fixed files errors
  • Fix: LEFTHOOK_OUTPUT precedence
  • CI: Fix npm publishing by bumping Node to 24

v2.1.11:

  • Fix: Inherit terminal size for PTY commands
  • Deps: Bump Go to 1.26.6
  • Documentation improvements

v2.1.10:

  • Feature: AI coding agents integration
  • Fix: Make test suite stable when NO_COLOR is set
  • Deps: Migration to al.essio.dev/pkg/shellescape

Security Fixes:

  • v2.1.16 includes dependency updates to resolve CVEs (#1560)

Breaking Changes:

  • None

🎯 Impact Scope Investigation

Current Usage in Codebase:

  1. mise.toml (mise.toml:4) - Tool version declaration only
  2. lefthook.yml - Git hook configuration with the following hooks:
    • pre-commit: go fmt, golangci-lint run, gitleaks git --pre-commit --staged, hadolint
    • pre-push: gitleaks git
  3. CLAUDE.md - Documentation reference (line 15)

Configuration Analysis:

The project uses standard lefthook features:

  • stage_fixed: true for go fmt (v2.1.16 improves this with partial staging fix)
  • glob patterns for file filtering
  • run commands for hook execution

All configuration options used are stable and fully supported across v2.1.9 to v2.1.16.

Dependency Impact:

  • No impact on other dependencies
  • Lefthook is a development tool managed via mise
  • Does not affect runtime behavior or Docker image
  • Only impacts local development and CI git hooks

CI/CD Impact:

  • CI workflow (.github/workflows/ci.yml) uses mise-action which automatically installs tools from mise.toml
  • No changes needed to CI configuration
  • Git hooks are not executed in CI (CI runs linters/tests directly)

Version Compatibility:

  • All features used in lefthook.yml are present and stable since before v2.1.9
  • Configuration syntax remains unchanged
  • No migration required

💡 Recommended Actions

Immediate Actions:

  1. ✅ Safe to merge - No code changes or configuration updates required
  2. After merge, developers should run mise install to update their local lefthook installation

Post-Merge Validation:

  1. Verify pre-commit hooks execute successfully: git commit (test locally)
  2. Verify pre-push hooks execute successfully: git push (test locally)
  3. Expected behavior remains the same as v2.1.9

Benefits of This Update:

  • Security improvements from CVE fixes in dependencies
  • Better handling of partially staged files with stage_fixed: true (directly benefits this project's go fmt hook)
  • Improved path quoting in generated hook shims
  • Better color handling and TTY detection

No Migration Required:

  • Configuration file (lefthook.yml) requires no changes
  • All existing hooks will continue to work exactly as before
  • The update is purely additive (bug fixes + minor enhancements)

🔗 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
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from de1ad25 to f66573e Compare October 7, 2026 02:53
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.14 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.15 Oct 7, 2026
@renovate
renovate Bot force-pushed the renovate/aqua-evilmartians-lefthook-2.x branch from f66573e to 8821f5c Compare October 8, 2026 18:59
@renovate renovate Bot changed the title chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.15 chore(deps): update dependency aqua:evilmartians/lefthook to v2.1.16 Oct 8, 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