Skip to content

Releases: Mantouisyummy/TYStream

V1.6.1

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 26 Feb 12:29
9215422

Full Changelog: 1.6.0...1.6.1

🎉 Release Notes

🛠 Bug Fixes

  • 修正直播偵測問題 🛠️

    • 修正了無法正確偵測直播相關問題的錯誤,確保直播狀態能夠準確反映。
  • 修正 Pydantic 驗證錯誤 ✅

    • 修復了 Pydantic 在某些情況下無法正確解析資料的問題,導致缺少必要參數時出現驗證錯誤。
  • 修正 offline_image_url 空字串錯誤 🖼️

    • 當 offline_image_url 回傳為空字串時,Pydantic不再發生錯誤,提升了穩定性。

V1.6.0

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 25 Feb 12:25
3281fd7

Full Changelog: 1.5.7...1.6.0

English Version

🚀 V1.6.0 Release Notes

🔄 Refactor

  • Move all sync methods to sync_api directory
    All synchronous methods have been reorganized under the sync_api directory for better code structure and maintainability.

  • Migrate all platform return types from dataclass to Pydantic
    The return types for all streaming platforms have been refactored to use Pydantic, enhancing data validation and consistency.

✨ Features

  • Added yt_dlp support for YouTube live detection
    yt_dlp can now be used to detect live streams on YouTube, improving accuracy and flexibility, as well as serving as an alternative when the API is unavailable.

  • Added overloads to YouTube async check_stream_live method
    The YouTube class now supports multiple overloads for check_stream_live, enabling better type inference and IDE support.

  • Included API error details in OAuth exceptions
    OAuth exceptions now provide more detailed error messages from the API response, improving debugging and error handling.

📖 Documentation

  • Updated README.md to reflect the latest changes
    The documentation has been updated to match the new version, including usage examples and feature descriptions.

This update brings better code structure, stronger Pydantic type security, and additional YouTube live stream detection (via yt_dlp). 🚀

中文版

🚀 V1.6.0 發布說明

🔄 重構

  • 將所有同步方法移至 sync_api 目錄
    所有同步方法已重新整理至 sync_api 目錄,以提升程式碼結構與可維護性。

  • 將所有平台的返回類型從 dataclass 轉為 Pydantic
    已將所有直播平台的返回類型重構為 Pydantic,以增強數據驗證與一致性。

✨ 新功能

  • 為 YouTube 直播偵測加入 yt_dlp 支援
    現在可以使用 yt_dlp 偵測 YouTube 直播,提高偵測準確性與靈活性,以及作為API無法使用的替代方案。

  • 為 YouTube 類別的異步 check_stream_live 方法新增重載(overload)
    YouTube 類別的 check_stream_live 方法現在支援多個重載,提高型別推導準確度,並改善 IDE 體驗。

  • OAuth 例外資訊新增 API 回傳的錯誤資訊
    OAuth 例外資訊現在提供 API 回傳的詳細錯誤訊息,方便除錯與錯誤處理。

📖 文件更新

  • 更新 README.md 以符合最新版本
    文件內容已更新至最新版本,包含使用範例與功能說明。

此版本帶來更佳的程式碼結構、更強的 Pydantic 型別安全性,以及額外的 YouTube 直播偵測功能(透過 yt_dlp)。🚀

V1.5.7

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 25 Feb 02:13

What's New

  • Add live streaming information to the parameters of the API request.
  • Added Unit Test for Youtube and Twitch Live Streaming.

Full Changelog: 1.5.5...1.5.7

V1.5.5

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 20 Feb 12:21
f747849

Full Changelog: 1.5.4...1.5.5

fix: Fixed problem with dataclasses folder not being included

V1.5.4

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 20 Feb 12:01
d0f93e7

Full Changelog: 1.5.3...1.5.4

Fix: not including async_api folder

V1.5.3

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 20 Feb 11:47
1743185

Full Changelog: 1.5.2...1.5.3

There are no new features in this version, just a few fixes.

V1.5.2

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 20 Feb 11:21
9556784

Full Changelog: 1.5.1...1.5.2

Release Notes

Version 1.5.2

Refactoring

  • Refactored the Twitch and Youtube classes in the async api and renamed them to “AsyncTwitch” and “AsyncYoutube”.

V1.5.1

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 16 Jul 09:00

Full Changelog: 1.5.0...1.5.1

Release Notes

Version 1.5.1

New Features

  • PyPI Badge
    • Added a PyPI badge to the README.md file to display the package's status on PyPI.

Refactoring

  • Type Annotations & BASE_URL

    • Adjusted type annotations across the codebase for better type checking and readability.
    • Changed BASE_URL to a class variable, improving the structure and reusability of the code.
  • Logger Level

    • Changed the logger level to DEBUG to provide more detailed logging information during development and debugging.

Additions

  • .gitignore
    • Added a .gitignore file to the project to exclude unnecessary files and directories from version control, keeping the repository clean.

1.5.0

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 16 Jul 08:33

Full Changelog: 1.4.0...1.5.0

Release Notes

Version 1.5.0

Refactors

  • Separate data.py: Divided into two dataclass files for better modularity.
  • Enhance type annotations: Improved type annotations throughout the codebase.
  • Request method: Updated to use session for better performance and resource management.

Fixes

  • Default and default_factory: Specified both default and default_factory to avoid initialization issues.
  • User data retrieval: Fixed an issue where user data couldn't be found.
  • Twitch and YouTube OAuth: Now shows a validation failure message when the wrong token is entered.
  • Removed debug print: Removed unnecessary print statements.

Documentation

  • README.md: Updated with new changes and information.

V1.4.0

Choose a tag to compare

@Mantouisyummy Mantouisyummy released this 08 Mar 09:21

feat: Support for Get Twitch User Data.

  • feat: Added a new attribute named user with the type TwitchUserData to the TwitchStreamData dataclass.
  • fix: some async function forgot to add await,
  • docs: add package support python version badge.
    Full Changelog: 1.3.1...1.4.0