8000 Bump to v13.0 · Konano/python-telegram-bot@bf68942 · GitHub
[go: up one dir, main page]

Skip to content

Commit bf68942

Browse files
committed
Bump to v13.0
1 parent 5fd7606 commit bf68942

File tree

3 files changed

+79
-3
lines changed

3 files changed

+79
-3
lines changed

CHANGES.rst

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,82 @@
22
Changelog
33
=========
44

5+
Version 13.0
6+
============
7+
*Released 2020-10-07*
8+
9+
**For a detailed guide on how to migrate from v12 to v13, see this** `wiki page <https://github.com/python-telegram-bot/python-telegram-bot/wiki/Transition-guide-to-Version-13.0>`_.
10+
11+
**Major Changes:**
12+
13+
- Deprecate old-style callbacks, i.e. set ``use_context=True`` by default (`#2050`_)
14+
- Refactor Handling of Message VS Update Filters (`#2032`_)
15+
- Deprecate ``Message.default_quote`` (`#1965`_)
16+
- Refactor persistence of Bot instances (`#1994`_)
17+
- Refactor ``JobQueue`` (`#1981`_)
18+
- Refactor handling of kwargs in Bot methods (`#1924`_)
19+
- Refactor ``Dispatcher.run_async``, deprecating the ``@run_async`` decorator (`#2051`_)
20+
21+
**New Features:**
22+
23+
- Type Hinting (`#1920`_)
24+
- Automatic Pagination for ``answer_inline_query`` (`#2072`_)
25+
- ``Defaults.tzinfo`` (`#2042`_)
26+
- Extend rich comparison of objects (`#1724`_)
27+
- Add ``Filters.via_bot`` (`#2009`_)
28+
- Add missing shortcuts (`#2043`_)
29+
- Allow ``DispatcherHandlerStop`` in ``ConversationHandler`` (`#2059`_)
30+
- Make Errors picklable (`#2106`_)
31+
32+
**Minor changes, CI improvements, doc fixes or bug fixes:**
33+
34+
- Fix Webhook not working on Windows with Python 3.8+ (`#2067`_)
35+
- Fix setting thumbs with ``send_media_group`` (`#2093`_)
36+
- Make ``MessageHandler`` filter for ``Filters.update`` first (`#2085`_)
37+
- Fix ``PicklePersistence.flush()`` with only ``bot_data`` (`#2017`_)
38+
- Add test for clean argument of ``Updater.start_polling/webhook`` (`#2002`_)
39+
- Doc fixes, refinements and additions (`#2005`_, `#2008`_, `#2089`_, `#2094`_, `#2090`_)
40+
- CI fixes (`#2018`_, `#2061`_)
41+
- Refine ``pollbot.py`` example (`#2047`_)
42+
- Refine Filters in examples (`#2027`_)
43+
- Rename ``echobot`` examples (`#2025`_)
44+
- Use Lock-Bot to lock old threads (`#2048`_, `#2052`_, `#2049`_, `#2053`_)
45+
46+
.. _`#2050`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2050
47+
.. _`#2032`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2032
48+
.. _`#1965`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1965
49+
.. _`#1994`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1994
50+
.. _`#1981`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1981
51+
.. _`#1924`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1924
52+
.. _`#2051`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2051
53+
.. _`#1920`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1920
54+
.. _`#2072`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2072
55+
.. _`#2042`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2042
56+
.. _`#1724`: https://github.com/python-telegram-bot/python-telegram-bot/pull/1724
57+
.. _`#2009`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2009
58+
.. _`#2043`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2043
59+
.. _`#2059`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2059
60+
.. _`#2106`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2106
61+
.. _`#2067`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2067
62+
.. _`#2093`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2093
63+
.. _`#2085`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2085
64+
.. _`#2017`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2017
65+
.. _`#2002`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2002
66+
.. _`#2005`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2005
67+
.. _`#2008`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2008
68+
.. _`#2089`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2089
69+
.. _`#2094`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2094
70+
.. _`#2090`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2090
71+
.. _`#2018`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2018
72+
.. _`#2061`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2061
73+
.. _`#2047`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2047
74+
.. _`#2027`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2027
75+
.. _`#2025`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2025
76+
.. _`#2048`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2048
77+
.. _`#2052`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2052
78+
.. _`#2049`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2049
79+
.. _`#2053`: https://github.com/python-telegram-bot/python-telegram-bot/pull/2053
80+
581
Version 12.8
682
============
783
*Released 2020-06-22*

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
# built documents.
5959
#
6060
# The short X.Y version.
61-
version = '12.8' # telegram.__version__[:3]
61+
version = '13.0' # telegram.__version__[:3]
6262
# The full version, including alpha/beta/rc tags.
63-
release = '12.8' # telegram.__version__
63+
release = '13.0' # telegram.__version__
6464

6565
# The language for content autogenerated by Sphinx. Refer to documentation
6666
# for a list of supported languages.

telegram/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
# You should have received a copy of the GNU Lesser Public License
1818
# along with this program. If not, see [http://www.gnu.org/licenses/].
1919

20-
__version__ = '12.8'
20+
__version__ = '13.0'

0 commit comments

Comments
 (0)
0