Skip to content

Commit 680dc2b

Browse files
committed
Bump Version to v20.8
1 parent 04d86de commit 680dc2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+432
-363
lines changed

CHANGES.rst

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

7+
Version 20.8
8+
============
9+
10+
*Released 2024-02-08*
11+
12+
This is the technical changelog for version 20.8. More elaborate release notes can be found in the news channel `@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>`__.
13+
14+
Major Changes
15+
-------------
16+
17+
- API 7.0 (:pr:`4034` closes :issue:`4033`, :pr:`4038` by `@aelkheir <https://github.com/aelkheir>`__)
18+
19+
Minor Changes
20+
-------------
21+
22+
- Fix Type Hint for ``filters`` Parameter of ``MessageHandler`` (:pr:`4039` by `@Palaptin <https://github.com/Palaptin>`__)
23+
- Deprecate ``filters.CHAT`` (:pr:`4083` closes :issue:`4062`)
24+
- Improve Error Handling in Built-In Webhook Handler (:pr:`3987` closes :issue:`3979`)
25+
26+
New Features
27+
------------
28+
29+
- Add Parameter ``pattern`` to ``PreCheckoutQueryHandler`` and ``filters.SuccessfulPayment`` (:pr:`4005` by `@aelkheir <https://github.com/aelkheir>`__ closes :issue:`3752`)
30+
- Add Missing Conversions of ``type`` to Corresponding Enum from ``telegram.constants`` (:pr:`4067`)
31+
- Add Support for Unix Sockets to ``Updater.start_webhook`` (:pr:`3986` closes :issue:`3978`)
32+
- Add ``Bot.do_api_request`` (:pr:`4084` closes :issue:`4053`)
33+
- Add ``AsyncContextManager`` as Parent Class to ``BaseUpdateProcessor`` (:pr:`4001`)
34+
35+
Documentation Improvements
36+
--------------------------
37+
38+
- Documentation Improvements (:pr:`3919`)
39+
- Add Docstring to Dunder Methods (:pr:`3929` closes :issue:`3926`)
40+
- Documentation Improvements (:pr:`4002`, :pr:`4079` by `@kenjitagawa <https://github.com/kenjitagawa>`__, :pr:`4104` by `@xTudoS <https://github.com/xTudoS>`__)
41+
42+
Internal Changes
43+
----------------
44+
45+
- Drop Usage of DeepSource (:pr:`4100`)
46+
- Improve Type Completeness & Corresponding Workflow (:pr:`4035`)
47+
- Bump ``ruff`` and Remove ``sort-all`` (:pr:`4075`)
48+
- Move Handler Files to ``_handlers`` Subdirectory (:pr:`4064` by `@lucasmolinari <https://github.com/lucasmolinari>`__ closes :issue:`4060`)
49+
- Introduce ``sort-all`` Hook for ``pre-commit`` (:pr:`4052`)
50+
- Use Recommended ``pre-commit`` Mirror for ``black`` (:pr:`4051`)
51+
- Remove Unused ``DEFAULT_20`` (:pr:`3997`)
52+
- Migrate From ``setup.cfg`` to ``pyproject.toml`` Where Possible (:pr:`4088`)
53+
54+
Dependency Updates
55+
------------------
56+
57+
- Bump ``black`` and ``ruff`` (:pr:`4089`)
58+
- Bump ``srvaroa/labeler`` from 1.8.0 to 1.10.0 (:pr:`4048`)
59+
- Update ``tornado`` requirement from ~=6.3.3 to ~=6.4 (:pr:`3992`)
60+
- Bump ``actions/stale`` from 8 to 9 (:pr:`4046`)
61+
- Bump ``actions/setup-python`` from 4 to 5 (:pr:`4047`)
62+
- ``pre-commit`` autoupdate (:pr:`4101`)
63+
- Bump ``actions/upload-artifact`` from 3 to 4 (:pr:`4045`)
64+
- ``pre-commit`` autoupdate (:pr:`3996`)
65+
- Bump ``furo`` from 2023.9.10 to 2024.1.29 (:pr:`4094`)
66+
- ``pre-commit`` autoupdate (:pr:`4043`)
67+
- Bump ``codecov/codecov-action`` from 3 to 4 (:pr:`4091`)
68+
- Bump ``EndBug/add-and-commit`` from 9.1.3 to 9.1.4 (:pr:`4090`)
69+
- Update ``httpx`` requirement from ~=0.25.2 to ~=0.26.0 (:pr:`4024`)
70+
- Bump ``pytest`` from 7.4.3 to 7.4.4 (:pr:`4056`)
71+
- Bump ``srvaroa/labeler`` from 1.7.0 to 1.8.0 (:pr:`3993`)
72+
- Bump ``test-summary/action`` from 2.1 to 2.2 (:pr:`4044`)
73+
- Bump ``dessant/lock-threads`` from 4.0.1 to 5.0.1 (:pr:`3994`)
74+
75+
776
Version 20.7
877
============
978

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
# built documents.
2222
#
2323
# The short X.Y version.
24-
version = "20.7" # telegram.__version__[:3]
24+
version = "20.8" # telegram.__version__[:3]
2525
# The full version, including alpha/beta/rc tags.
26-
release = "20.7" # telegram.__version__
26+
release = "20.8" # telegram.__version__
2727

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

docs/source/telegram.chatboost.rst

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

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

66
.. autoclass:: telegram.ChatBoost
77
:members:

docs/source/telegram.chatboostremoved.rst

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

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

66
.. autoclass:: telegram.ChatBoostRemoved
77
:members:

docs/source/telegram.chatboostsource.rst

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

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

66
.. autoclass:: telegram.ChatBoostSource
77
:members:

docs/source/telegram.chatboostsourcegiftcode.rst

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

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

66
.. autoclass:: telegram.ChatBoostSourceGiftCode
77
:members:

docs/source/telegram.chatboostsourcegiveaway.rst

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

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

66
.. autoclass:: telegram.ChatBoostSourceGiveaway
77
:members:

docs/source/telegram.chatboostsourcepremium.rst

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

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

66
.. autoclass:: telegram.ChatBoostSourcePremium
77
:members:

docs/source/telegram.chatboostupdated.rst

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

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

66
.. autoclass:: telegram.ChatBoostUpdated
77
:members:

docs/source/telegram.ext.chatboosthandler.rst

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

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

66
.. autoclass:: telegram.ext.ChatBoostHandler
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