Skip to content

Commit b031e4d

Browse files
nullvariantclaude
andauthored
chore(release): bump version to 0.13.1 (#173)
- Fix submodule detection bug (listSubmodules failing on first submodule) - Add gitExecRaw() function for raw stdout preservation - Add comprehensive submodule tests - Improve test coverage (submodule.ts: 79.78% → 93.53%) 🖥️ IDE: [Cursor](https://cursor.sh) 🔌 Extension: [Claude Code](https://claude.ai/download) Model-Raw: claude-opus-4-5-20251101 Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 32ecdd9 commit b031e4d

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

extensions/git-id-switcher/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.13.1] - 2026-01-18
11+
12+
### Fixed
13+
14+
- **Submodule Detection Bug**: Fixed `listSubmodules()` failing to detect the first submodule
15+
- Root cause: `gitExec()` applied `stdout.trim()` which removed the leading status character
16+
- Added `gitExecRaw()` function that preserves raw stdout without trimming
17+
- `git submodule status` output format requires leading character (` `, `-`, `+`) for status
18+
19+
### Added
20+
21+
- **Comprehensive Submodule Tests**: Added tests for submodule detection scenarios
22+
- Single submodule detection test
23+
- Multiple submodules detection test (3 submodules)
24+
- Nested submodules recursive test (3-level hierarchy)
25+
- `gitExecRaw()` error handling test
26+
27+
### Changed
28+
29+
- **Improved Test Coverage**: `submodule.ts` coverage increased from 79.78% to 93.53%
30+
1031
## [0.13.0] - 2026-01-17
1132

1233
### Security

extensions/git-id-switcher/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "git-id-switcher",
33
"displayName": "%extension.displayName%",
44
"description": "%extension.description%",
5-
"version": "0.13.0",
5+
"version": "0.13.1",
66
"publisher": "nullvariant",
77
"icon": "images/icon.png",
88
"engines": {

0 commit comments

Comments
 (0)