From d2c793a3e6517fc1e65bc12c4e9354d6fae8b5e2 Mon Sep 17 00:00:00 2001 From: Teekeks Date: Wed, 5 Apr 2023 21:28:33 +0200 Subject: [PATCH] bumped version to 3.10.0 --- docs/_static/switcher.json | 2 +- docs/changelog.rst | 32 ++++++++++++++++++++++++++++++++ twitchAPI/__init__.py | 4 ++-- 3 files changed, 35 insertions(+), 3 deletions(-) diff --git a/docs/_static/switcher.json b/docs/_static/switcher.json index 68a16cf..24b7c69 100644 --- a/docs/_static/switcher.json +++ b/docs/_static/switcher.json @@ -5,7 +5,7 @@ "url": "https://pytwitchapi.readthedocs.io/en/latest/" }, { - "name": "3.9.0 (stable)", + "name": "3.10.0 (stable)", "version": "stable", "url": "https://pytwitchapi.readthedocs.io/en/stable/" }, diff --git a/docs/changelog.rst b/docs/changelog.rst index 4013ecf..9ac0e9b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,38 @@ Changelog ========= +**************** +Version 3.10.0 +**************** + +Twitch +------ + +- Added new :const:`~twitchAPI.object.ChatBadgeVersion` related fields to the following Endpoints: (Thanks https://github.com/stolenvw ) + + - :const:`~twitchAPI.twitch.Twitch.get_chat_badges()` + - :const:`~twitchAPI.twitch.Twitch.get_global_chat_badges()` + +- :const:`~twitchAPI.twitch.Twitch.set_user_authentication()` now tries to refresh the given token set if it seems to be out of date +- removed the following deprecated endpoints: + + - "Replace Stream Tags" + - "Get Stream Tags" + - "Get All Stream Tags" + - "Redeem Code" + - "Get Code Status" + +- Fixed condition logic when parameter `first` was given for the following Endpoints: + + - :const:`~twitchAPI.twitch.Twitch.get_chatters()` (Thanks https://github.com/d7415 ) + - :const:`~twitchAPI.twitch.Twitch.get_soundtrack_playlist()` + - :const:`~twitchAPI.twitch.Twitch.get_soundtrack_playlists()` + +PubSub +------ + +- PubSub now cleanly reestablishes the connection when the websocket was unexpectedly closed + **************** Version 3.9.0 **************** diff --git a/twitchAPI/__init__.py b/twitchAPI/__init__.py index 5273104..a11c7cb 100644 --- a/twitchAPI/__init__.py +++ b/twitchAPI/__init__.py @@ -4,6 +4,6 @@ from .oauth import UserAuthenticator from .chat import Chat -VERSION = (3, 9, 0) +VERSION = (3, 10, 0) -__version__ = '3.9.0' +__version__ = '3.10.0'