Bump version to v13.7

This commit is contained in:
Hinrich Mahler 2021-07-01 18:03:38 +02:00
parent ed147813ab
commit bcec6f03cb
4 changed files with 40 additions and 4 deletions

View file

@ -2,6 +2,42 @@
Changelog 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 <https://t.me/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 Version 13.6
============ ============
*Released 2021-06-06* *Released 2021-06-06*

View file

@ -60,9 +60,9 @@ author = u'Leandro Toledo'
# built documents. # built documents.
# #
# The short X.Y version. # 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. # 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 # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View file

@ -213,7 +213,7 @@ class BasePersistence(Generic[UD, CD, BD], ABC):
``frozenset``, ``dict``, ``defaultdict`` and objects that have a ``__dict__`` or ``frozenset``, ``dict``, ``defaultdict`` and objects that have a ``__dict__`` or
``__slots__`` attribute, excluding classes and objects that can't be copied with ``__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 ``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: Args:
obj (:obj:`object`): The object obj (:obj:`object`): The object

View file

@ -20,5 +20,5 @@
from telegram import constants from telegram import constants
__version__ = '13.6' __version__ = '13.7'
bot_api_version = constants.BOT_API_VERSION # pylint: disable=C0103 bot_api_version = constants.BOT_API_VERSION # pylint: disable=C0103