v0.0.46 - Fix parenthesis in broken link checks (#380)
π Summary
The release of v0.0.46
improves URL parsing and handling, enhances link validation in Markdown and plaintext formats, and refines spell-check and CI tooling to boost developer productivity. π§β¨
π Key Changes
-
Enhanced URL Handling:
- Updated regex (
URL_PATTERN
) to correctly parse Markdown links with spaces and parentheses. - Expanded test cases covering Markdown with special characters, HTML links, and plaintext URLs.
- Introduced
URL_IGNORE_LIST
(frozenset) for efficient handling of URLs needing exclusion during checks.
- Updated regex (
-
Improved Spell-Check Configuration:
- Refined
codespell
settings by ignoring all URIs and adding domain-specific words like "Carmel," "FPR," and "Hach" to reduce false positives.
- Refined
-
Miscellaneous Improvements:
- Cleaned up redundant sections of code for better readability and maintainability.
- Incremented package version to
0.0.46
.
π― Purpose & Impact
- π Improved Reliability: The updated regex and tests ensure accurate handling of complex Markdown and plaintext URL structures, reducing broken links and validation errors.
- β Enhanced Developer Workflow: Streamlined spell-check ignores unnecessary alerts from URIs and domain-specific words, minimizing interruptions during CI processes.
- π οΈ Easier Maintenance: More organized and efficient code improves future feature development and debugging efforts.
This release focuses on refining core tooling aspects, benefiting developers by improving link validation accuracy and reducing workflow friction. π
What's Changed
- New URL_IGNORE_LIST by @glenn-jocher in #376
- Update action.yml by @glenn-jocher in #377
- Ignore URLs for spelling by @glenn-jocher in #378
- Ignore Carmel spelling by @glenn-jocher in #379
- Fix parenthesis in broken link checks by @glenn-jocher in #380
Full Changelog: v0.0.45...v0.0.46