Skip to content

v0.7.2

Choose a tag to compare

@github-actions github-actions released this 01 Nov 20:34
· 12 commits to main since this release
bc72aca

v0.7.2: Error handling improvements

🐛 Bug fixes

  • Fix mdcmd to exit with non-zero code when embedded commands fail - Previously, mdcmd would exit with code 0 even when commands failed, breaking shell scripts using set -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 utz requirement to >=0.21.1 (includes fix for text() handling None return 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 links
    • scripts/gh_url_utils.py - Shared utilities for URL generation
    • scripts/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