Post content
We've just released v13.2. Thank you to everyone who contributed to this release. As usual, upgrade using pip install -U python-telegram-bot. This update brings two major improvements. First of, all the convenience shortcuts (like Message.reply_text) now have the full signature of the corresponding bot method. This means that you can leverage auto-completion of your favourite IDE and the type checker of your choice will work even better! Moreover, we now offer another package: With python-telegram-bot-raw, the pure Telegram API implementation (i.e. the telegram module) is now available as stand-alone package. PTB-Raw does not include telegram.ext and hence has minimal dependencies. By providing PTB-Raw, we hope to make the PTB-ecosystem more attractive for applications that only need the raw API. Please note that PTB-Raw is just the telegram module extracted from PTB. It therefore does not have independent release schedules, changelogs or documentation. For the full list of changes and improvements, please see below. Also, we're delighted to have two new developers in our team: @starryboi, @Hoppingturtles, who have already contributed to this release! Major Changes: • Introduce python-telegram-bot-raw (#2324) • Explicit Signatures for Shortcuts (#2240) New Features: • Add Missing Shortcuts to Message (#2330 by zeshuaro) • Rich Comparison for Bot (#2320) • Add run_async Parameter to ConversationHandler (#2292 by zeshuaro) • Add New Shortcuts to Chat (#2291) • Add New Constant MAX_ANSWER_CALLBACK_QUERY_TEXT_LENGTH (#2282) • Allow Passing Custom Filename For All Media (#2249) • Handle Bytes as File Input (#2233) Bug Fixes: • Fix Escaping in Nested Entities in Message Properties (#2312 by blueset) • Adjust Calling of Dispatcher.update_persistence (#2285) • Add quote kwarg to Message.reply_copy (#2232) • ConversationHandler: Docs & edited_channel_post behavior (#2339) Minor changes, CI improvements, doc fixes and type hinting: • Doc Fixes (#2253, #2225) • Reduce Usage of typing.Any (#2321) • Extend Deeplinking Example (#2335) • Add pyupgrade to pre-commit Hooks (#2301) • Add PR Template (#2299) • Drop Nightly Tests & Update Badges (#2323) • Update Copyright (#2289, #2287) • Change Order of Class DocStrings (#2256) • Add macOS to Test Matrix (#2266) • Start Using Versioning Directives in Docs (#2252) • Improve Annotations & Docs of Handlers (#2243)