Repository navigation
v0.6.0
v0.6.0 (2025-11-29)
Chore
- chore: fix trailing whitespace in CHANGELOG.md (
a9461e6)
Documentation
- docs: add task list for URL detection implementation
Break down implementation into 3 task groups with 15 sub-tasks:
- Task Group 1: Comment stripping (4 tests + implementation)
- Task Group 2: URL pattern enhancement (6 tests + implementation)
- Task Group 3: Test coverage review and gap analysis (
527fd4b)
- docs: add spec for expanded URL detection in templates
Add specification to detect internal URLs anywhere in HTML templates,
not just in href attributes. Includes requirements to:
- Match URLs in JS code, data attributes, event handlers
- Exclude URLs inside HTML and JS comments
- Support dynamic URLs with Django template variables (
6747e6b)
Feature
-
feat: release (
ec03b3a) -
feat: Reduce false positives in URL detection (
2500e5e) -
feat: expand URL detection to find URLs anywhere in templates
Instead of only detecting URLs in href attributes, now detect internal
URL strings anywhere in HTML template files. This catches URLs in:
- JavaScript code (fetch, const url = ...)
- Data attributes (data-url="/api/...")
- Inline event handlers (onclick="location.href='...'")
- JSON configs embedded in templates
Also excludes URLs inside comments:
- HTML comments (<!-- ... -->)
- JS single-line comments (// ...)
- JS multi-line comments (/* ... */)
Added 10 new tests covering the expanded detection and comment stripping.
All 211 existing tests continue to pass. (88f418e)