Skip to content

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 03 Aug 14:13
· 21 commits to main since this release

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.net to 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.md has 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., VodError is now Vod), 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.5
    • reqwest (HTTP client) to v0.12
    • env_logger (logging) to v0.11
    • scraper (HTML parsing) to v0.23
    • m3u8-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, and publish-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.
  • Development Workflow (dev_release.yml):
    • Refactored into two jobs (create-dev-release and upload-assets) for better structure.
    • Updated to use the modern GITHUB_OUTPUT syntax, avoiding deprecation warnings.
  • Build Process:
    • Added caching for Cargo dependencies to speed up build times.
    • The aarch64-linux-android build target has been removed.
    • Added steps to install the MinGW toolchain on Windows runners, ensuring support for the windows-gnu target.