diff --git a/docs/_static/switcher.json b/docs/_static/switcher.json index 1a24400..ef27a41 100644 --- a/docs/_static/switcher.json +++ b/docs/_static/switcher.json @@ -5,7 +5,7 @@ "url": "https://pytwitchapi.readthedocs.io/en/latest/" }, { - "name": "3.1.1 (stable)", + "name": "3.2.0 (stable)", "version": "stable", "url": "https://pytwitchapi.readthedocs.io/en/stable/" }, diff --git a/docs/changelog.rst b/docs/changelog.rst index c8155b3..e1dd07b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,15 @@ Changelog ========= +**************** +Version 3.2.0 +**************** + +- Made the used loggers available for easy logging configuration +- added the option to set the chat command prefix via :const:`~twitchAPI.chat.Chat.set_prefix()` +- :const:`~twitchAPI.twitch.Twitch.set_user_authentication()` now also throws a :const:`~twitchAPI.types.MissingScopeException` when no scope is given. (thanks `@aw-was-here `_!) + + **************** Version 3.1.1 **************** diff --git a/docs/conf.py b/docs/conf.py index 9761d34..461cb42 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,7 @@ author = 'Lena "Teekeks" During' # The full version, including alpha/beta/rc tags -release = 'v3.1.1' +release = 'v3.2.0' language = 'en' master_doc = 'index' diff --git a/setup.cfg b/setup.cfg index 49ca3e6..8f38c8c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name=twitchAPI -version=3.1.1 +version=3.2.0 url=https://github.com/Teekeks/pyTwitchAPI author=Lena "Teekeks" During author_email=info@teawork.de diff --git a/setup.py b/setup.py index d99faa8..5eab88f 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( packages=find_packages(), name="twitchAPI", - version="3.1.1", + version="3.2.0", url="https://github.com/Teekeks/pyTwitchAPI", author="Lena \"Teekeks\" During", author_email="info@teawork.de", diff --git a/twitchAPI/__init__.py b/twitchAPI/__init__.py index fb13cd8..bcf4475 100644 --- a/twitchAPI/__init__.py +++ b/twitchAPI/__init__.py @@ -4,6 +4,6 @@ from .oauth import UserAuthenticator from .chat import Chat -VERSION = (3, 1, 1) +VERSION = (3, 2, 0) -__version__ = '3.1.1' +__version__ = '3.2.0' diff --git a/twitchAPI/chat.py b/twitchAPI/chat.py index 1933f5d..2a4bed0 100644 --- a/twitchAPI/chat.py +++ b/twitchAPI/chat.py @@ -360,7 +360,7 @@ def set_prefix(self, prefix: str): The default prefix is !, the prefix can not start with / or . :param prefix: the new prefix to use for command parsing - :raises ValueError. when the given prefix is None or starts with / or . + :raises ValueError: when the given prefix is None or starts with / or . """ if prefix is None or prefix[0] in ('/', '.'): raise ValueError('Prefix starting with / or . are reserved for twitch internal use')