Repository navigation
v0.12.0
Based on the provided commit history and file changes, here is a detailed changelog for the update from version 0.11.0 to 0.12.0.
Changelog: tbf v0.12.0
This release brings a host of dependency updates, significant enhancements to the CI/CD pipeline, major code refactoring for better error handling and readability, and a completely revamped README for a more user-friendly experience.
✨ Features & Enhancements
- New CDN Server: Added
d3fi1amfgojobc.cloudfront.netto the list of VOD servers, potentially increasing the success rate of finding content. - Improved User Interface: The interactive mode now loops instead of exiting on invalid input, providing a more seamless user experience.
- Documentation Overhaul: The
README.mdhas been completely rewritten to include:- A new project title and description.
- Badges for build status and license.
- A clear table of contents.
- Greatly improved sections for installation, usage, and features.
- A new project structure overview.
🔧 Fixes & Refactoring
- Error Handling: Major refactoring of the error handling system. Custom error enums have been simplified (e.g.,
VodErroris nowVod), making the code cleaner and more maintainable. - Code Simplification:
- Updated string formatting to use modern, more readable inline variables.
- Cleaned up various parts of the codebase by removing redundant code and improving logic, such as in the command-line interface and utility functions.
- Refactored the VOD fixing logic in
fix()for better clarity and efficiency.
- Clip Discovery: Updated the URL format used for discovering clips to match changes on Twitch's end.
📦 Dependencies
- Dependency Updates: Almost all dependencies have been updated to their latest versions to incorporate upstream improvements and security fixes. Key updates include:
clap(CLI argument parser) to v4.5reqwest(HTTP client) to v0.12env_logger(logging) to v0.11scraper(HTML parsing) to v0.23m3u8-rs(playlist parser) to v6.0.0
.gitignore: Added.aider*files to the ignore list.
⚙️ CI/CD (Continuous Integration & Delivery)
- Release Workflow (
release.yml):- The process is now split into three distinct jobs:
create-release,upload-assets, andpublish-release. - Draft releases are now created using the official GitHub CLI (
gh release create). - The release is automatically published (marked as non-draft) only after all assets have been successfully built and uploaded.
- The process is now split into three distinct jobs:
- Development Workflow (
dev_release.yml):- Refactored into two jobs (
create-dev-releaseandupload-assets) for better structure. - Updated to use the modern
GITHUB_OUTPUTsyntax, avoiding deprecation warnings.
- Refactored into two jobs (
- Build Process:
- Added caching for Cargo dependencies to speed up build times.
- The
aarch64-linux-androidbuild target has been removed. - Added steps to install the MinGW toolchain on Windows runners, ensuring support for the
windows-gnutarget.