v0.7.2
v0.7.2: Error handling improvements
🐛 Bug fixes
- Fix
mdcmdto exit with non-zero code when embedded commands fail - Previously,mdcmdwould exit with code 0 even when commands failed, breaking shell scripts usingset -e - Commands that fail no longer crash with stack traces
- Failed commands are now reported gracefully with exit code and output
- Other commands continue to execute in concurrent mode when one fails
📦 Dependencies
- Bump
utzrequirement to>=0.21.1(includes fix fortext()handlingNonereturn values)
🧪 Tests
- Add tests for command failure handling
- Add tests for mixed success/failure scenarios
- Add tests to ensure no uncaught exceptions on errors
📝 Documentation & Infrastructure
- Improve README copy and formatting
- Add dynamic README/PyPI link generation with new scripts:
scripts/gh-url.py- Generate GitHub URLs for linksscripts/gh_url_utils.py- Shared utilities for URL generationscripts/raw-readme-link.py- Generate raw README section links
- Remove
test/print-ci-yml-ref.py(replaced by new link generation approach) - Use footer-style link definitions for better maintainability
⚙️ CI Improvements
- Update to
astral-sh/setup-uv@v7 - Run CI on pull requests
Full Changelog: v0.7.1...v0.7.2
What's Changed
- Fix error-handling, improve README/CI by @ryan-williams in #1