claude-git-hooks 2.15.5 → 2.16.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 +22 -0
- package/lib/commands/bump-version.js +346 -114
- package/lib/commands/generate-changelog.js +5 -6
- package/lib/utils/interactive-ui.js +93 -0
- package/lib/utils/version-manager.js +676 -296
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,28 @@ 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.16.0] - 2026-02-15
|
|
9
|
+
|
|
10
|
+
### ✨ Added
|
|
11
|
+
- Multi-file version discovery with recursive scanning up to 3 levels deep
|
|
12
|
+
- Per-file version editing with `--interactive` flag for advanced control
|
|
13
|
+
- Support for additional project types: build.gradle, build.gradle.kts, pyproject.toml, Cargo.toml, version.sbt
|
|
14
|
+
- Suffix-only operations with `--remove-suffix` and `--set-suffix` flags
|
|
15
|
+
- Interactive file selection menu when version mismatch detected or `--interactive` enabled
|
|
16
|
+
- Version files discovery table showing all detected files with versions
|
|
17
|
+
- Automatic rollback of version changes on failure
|
|
18
|
+
- New UI components: `promptToggleList()` and `promptEditField()` in interactive-ui.js
|
|
19
|
+
|
|
20
|
+
### 🔧 Changed
|
|
21
|
+
- Refactored version-manager.js to use new discovery-based API with `discoverVersionFiles()`, `updateVersionFiles()`, and `modifySuffix()`
|
|
22
|
+
- Bump-version workflow now supports selecting specific files to update
|
|
23
|
+
- Each file can have an independent target version when using per-file editing mode
|
|
24
|
+
- Updated CLAUDE.md documentation with new version bump flow and API changes
|
|
25
|
+
|
|
26
|
+
### ⚠️ Deprecated
|
|
27
|
+
- Legacy version-manager functions `detectProjectType()`, `getCurrentVersion()`, `updateVersion()`, and `getDiscoveredPaths()` replaced by new discovery API
|
|
28
|
+
|
|
29
|
+
|
|
8
30
|
## [2.15.5] - 2026-02-12
|
|
9
31
|
|
|
10
32
|
### ✨ Added
|