Skip to content

Commit 6fc45a8

Browse files
committed
Bump version to v21.2
1 parent 512a0b7 commit 6fc45a8

28 files changed

+188
-136
lines changed

CHANGES.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,58 @@
44
Changelog
55
=========
66

7+
Version 21.2
8+
============
9+
10+
*Released 2024-05-20*
11+
12+
This is the technical changelog for version 21.2. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`_.
13+
14+
Major Changes
15+
-------------
16+
17+
- Full Support for Bot API 7.3 (:pr:`4246`, :pr:`4260`, :pr:`4243`, :pr:`4248`, :pr:`4242` closes :issue:`4236`, :pr:`4247` by `aelkheir <https://github.com/aelkheir>`_)
18+
- Remove Functionality Deprecated by Bot API 7.2 (:pr:`4245`)
19+
20+
New Features
21+
------------
22+
23+
- Add Version to ``PTBDeprecationWarning`` (:pr:`4262` closes :issue:`4261`)
24+
- Handle Exceptions in building ``CallbackContext`` (:pr:`4222`)
25+
26+
Bug Fixes
27+
---------
28+
29+
- Call ``Application.post_stop`` Only if ``Application.stop`` was called (:pr:`4211` closes :issue:`4210`)
30+
- Handle ``SystemExit`` raised in Handlers (:pr:`4157` closes :issue:`4155` and :issue:`4156`)
31+
- Make ``Birthdate.to_date`` Return a ``datetime.date`` Object (:pr:`4251`)
32+
33+
Documentation Improvements
34+
--------------------------
35+
36+
- Documentation Improvements (:pr:`4217`)
37+
38+
Internal Changes
39+
----------------
40+
41+
- Add New Rules to ``ruff`` Config (:pr:`4250`)
42+
- Adapt Test Suite to Changes in Error Messages (:pr:`4238`)
43+
44+
Dependency Updates
45+
------------------
46+
47+
- Bump ``furo`` from 2024.4.27 to 2024.5.6 (:pr:`4252`)
48+
- ``pre-commit`` autoupdate (:pr:`4239`)
49+
- Bump ``pytest`` from 8.1.1 to 8.2.0 (:pr:`4231`)
50+
- Bump ``dependabot/fetch-metadata`` from 2.0.0 to 2.1.0 (:pr:`4228`)
51+
- Bump ``pytest-asyncio`` from 0.21.1 to 0.21.2 (:pr:`4232`)
52+
- Bump ``pytest-xdist`` from 3.6.0 to 3.6.1 (:pr:`4233`)
53+
- Bump ``furo`` from 2024.1.29 to 2024.4.27 (:pr:`4230`)
54+
- Bump ``srvaroa/labeler`` from 1.10.0 to 1.10.1 (:pr:`4227`)
55+
- Bump ``pytest`` from 7.4.4 to 8.1.1 (:pr:`4218`)
56+
- Bump ``sphinx`` from 7.2.6 to 7.3.7 (:pr:`4215`)
57+
- Bump ``pytest-xdist`` from 3.5.0 to 3.6.0 (:pr:`4215`)
58+
759
Version 21.1.1
860
==============
961

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
# built documents.
2121
#
2222
# The short X.Y version.
23-
version = "21.1.1" # telegram.__version__[:3]
23+
version = "21.2" # telegram.__version__[:3]
2424
# The full version, including alpha/beta/rc tags.
25-
release = "21.1.1" # telegram.__version__
25+
release = "21.2" # telegram.__version__
2626

2727
# If your documentation needs a minimal Sphinx version, state it here.
2828
needs_sphinx = "6.1.3"

docs/source/telegram.backgroundfill.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BackgroundFill
22
==============
33

4-
.. versionadded:: NEXT.VERSION
4+
.. versionadded:: 21.2
55

66
.. autoclass:: telegram.BackgroundFill
77
:members:

docs/source/telegram.backgroundfillfreeformgradient.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BackgroundFillFreeformGradient
22
==============================
33

4-
.. versionadded:: NEXT.VERSION
4+
.. versionadded:: 21.2
55

66
.. autoclass:: telegram.BackgroundFillFreeformGradient
77
:members:

docs/source/telegram.backgroundfillgradient.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BackgroundFillGradient
22
======================
33

4-
.. versionadded:: NEXT.VERSION
4+
.. versionadded:: 21.2
55

66
.. autoclass:: telegram.BackgroundFillGradient
77
:members:

docs/source/telegram.backgroundfillsolid.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BackgroundFillSolid
22
===================
33

4-
.. versionadded:: NEXT.VERSION
4+
.. versionadded:: 21.2
55

66
.. autoclass:: telegram.BackgroundFillSolid
77
:members:

docs/source/telegram.backgroundtype.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BackgroundType
22
==============
33

4-
.. versionadded:: NEXT.VERSION
4+
.. versionadded:: 21.2
55

66
.. autoclass:: telegram.BackgroundType
77
:members:

docs/source/telegram.backgroundtypechattheme.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BackgroundTypeChatTheme
22
=======================
33

4-
.. versionadded:: NEXT.VERSION
4+
.. versionadded:: 21.2
55

66
.. autoclass:: telegram.BackgroundTypeChatTheme
77
:members:

docs/source/telegram.backgroundtypefill.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BackgroundTypeFill
22
==================
33

4-
.. versionadded:: NEXT.VERSION
4+
.. versionadded:: 21.2
55

66
.. autoclass:: telegram.BackgroundTypeFill
77
:members:

docs/source/telegram.backgroundtypepattern.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BackgroundTypePattern
22
=====================
33

4-
.. versionadded:: NEXT.VERSION
4+
.. versionadded:: 21.2
55

66
.. autoclass:: telegram.BackgroundTypePattern
77
:members:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy