|
2 | 2 | Changelog
|
3 | 3 | =========
|
4 | 4 |
|
| 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 | + |
5 | 81 | Version 12.8
|
6 | 82 | ============
|
7 | 83 | *Released 2020-06-22*
|
|
0 commit comments