Python Telegram Bot Versions Save

We have made you a wrapper you can't refuse

v20.1

1 year ago

Version 20.1

Released 2023-02-09

This is the technical changelog for version 20.1. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Major Changes

  • Full Support for Bot API 6.5 (#3530)

New Features

  • Add Application(Builder).post_stop (#3466)
  • Add Chat.effective_name Convenience Property (#3485)
  • Allow to Adjust HTTP Version and Use HTTP/2 by Default (#3506)

Documentation Improvements

  • Enhance chatmemberbot Example (#3500)
  • Automatically Generate Cross-Reference Links (#3501, #3529, #3523)
  • Add Some Graphic Elements to Docs (#3535)
  • Various Smaller Improvements (#3464, #3483, #3484, #3497, #3512, #3515, #3498)

Minor Changes, Documentation Improvements and CI

  • Update Copyright to 2023 (#3459)
  • Stabilize Tests on Closing and Hiding the General Forum Topic (#3460)
  • Fix Dependency Warning Typo (#3474)
  • Cache Dependencies on GitHub Actions (#3469)
  • Store Documentation Builts as GitHub Actions Artifacts (#3468)
  • Add ruff to pre-commit Hooks (#3488)
  • Improve Warning for days Parameter of JobQueue.run_daily (#3503)
  • Improve Error Message for NetworkError (#3505)
  • Lock Inactive Threads Only Once Each Day (#3510)
  • Bump pytest from 7.2.0 to 7.2.1 (#3513)
  • Check for 3D Arrays in check_keyboard_type (#3514)
  • Explicit Type Annotations (#3508)
  • Increase Verbosity of Type Completeness CI Job (#3531)
  • Fix CI on Python 3.11 + Windows (#3547)

Dependencies

  • Bump actions/stale from 6 to 7 (#3461)
  • Bump dessant/lock-threads from 3.0.0 to 4.0.0 (#3462)
  • pre-commit autoupdate (#3470)
  • Update httpx requirement from ~=0.23.1 to ~=0.23.3 (#3489)
  • Update cachetools requirement from ~=5.2.0 to ~=5.2.1 (#3502)
  • Improve Config for ruff and Bump to v0.0.222 (#3507)
  • Update cachetools requirement from ~=5.2.1 to ~=5.3.0 (#3520)
  • Bump isort to 5.12.0 (#3525)
  • Update apscheduler requirement from ~=3.9.1 to ~=3.10.0 (#3532)
  • pre-commit autoupdate (#3537)
  • Update cryptography requirement to >=39.0.1 to address Vulnerability (#3539)

v20.0

1 year ago

Version 20.0

Released 2023-01-01

This is the technical changelog for version 20.0. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Major Changes

  • Full Support For Bot API 6.4 (#3449)

Minor Changes, Documentation Improvements and CI

  • Documentation Improvements (#3428, #3423, #3429, #3441, #3404, #3443)
  • Allow Sequence Input for Bot Methods (#3412)
  • Update Link-Check CI and Replace a Dead Link (#3456)
  • Freeze Classes Without Arguments (#3453)
  • Add New Constants (#3444)
  • Override Bot.__deepcopy__ to Raise TypeError (#3446)
  • Add Log Decorator to Bot.get_webhook_info (#3442)
  • Add Documentation On Verifying Releases (#3436)
  • Drop Undocumented Job.__lt__ (#3432)

Dependencies

  • Downgrade sphinx to 5.3.0 to Fix Search (#3457)
  • Bump sphinx from 5.3.0 to 6.0.0 (#3450)

v20.0b0

1 year ago

Version 20.0b0

Released 2022-12-15

This is the technical changelog for version 20.0b0. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Major Changes

  • Make TelegramObject Immutable (#3249)

Minor Changes, Documentation Improvements and CI

  • Reduce Code Duplication in Testing Defaults (#3419)
  • Add Notes and Warnings About Optional Dependencies (#3393)
  • Simplify Internals of Bot Methods (#3396)
  • Reduce Code Duplication in Several Bot Methods (#3385)
  • Documentation Improvements (#3386, #3395, #3398, #3403)

Dependencies

  • Bump pytest-xdist from 3.0.2 to 3.1.0 (#3415)
  • Bump pytest-asyncio from 0.20.2 to 0.20.3 (#3417)
  • pre-commit autoupdate (#3409)

v13.15

1 year ago

Version 13.15

Released 2022-12-06

This is the technical changelog for version 13.15. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Major Changes:

  • Full Support for API 6.3 (#3392)

Bug Fixes:

  • Fix Bugs in Bot.answer_web_app_query (#3364)

v20.0a6

1 year ago

Version 20.0a6

Released 2022-11-24

This is the technical changelog for version 20.0a6. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Bug Fixes

  • Only Persist Arbitrary callback_data if ExtBot.callback_data_cache is Present (#3384)
  • Improve Backwards Compatibility of TelegramObjects Pickle Behavior (#3382)
  • Fix Naming and Keyword Arguments of File.download_* Methods (#3380)
  • Fix Return Value Annotation of Chat.create_forum_topic (#3381)

v20.0a5

1 year ago

Version 20.0a5

Released 2022-11-22

This is the technical changelog for version 20.0a5. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Major Changes

  • API 6.3 (#3346, #3343, #3342, #3360)
  • Explicit local_mode Setting (#3154)
  • Make Almost All 3rd Party Dependencies Optional (#3267)
  • Split File.download Into File.download_to_drive And File.download_to_memory (#3223)

New Features

  • Add Properties for API Settings of Bot (#3247)
  • Add chat_id and username Parameters to ChatJoinRequestHandler (#3261)
  • Introduce TelegramObject.api_kwargs (#3233)
  • Add Two Constants Related to Local Bot API Servers (#3296)
  • Add recursive Parameter to TelegramObject.to_dict() (#3276)
  • Overhaul String Representation of TelegramObject (#3234)
  • Add Methods Chat.mention_{html, markdown, markdown_v2} (#3308)
  • Add constants.MessageLimit.DEEP_LINK_LENGTH (#3315)
  • Add Shortcut Parameters caption, parse_mode and caption_entities to Bot.send_media_group (#3295)
  • Add Several New Enums To Constants (#3351)

Bug Fixes

  • Fix CallbackQueryHandler Not Handling Non-String Data Correctly With Regex Patterns (#3252)
  • Fix Defaults Handling in Bot.answer_web_app_query (#3362)

Documentation Improvements

  • Update PR Template (#3361)
  • Document Dunder Methods of TelegramObject (#3319)
  • Add Several References to Wiki pages (#3306)
  • Overhaul Search bar (#3218)
  • Unify Documentation of Arguments and Attributes of Telegram Classes (#3217, #3292, #3303, #3312, #3314)
  • Several Smaller Improvements (#3214, #3271, #3289, #3326, #3370, #3376, #3366)

Minor Changes, Documentation Improvements and CI

  • Improve Warning About Unknown ConversationHandler States (#3242)
  • Switch from Stale Bot to GitHub Actions (#3243)
  • Bump Python 3.11 to RC2 in Test Matrix (#3246)
  • Make Job.job a Property and Make Jobs Hashable (#3250)
  • Skip JobQueue Tests on Windows Again (#3280)
  • Read-Only CallbackDataCache (#3266)
  • Type Hinting Fix for Message.effective_attachment (#3294)
  • Run Unit Tests in Parallel (#3283)
  • Update Test Matrix to Use Stable Python 3.11 (#3313)
  • Don't Edit Objects In-Place When Inserting ext.Defaults (#3311)
  • Add a Test for MessageAttachmentType (#3335)
  • Add Three New Test Bots (#3347)
  • Improve Unit Tests Regarding ChatMemberUpdated.difference (#3352)
  • Flaky Unit Tests: Use pytest Marker (#3354)
  • Fix DeepSource Issues (#3357)
  • Handle Lists and Tuples and Datetimes Directly in TelegramObject.to_dict (#3353)
  • Update Meta Config (#3365)
  • Merge ChatDescriptionLimit Enum Into ChatLimit (#3377)

Dependencies

  • Bump pytest from 7.1.2 to 7.1.3 (#3228)
  • pre-commit Updates (#3221)
  • Bump sphinx from 5.1.1 to 5.2.3 (#3269)
  • Bump furo from 2022.6.21 to 2022.9.29 (#3268)
  • Bump actions/stale from 5 to 6 (#3277)
  • pre-commit autoupdate (#3282)
  • Bump sphinx from 5.2.3 to 5.3.0 (#3300)
  • Bump pytest-asyncio from 0.19.0 to 0.20.1 (#3299)
  • Bump pytest from 7.1.3 to 7.2.0 (#3318)
  • Bump pytest-xdist from 2.5.0 to 3.0.2 (#3317)
  • pre-commit autoupdate (#3325)
  • Bump pytest-asyncio from 0.20.1 to 0.20.2 (#3359)
  • Update httpx requirement from ~=0.23.0 to ~=0.23.1 (#3373)

v13.14

1 year ago

Version 13.14

Released 2022-09-04

This is the technical changelog for version 13.14. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Major Changes:

  • Full Support for API 6.2 (#3203)

Minor Changes:

  • Documentation Improvements (#3144, #3140, #3164)
  • Pin tornado to Version 6.1 (#3145)

v20.0a4

1 year ago

Version 20.0a4

Released 2022-08-27

This is the technical changelog for version 20.0a4. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Hot Fixes

  • Fix a Bug in setup.py Regarding Optional Dependencies (#3209)

v20.0a3

1 year ago

Version 20.0a3

Released 2022-08-27

This is the technical changelog for version 20.0a3. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Major Changes

  • Full Support for API 6.2 (#3195)

New Features

  • New Rate Limiting Mechanism (#3148)
  • Make chat/user_data Available in Error Handler for Errors in Jobs (#3152)
  • Add Application.post_shutdown (#3126)

Bug Fixes

  • Fix helpers.mention_markdown for Markdown V1 and Improve Related Unit Tests (#3155)
  • Add api_kwargs Parameter to Bot.log_out and Improve Related Unit Tests (#3147)
  • Make Bot.delete_my_commands a Coroutine Function (#3136)
  • Fix ConversationHandler.check_update not respecting per_user (#3128)

Minor Changes, Documentation Improvements and CI

  • Add Python 3.11 to Test Suite & Adapt Enum Behaviour (#3168)
  • Drop Manual Token Validation (#3167)
  • Simplify Unit Tests for Bot.send_chat_action (#3151)
  • Drop pre-commit Dependencies from requirements-dev.txt` (#3120)
  • Change Default Values for concurrent_updates and connection_pool_size (#3127)
  • Documentation Improvements (#3139, #3153, #3135)
  • Type Hinting Fixes (#3202)

Dependencies

  • Bump sphinx from 5.0.2 to 5.1.1 (#3177)
  • Update pre-commit Dependencies (#3085)
  • Bump pytest-asyncio from 0.18.3 to 0.19.0 (#3158)
  • Update tornado requirement from ~=6.1 to ~=6.2 (#3149)
  • Bump black from 22.3.0 to 22.6.0 (#3132)
  • Bump actions/setup-python from 3 to 4 (#3131)

v13.13

1 year ago

Version 13.13

Released 2022-06-28

This is the technical changelog for version 13.13. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.

Major Changes:

  • Full Support for API 6.1 (#3117)