Skip to content

Commit db827a0

Browse files
djm81cursoragent
andcommitted
chore: bump version to 0.26.9 and update changelog
- Update version from 0.26.8 to 0.26.9 - Add changelog entry for GitHub remote detection fix and code scanning fixes Co-authored-by: Cursor <[email protected]>
1 parent af030dc commit db827a0

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,23 @@ All notable changes to this project will be documented in this file.
99

1010
---
1111

12+
## [0.26.9] - 2026-01-27
13+
14+
### Fixed (0.26.9)
15+
16+
- **GitHub Remote Detection**: Extended URL pattern matching to support all valid GitHub URL formats
17+
- **Added Support**: Now detects `ssh://[email protected]/owner/repo.git` and `git://github.com/owner/repo.git` formats
18+
- **Root Cause**: Previous regex only matched `https?://` and scp-style `git@host:path` URLs, causing regression for repos using `ssh://` or `git://` schemes
19+
- **Solution**: Extended regex pattern to include `ssh://` and `git://` schemes, with proper URL parsing for hostname validation
20+
- **Impact**: All valid GitHub URL formats are now properly detected, ensuring GitHub adapter is selected correctly
21+
22+
- **Code Scanning Vulnerabilities**: Mitigated all 13 code scanning findings
23+
- **ReDoS Fix**: Replaced regex-based section removal with line-by-line processing in `github_mapper.py`
24+
- **URL Sanitization**: Replaced substring matching with proper URL parsing using `urllib.parse.urlparse()` in multiple files
25+
- **Workflow Permissions**: Added explicit `permissions: contents: read` blocks to 7 GitHub Actions jobs
26+
- **SSH Host Aliases**: Added support for `ssh.github.com` SSH host alias detection
27+
- **Test Fixes**: Fixed async cleanup issues in test mode for progress display utilities
28+
1229
## [0.26.8] - 2026-01-27
1330

1431
### Fixed (0.26.8)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "specfact-cli"
7-
version = "0.26.8"
7+
version = "0.26.9"
88
description = "Brownfield-first CLI: Reverse engineer legacy Python → specs → enforced contracts. Automate legacy code documentation and prevent modernization regressions."
99
readme = "README.md"
1010
requires-python = ">=3.11"

0 commit comments

Comments
 (0)