From bcec6f03cb1797d31039926f0c8c0f2306dcdf5a Mon Sep 17 00:00:00 2001 From: Hinrich Mahler Date: Thu, 1 Jul 2021 18:03:38 +0200 Subject: [PATCH] Bump version to v13.7 --- CHANGES.rst | 36 +++++++++++++++++++++++++++++++++ docs/source/conf.py | 4 ++-- telegram/ext/basepersistence.py | 2 +- telegram/version.py | 2 +- 4 files changed, 40 insertions(+), 4 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 514199289..97a800bb0 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,6 +2,42 @@ Changelog ========= +Version 13.7 +============ +*Released 2021-07-01* + +This is the technical changelog for version 13.7. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel `_. + +**Major Changes:** + +- Full support for Bot API 5.3 (`#2572`_) + +**Bug Fixes:** + +- Fix Bug in ``BasePersistence.insert/replace_bot`` for Objects with ``__dict__`` in their slots (`#2561`_) +- Remove Incorrect Warning About ``Defaults`` and ``ExtBot`` (`#2553`_) + +**Minor changes, CI improvements, Doc fixes and Type hinting:** + +- Type Hinting Fixes (`#2552`_) +- Doc Fixes (`#2551`_) +- Improve Deprecation Warning for ``__slots__`` (`#2574`_) +- Stabilize CI (`#2575`_) +- Fix Coverage Configuration (`#2571`_) +- Better Exception-Handling for ``BasePersistence.replace/insert_bot`` (`#2564`_) +- Remove Deprecated ``pass_args`` from Deeplinking Example (`#2550`_) + +.. _`#2572`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2572 +.. _`#2561`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2561 +.. _`#2553`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2553 +.. _`#2552`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2552 +.. _`#2551`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2551 +.. _`#2574`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2574 +.. _`#2575`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2575 +.. _`#2571`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2571 +.. _`#2564`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2564 +.. _`#2550`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2550 + Version 13.6 ============ *Released 2021-06-06* diff --git a/docs/source/conf.py b/docs/source/conf.py index 59fa683f3..e2dddfb3c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -60,9 +60,9 @@ author = u'Leandro Toledo' # built documents. # # The short X.Y version. -version = '13.6' # telegram.__version__[:3] +version = '13.7' # telegram.__version__[:3] # The full version, including alpha/beta/rc tags. -release = '13.6' # telegram.__version__ +release = '13.7' # telegram.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/telegram/ext/basepersistence.py b/telegram/ext/basepersistence.py index 92101c581..2af16105d 100644 --- a/telegram/ext/basepersistence.py +++ b/telegram/ext/basepersistence.py @@ -213,7 +213,7 @@ class BasePersistence(Generic[UD, CD, BD], ABC): ``frozenset``, ``dict``, ``defaultdict`` and objects that have a ``__dict__`` or ``__slots__`` attribute, excluding classes and objects that can't be copied with ``copy.copy``. If the parsing of an object fails, the object will be returned unchanged and - the error will be logged. + the error will be logged. Args: obj (:obj:`object`): The object diff --git a/telegram/version.py b/telegram/version.py index 47bf17da9..653ace5dc 100644 --- a/telegram/version.py +++ b/telegram/version.py @@ -20,5 +20,5 @@ from telegram import constants -__version__ = '13.6' +__version__ = '13.7' bot_api_version = constants.BOT_API_VERSION # pylint: disable=C0103