🌟 Summary
The v0.0.58 release introduces improved URL handling, enhanced disk cleanup, and better markdown processing, alongside general code optimizations. These updates aim to streamline workflows, improve reliability, and enhance user experience. 🚀
---
📊 Key Changes
- **URL Handling Enhancements**: Updated URL validation logic to exclude specific patterns (`(` and `api`) to prevent errors in pattern matching.
- **Disk Cleanup Improvements**: Added functionality to remove swap space, freeing up an additional ~4GB of disk space.
- **Markdown Code Block Processing**: Enhanced the script to process both Python and Bash code blocks in markdown files.
- **Code Refactoring**: Optimized functions, simplified logic, and removed redundant code for better performance and maintainability.
- **Version Update**: Incremented version to 0.0.58 to reflect these improvements.
---
🎯 Purpose & Impact
- 🛠️ **Improved Reliability**: The refined URL handling reduces false positives, ensuring smoother workflows when processing links or API endpoints.
- 💾 **Optimized Storage**: By removing swap files, developers gain more available disk space, improving performance during workflows.
- 📚 **Better Documentation Maintenance**: Automating updates for Python and Bash code blocks ensures consistent and accurate documentation.
- 🚀 **Enhanced Efficiency**: Refactored code improves execution speed and simplifies maintenance for developers.
- 🔄 **Streamlined Updates**: The version bump ensures clarity and transparency for users tracking changes.
These updates collectively enhance the robustness, efficiency, and usability of the Ultralytics ecosystem, benefiting both developers and end-users. 🌟
What's Changed
* Update update_markdown_code_blocks.py by glenn-jocher in https://github.com/ultralytics/actions/pull/396
* Update cleanup-disk action to remove swap space by glenn-jocher in https://github.com/ultralytics/actions/pull/397
* Ultralytics Refactor https://ultralytics.com/actions by pderrenger in https://github.com/ultralytics/actions/pull/398
* Update common_utils.py by glenn-jocher in https://github.com/ultralytics/actions/pull/399
**Full Changelog**: https://github.com/ultralytics/actions/compare/v0.0.57...v0.0.58