Post content
We've just released v12.4.0 Thanks for anyone who've contributed to this release. As usual, upgrade using pip install -U python-telegram-bot New features: - Set default values for arguments appearing repeatedly. We also have a [wiki page for the new defaults](https://github.com/python-telegram-bot/python-telegram-bot/wiki/Adding-defaults-to-your-bot). (#1490) - Store data in CallbackContext.bot_data to access it in every callback. Also persists. (#1325) - Filters.poll allows only messages containing a poll (#1673) Major changes: - 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). - 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). Minor changes, CI improvements or bug fixes: - Add disptacher argument to Updater to allow passing a customized Dispatcher (#1484) - Add missing names for Filters (#1632) - Documentation fixes (#1624, #1647, #1669, #1703, #1718, #1734, #1740, #1642, #1739, #1746) - CI improvements (#1716, #1731, #1738, #1748, #1749, #1750, #1752) - Fix spelling issue for encode_conversations_to_json (#1661) - Remove double assignement of Dispatcher.job_queue (#1698) - Expose dispatcher as property for CallbackContext (#1684) - Fix None check in JobQueue._put() (#1707) - Log datetimes correctly in JobQueue (#1714) - Fix false Message.link creation for private groups (#1741) - Add option --with-upstream-urllib3 to setup.py to allow using non-vendored version (#1725) - Fix persistence for nested ConversationHandlers (#1679) - Improve handling of non-decodable server responses (#1623) - Fix download for files without file_path (#1591) - test_webhook_invalid_posts is now considered flaky and retried on failure (#1758)