Skip to content

Commit

Permalink
added changelog and bumped version to 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Teekeks committed Dec 16, 2022
1 parent 3f25a54 commit 56c4735
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/_static/switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
},
Expand Down
9 changes: 9 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/aw-was-here>`_!)


****************
Version 3.1.1
****************
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions twitchAPI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion twitchAPI/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 56c4735

Please sign in to comment.