Releases: runsascoded/mdcmd
Releases · runsascoded/mdcmd
v0.7.4
Full Changelog: v0.7.3...v0.7.4
v0.7.3
v0.7.3: Error handling for bmd and dependency update
🐛 Bug fixes
- Fix
bmderror handling to exit with non-zero code when commands fail - Previously,bmdwould always exit with code 0 even when embedded commands failed, breaking shell scripts usingset -e - Print stderr to stderr when commands fail (when
include_stderr=False, the default) - Aligns
bmderror handling withmdcmdimprovements from v0.7.2
📦 Dependencies
- Bump
utzrequirement to>=0.21.4(includes additional fixes for process handling)
This release completes the error handling improvements started in v0.7.2 by applying the same fixes to the bmd, bmdf, bmdff, and bmdfff commands.
Full Changelog: v0.7.2...v0.7.3
Commits
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
v0.7.1
- Rm custom
build_backend, process README links betweeninstallandbuild(in PyPI publish GHAs) - Remove redundant
mktocstep fromci.yml - Simplify and fix
print-ci-yml-ref.py
Full Changelog: v0.7.0...v0.7.1
v0.7.0
🎯 Rebrand from bmdf to mdcmd
- Package name changed to better reflect primary use case
- All functionality preserved (
bmd,bmdf,bmdff,bmdfff,mdcmd,toc,mktoc) - Repository URLs updated to github.com/runsascoded/mdcmd
🏗️ Architecture improvements
- TOC functionality moved to independent top-level package
- Markdown lists now first-class block type in
mdcmd - Removed special-case handling for
toccommand mktocsimplified to thin wrapper aroundmdcmd -x '^toc$'
📝 Enhanced documentation
- Line-numbered links to raw README sections
toccommand now has proper --help andclickinterface
🧪 Better test coverage
- Tests for new markdown-list-block handling
- Tests for
toccommand integration - Tests for
mktoccompatibility wrapper
This is the first release under the mdcmd name. Future bmdf releases will include migration guidance.
Full Changelog: v0.6.2...v0.7.0
v0.6.2
v0.6.2: README/CI/build improvements
- Documentation improvements (structure and examples)
- README dynamically links to line-number ranges in
ci.yml - Dynamic links are updated via
mdcmd - Custom
build_backendoutputs absolute github.com URLs (so intra-repo links work from rendered README on pypi.org)
- README dynamically links to line-number ranges in
test-publich.ymlfor publishing to Test PyPI- No changes to library functionality
Full Changelog: v0.6.1...v0.6.2
v0.6.1
v0.6.1: CI improvements and Python version updates
- Added GitHub release automation to CI workflow
- Converted build system from pip to
uvfor faster dependency resolution - Dropped Python 3.9 support (now requires Python 3.10+)
- Fixed
mdcmd --no-concurrentflag handling bug
Full Changelog: v0.6.0...v0.6.1