From 6f14f3da7944b0cad859003d7272302db0490ef3 Mon Sep 17 00:00:00 2001 From: anxdpanic Date: Wed, 13 Sep 2017 13:20:26 -0400 Subject: [PATCH] v5 deprecation notation --- addon.xml | 5 ++++- changelog.txt | 7 +++++++ resources/lib/twitch/api/__init__.py | 2 +- resources/lib/twitch/api/v5/__init__.py | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/addon.xml b/addon.xml index b388969..0b2efa7 100644 --- a/addon.xml +++ b/addon.xml @@ -9,7 +9,10 @@ all -[fix] omit oauth token for queries with 'required scope: none' +*** Twitch API V5 is deprecated and will be removed entirely on 2/14/18 +*** script.module.python.twitch v2 will include the Twitch helix API, and may include breaking changes to current implementations. If you rely on this module follow development at https://github.com/MrSprigster/script.module.python.twitch + +[fix/upd] v5.channels deprecated notations for community endpoints, add new communities endpoints icon.png diff --git a/changelog.txt b/changelog.txt index 7cf0c5d..5194ead 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,10 @@ +1.0.3 +*** Twitch API V5 is deprecated and will be removed entirely on 2/14/18 +*** script.module.python.twitch v2 will include the Twitch helix API, and may include breaking changes, + if you rely on this module follow development at https://github.com/MrSprigster/script.module.python.twitch + +[fix/upd] v5.channels deprecated notations for community endpoints, add new communities endpoints + 1.0.2 [fix] omit oauth token for queries with 'required scope: none' diff --git a/resources/lib/twitch/api/__init__.py b/resources/lib/twitch/api/__init__.py index e125123..344db26 100644 --- a/resources/lib/twitch/api/__init__.py +++ b/resources/lib/twitch/api/__init__.py @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- -from twitch.api import v5 +from twitch.api import v5 # V5 is deprecated and will be removed entirely on 2/14/18 from twitch.api import v5 as default __all__ = ['v5', 'default'] diff --git a/resources/lib/twitch/api/v5/__init__.py b/resources/lib/twitch/api/v5/__init__.py index 4239a7a..24e2477 100644 --- a/resources/lib/twitch/api/v5/__init__.py +++ b/resources/lib/twitch/api/v5/__init__.py @@ -1,5 +1,6 @@ # -*- encoding: utf-8 -*- # https://dev.twitch.tv/docs/ +# V5 is deprecated and will be removed entirely on 2/14/18 from twitch.api.v5 import bits # NOQA from twitch.api.v5 import channel_feed # NOQA