claude-git-hooks 2.15.5 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,42 @@ Todos los cambios notables en este proyecto se documentarán en este archivo.
5
5
  El formato está basado en [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  y este proyecto adhiere a [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.17.0] - 2026-02-16
9
+
10
+ ### ✨ Added
11
+ - Automatic GitHub token setup now runs after installation
12
+
13
+ ### 🔧 Changed
14
+ - Simplified CLI help output to show concise command reference instead of verbose documentation
15
+ - Commands in help output are now listed in alphabetical order for easier navigation
16
+ - Installation success message now shows single help reference instead of detailed usage examples
17
+
18
+ ### 🗑️ Removed
19
+ - Removed extensive inline documentation from help output (use README for detailed docs)
20
+
21
+
22
+ ## [2.16.0] - 2026-02-15
23
+
24
+ ### ✨ Added
25
+ - Multi-file version discovery with recursive scanning up to 3 levels deep
26
+ - Per-file version editing with `--interactive` flag for advanced control
27
+ - Support for additional project types: build.gradle, build.gradle.kts, pyproject.toml, Cargo.toml, version.sbt
28
+ - Suffix-only operations with `--remove-suffix` and `--set-suffix` flags
29
+ - Interactive file selection menu when version mismatch detected or `--interactive` enabled
30
+ - Version files discovery table showing all detected files with versions
31
+ - Automatic rollback of version changes on failure
32
+ - New UI components: `promptToggleList()` and `promptEditField()` in interactive-ui.js
33
+
34
+ ### 🔧 Changed
35
+ - Refactored version-manager.js to use new discovery-based API with `discoverVersionFiles()`, `updateVersionFiles()`, and `modifySuffix()`
36
+ - Bump-version workflow now supports selecting specific files to update
37
+ - Each file can have an independent target version when using per-file editing mode
38
+ - Updated CLAUDE.md documentation with new version bump flow and API changes
39
+
40
+ ### ⚠️ Deprecated
41
+ - Legacy version-manager functions `detectProjectType()`, `getCurrentVersion()`, `updateVersion()`, and `getDiscoveredPaths()` replaced by new discovery API
42
+
43
+
8
44
  ## [2.15.5] - 2026-02-12
9
45
 
10
46
  ### ✨ Added
package/README.md CHANGED
@@ -243,8 +243,11 @@ claude-hooks --help # Full command reference
243
243
  | `helpers.js` | **Shared CLI utilities** - colors, output, platform detection | `colors`, `error()`, `success()`, `info()`, `checkGitRepo()`, `Entertainment` |
244
244
  | `install.js` | **Installation logic** - dependencies, hooks, templates | `runInstall()`, `extractLegacySettings()` |
245
245
  | `hooks.js` | **Hook management** - enable, disable, status, uninstall | `runEnable()`, `runDisable()`, `runStatus()`, `runUninstall()` |
246
+ | `analyze.js` | **Interactive code analysis** - analyze before committing | `runAnalyze()` |
246
247
  | `analyze-diff.js` | **Diff analysis** - generate PR metadata from git diff | `runAnalyzeDiff()` |
247
248
  | `create-pr.js` | **PR creation** - full workflow via Octokit | `runCreatePr()` |
249
+ | `bump-version.js` | **Version management** - bump with CHANGELOG and Git tag | `runBumpVersion()` |
250
+ | `generate-changelog.js` | **CHANGELOG generation** - standalone command | `runGenerateChangelog()` |
248
251
  | `setup-github.js` | **Token setup** - interactive GitHub configuration | `runSetupGitHub()` |
249
252
  | `presets.js` | **Preset management** - list, set, show current | `runShowPresets()`, `runSetPreset()`, `runCurrentPreset()` |
250
253
  | `update.js` | **Self-update** - check and install latest version | `runUpdate()` |