Releases: python-telegram-bot/python-telegram-bot
v20.2
Version 20.2
Released 2023-03-25
This is the technical changelog for version 20.2. More elaborate release notes can be found in the news channel @pythontelegrambotchannel.
Major Changes
- Full Support for API 6.6 (#3584)
- Revert to HTTP/1.1 as Default and make HTTP/2 an Optional Dependency (#3576)
Minor Changes, Documentation Improvements and CI
- Documentation Improvements (#3565, #3600)
- Handle Symbolic Links in
was_called_by
(#3552) - Tidy Up Tests Directory (#3553)
- Enhance
Application.create_task
(#3543) - Make Type Completeness Workflow Usable for PRs from Forks (#3551)
- Refactor and Overhaul the Test Suite (#3426)
Dependencies
- Bump
pytest-asyncio
from 0.20.3 to 0.21.0 (#3624) - Bump
furo
from 2022.12.7 to 2023.3.23 (#3625) - Bump
pytest-xdist
from 3.2.0 to 3.2.1 (#3606) pre-commit
autoupdate (#3577)- Update
apscheduler
requirement from ~=3.10.0 to ~=3.10.1 (#3572) - Bump
pytest
from 7.2.1 to 7.2.2 (#3573) - Bump
pytest-xdist
from 3.1.0 to 3.2.0 (#3550) - Bump
sphinxcontrib-mermaid
from 0.7.1 to 0.8 (#3549)
v20.1
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
topre-commit
Hooks (#3488) - Improve Warning for
days
Parameter ofJobQueue.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
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 RaiseTypeError
(#3446) - Add Log Decorator to
Bot.get_webhook_info
(#3442) - Add Documentation On Verifying Releases (#3436)
- Drop Undocumented
Job.__lt__
(#3432)
Dependencies
v20.0b0
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
v13.15
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
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
v20.0a5
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
IntoFile.download_to_drive
AndFile.download_to_memory
(#3223)
New Features
- Add Properties for API Settings of
Bot
(#3247) - Add
chat_id
andusername
Parameters toChatJoinRequestHandler
(#3261) - Introduce
TelegramObject.api_kwargs
(#3233) - Add Two Constants Related to Local Bot API Servers (#3296)
- Add
recursive
Parameter toTelegramObject.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
andcaption_entities
toBot.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 MakeJobs
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 IntoChatLimit
(#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
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:
v20.0a4
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
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 toBot.log_out
and Improve Related Unit Tests (#3147) - Make
Bot.delete_my_commands
a Coroutine Function (#3136) - Fix
ConversationHandler.check_update
not respectingper_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 fromrequirements-
dev.txt` (#3120) - Change Default Values for
concurrent_updates
andconnection_pool_size
(#3127) - Documentation Improvements (#3139, #3153, #3135)
- Type Hinting Fixes (#3202)