From 28afeccf7068e39de17e37db17ddb6626c06b28e Mon Sep 17 00:00:00 2001 From: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com> Date: Thu, 15 Dec 2022 15:54:00 +0100 Subject: [PATCH] Bump version to v20.0b0 --- CHANGES.rst | 39 +++++++++++++++++++++++++++++++++++++++ docs/source/conf.py | 4 ++-- telegram/_version.py | 2 +- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index b3ccb6836..81d68ffb8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,45 @@ ========= Changelog ========= +Version 20.0b0 +============== +*Released 2022-12-15* + +This is the technical changelog for version 20.0b0. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel `_. + +Major Changes +------------- + +- Make `TelegramObject` Immutable (`#3249`_) + +Minor Changes, Documentation Improvements and CI +------------------------------------------------ + +- Reduce Code Duplication in Testing ``Defaults`` (`#3419`_) +- Add Notes and Warnings About Optional Dependencies (`#3393`_) +- Simplify Internals of ``Bot`` Methods (`#3396`_) +- Reduce Code Duplication in Several ``Bot`` Methods (`#3385`_) +- Documentation Improvements (`#3386`_, `#3395`_, `#3398`_, `#3403`_) + +Dependencies +------------ + +- Bump ``pytest-xdist`` from 3.0.2 to 3.1.0 (`#3415`_) +- Bump ``pytest-asyncio`` from 0.20.2 to 0.20.3 (`#3417`_) +- ``pre-commit`` autoupdate (`#3409`_) + +.. _`#3249`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3249 +.. _`#3419`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3419 +.. _`#3393`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3393 +.. _`#3396`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3396 +.. _`#3385`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3385 +.. _`#3386`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3386 +.. _`#3395`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3395 +.. _`#3398`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3398 +.. _`#3403`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3403 +.. _`#3415`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3415 +.. _`#3417`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3417 +.. _`#3409`: https://github.com/python-telegram-bot/python-telegram-bot/pull/3409 Version 20.0a6 ============== diff --git a/docs/source/conf.py b/docs/source/conf.py index 336e43aa2..8ac32495d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -29,9 +29,9 @@ author = "Leandro Toledo" # built documents. # # The short X.Y version. -version = "20.0a6" # telegram.__version__[:3] +version = "20.0b0" # telegram.__version__[:3] # The full version, including alpha/beta/rc tags. -release = "20.0a6" # telegram.__version__ +release = "20.0b0" # telegram.__version__ # If your documentation needs a minimal Sphinx version, state it here. needs_sphinx = "5.1.1" diff --git a/telegram/_version.py b/telegram/_version.py index e25602bdb..574ca6091 100644 --- a/telegram/_version.py +++ b/telegram/_version.py @@ -50,7 +50,7 @@ class Version(NamedTuple): return version -__version_info__ = Version(major=20, minor=0, micro=0, releaselevel="alpha", serial=6) +__version_info__ = Version(major=20, minor=0, micro=0, releaselevel="beta", serial=0) __version__ = str(__version_info__) # # SETUP.PY MARKER