22Changelog
33=========
44
5+ Version 12.4.0
6+ ==============
7+ *Released 2020-02-08 *
8+
9+ **New features: **
10+
11+ - Set default values for arguments appearing repeatedly. We also have a `wiki page for the new defaults `_. (`#1490 `_)
12+ - Store data in ``CallbackContext.bot_data `` to access it in every callback. Also persists. (`#1325 `_)
13+ - ``Filters.poll `` allows only messages containing a poll (`#1673 `_)
14+
15+ **Major changes: **
16+
17+ - ``Filters.text `` now accepts messages that start with a slash, because ``CommandHandler `` checks for ``MessageEntity.BOT_COMMAND `` since v12. This might lead to your MessageHandlers receiving more updates than before (`#1680 `_).
18+ - ``Filters.command `` new checks for ``MessageEntity.BOT_COMMAND `` instead of just a leading slash. Also by ``Filters.command(False) `` you can now filters for messages containing a command `anywhere ` in the text (`#1744 `_).
19+
20+ **Minor changes, CI improvements or bug fixes: **
21+
22+ - Add ``disptacher `` argument to ``Updater `` to allow passing a customized ``Dispatcher `` (`#1484 `_)
23+ - Add missing names for ``Filters `` (`#1632 `_)
24+ - Documentation fixes (`#1624 `_, `#1647 `_, `#1669 `_, `#1703 `_, `#1718 `_, `#1734 `_, `#1740 `_, `#1642 `_, `#1739 `_, `#1746 `_)
25+ - CI improvements (`#1716 `_, `#1731 `_, `#1738 `_, `#1748 `_, `#1749 `_, `#1750 `_, `#1752 `_)
26+ - Fix spelling issue for ``encode_conversations_to_json `` (`#1661 `_)
27+ - Remove double assignement of ``Dispatcher.job_queue `` (`#1698 `_)
28+ - Expose dispatcher as property for ``CallbackContext `` (`#1684 `_)
29+ - Fix ``None `` check in ``JobQueue._put() `` (`#1707 `_)
30+ - Log datetimes correctly in ``JobQueue `` (`#1714 `_)
31+ - Fix false ``Message.link `` creation for private groups (`#1741 `_)
32+ - Add option ``--with-upstream-urllib3 `` to `setup.py ` to allow using non-vendored version (`#1725 `_)
33+ - Fix persistence for nested ``ConversationHandlers `` (`#1679 `_)
34+ - Improve handling of non-decodable server responses (`#1623 `_)
35+ - Fix download for files without ``file_path `` (`#1591 `_)
36+ - test_webhook_invalid_posts is now considered flaky and retried on failure (`#1758 `_)
37+
38+ .. _`wiki page for the new defaults` : https://github.com/python-telegram-bot/python-telegram-bot/wiki/Adding-defaults-to-your-bot
39+ .. _`#1744` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1744
40+ .. _`#1752` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1752
41+ .. _`#1750` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1750
42+ .. _`#1591` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1591
43+ .. _`#1490` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1490
44+ .. _`#1749` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1749
45+ .. _`#1623` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1623
46+ .. _`#1748` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1748
47+ .. _`#1679` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1679
48+ .. _`#1711` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1711
49+ .. _`#1325` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1325
50+ .. _`#1746` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1746
51+ .. _`#1725` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1725
52+ .. _`#1739` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1739
53+ .. _`#1741` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1741
54+ .. _`#1642` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1642
55+ .. _`#1738` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1738
56+ .. _`#1740` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1740
57+ .. _`#1734` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1734
58+ .. _`#1680` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1680
59+ .. _`#1718` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1718
60+ .. _`#1714` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1714
61+ .. _`#1707` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1707
62+ .. _`#1731` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1731
63+ .. _`#1673` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1673
64+ .. _`#1684` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1684
65+ .. _`#1703` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1703
66+ .. _`#1698` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1698
67+ .. _`#1669` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1669
68+ .. _`#1661` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1661
69+ .. _`#1647` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1647
70+ .. _`#1632` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1632
71+ .. _`#1624` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1624
72+ .. _`#1716` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1716
73+ .. _`#1484` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1484
74+ .. _`#1758` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1484
75+
576Version 12.3.0
677==============
778*Released 2020-01-11 *
@@ -15,7 +86,7 @@ Version 12.3.0
1586
1687- Fix inconsistent handling of naive datetimes (`#1506 `_).
1788
18- **Minor changes, CI improvments or bug fixes: **
89+ **Minor changes, CI improvements or bug fixes: **
1990
2091- Documentation fixes (`#1558 `_, `#1569 `_, `#1579 `_, `#1572 `_, `#1566 `_, `#1577 `_, `#1656 `_).
2192- Add mutex protection on `ConversationHandler ` (`#1533 `_).
@@ -27,7 +98,7 @@ Version 12.3.0
2798- Allow private groups for `Message.link ` (`#1619 `_).
2899- Fix wrong signature call for `ConversationHandler.TIMEOUT ` handlers (`#1653 `_).
29100
30- .. _`#1631` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1558
101+ .. _`#1631` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1631
31102.. _`#1506` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1506
32103.. _`#1558` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1558
33104.. _`#1569` : https://github.com/python-telegram-bot/python-telegram-bot/pull/1569
0 commit comments