Update dependency python-telegram-bot to v21 #60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==20.6
->==21.6
Release Notes
python-telegram-bot/python-telegram-bot (python-telegram-bot)
v21.6
Compare Source
============
Released 2024-09-19
This is the technical changelog for version 21.6. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
_.New Features
4461
closes :issue:4459
, :pr:4460
, :pr:4463
byaelkheir <https://github.com/aelkheir>
_, :pr:4464
)httpx_kwargs
toHTTPXRequest
(:pr:4451
closes :issue:4424
)Minor Changes
4466
)Internal Changes
4471
)offline_bot
Fixture inTest*WithoutRequest
(:pr:4465
)telegram.ext
Independent of Networking (:pr:4454
)4453
)Dependency Updates
pytest
from 8.3.2 to 8.3.3 (:pr:4475
)v21.5
Compare Source
============
Released 2024-09-01
This is the technical changelog for version 21.5. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
_.Major Changes
4429
)4408
)New Features
MessageEntity.shift_entities
andMessageEntity.concatenate
(:pr:4376
closes :issue:4372
)game_pattern
toCallbackQueryHandler
(:pr:4353
byjainamoswal <https://github.com/jainamoswal>
_ closes :issue:4269
)read_file_handle
toInputFile
(:pr:4388
closes :issue:4339
)Documentation Improvements
4413
)4400
closes :issue:4446
, :pr:4448
byPalaptin <https://github.com/Palaptin>
_)RequestData
Members (:pr:4396
)4389
bymohdyusuf2312 <https://github.com/mohdyusuf2312>
_ closes :issue:4380
)4386
)Minor and Internal Changes
Updater
Network Loop (:pr:4432
byMartinHjelmare <https://github.com/MartinHjelmare>
_)4378
byelpekenin <https://github.com/elpekenin>
_)4375
closes :issue:4373
)4435
)test_message.py
(:pr:4431
byPalaptin <https://github.com/Palaptin>
_)4415
)ruff
and Add New Rules (:pr:4416
)Dependency Updates
cachetools
requirement from <5.5.0,>=5.3.3 to >=5.3.3,<5.6.0 (:pr:4437
)sphinx
from 7.4.7 to 8.0.2 andfuro
from 2024.7.18 to 2024.8.6 (:pr:4412
)test-summary/action
from 2.3 to 2.4 (:pr:4410
)pytest
from 8.2.2 to 8.3.2 (:pr:4403
)dependabot/fetch-metadata
from 2.1.0 to 2.2.0 (:pr:4411
)cachetools
requirement from ~=5.3.3 to >=5.3.3,<5.5.0 (:pr:4390
)sphinx
from 7.3.7 to 7.4.7 (:pr:4395
)furo
from 2024.5.6 to 2024.7.18 (:pr:4392
)v21.4
Compare Source
============
Released 2024-07-12
This is the technical changelog for version 21.4. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
_.Major Changes
4328
, :pr:4316
, :pr:4315
, :pr:4312
closes :issue:4310
, :pr:4311
)4333
closes :issue:4331
, :pr:4344
, :pr:4341
, :pr:4334
, :pr:4335
, :pr:4351
, :pr:4342
, :pr:4348
)4356
closes :issue:4355
)python-telegram-bot-raw
And Switch topyproject.toml
Based Packaging (:pr:4288
closes :issue:4129
and :issue:4296
)successful_payment
inMessage.effective_attachment
(:pr:4365
closes :issue:4350
)New Features
4253
)filters.PAID_MEDIA
(:pr:4357
)4304
)MessageEntity.adjust_message_entities_to_utf_16
Utility Function (:pr:4323
byAntares0982 <https://github.com/Antares0982>
_ closes :issue:4319
)bot
ofTelegramObject.de_json
Optional (:pr:4320
)Documentation Improvements
4303
closes :issue:4301
)4362
)4332
)Internal Changes
4364
closes :issue:4318
)mise-en-place
to.gitignore
(:pr:4300
)4367
)4360
)MenuButton
(:pr:4363
)SuccessfulPayment
Test (:pr:4349
)test_stars.py
(:pr:4347
)4336
)Dependency Updates
ruff
and Add New Rules (:pr:4329
)pre-commit
Hooks to Latest Versions (:pr:4337
)flaky
Dependency (:pr:4322
byPalaptin <https://github.com/Palaptin>
_)pytest
from 8.2.1 to 8.2.2 (:pr:4294
)v21.3
Compare Source
============
Released 2024-06-07
This is the technical changelog for version 21.3. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
_.Major Changes
4286
, :pr:4276
closes :issue:4275
, :pr:4285
, :pr:4283
, :pr:4280
, :pr:4278
, :pr:4279
)python-telegram-bot-raw
(:pr:4270
)4266
closes :issue:4244
)New Features
chat_id
toChatMemberHandler
(:pr:4290
byuniquetrij <https://github.com/uniquetrij>
_ closes :issue:4287
)Documentation Improvements
4264
closes :issue:4240
)Internal Changes
setuptools
torequirements-dev.txt
(:pr:4282
)4265
)Dependency Updates
pytest
from 8.2.0 to 8.2.1 (:pr:4272
)v21.2
Compare Source
============
Released 2024-05-20
This is the technical changelog for version 21.2. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
_.Major Changes
4246
, :pr:4260
, :pr:4243
, :pr:4248
, :pr:4242
closes :issue:4236
, :pr:4247
byaelkheir <https://github.com/aelkheir>
_)4245
)New Features
PTBDeprecationWarning
(:pr:4262
closes :issue:4261
)CallbackContext
(:pr:4222
)Bug Fixes
Application.post_stop
Only ifApplication.stop
was called (:pr:4211
closes :issue:4210
)SystemExit
raised in Handlers (:pr:4157
closes :issue:4155
and :issue:4156
)Birthdate.to_date
Return adatetime.date
Object (:pr:4251
)Documentation Improvements
4217
)Internal Changes
ruff
Config (:pr:4250
)4238
)Dependency Updates
furo
from 2024.4.27 to 2024.5.6 (:pr:4252
)pre-commit
autoupdate (:pr:4239
)pytest
from 8.1.1 to 8.2.0 (:pr:4231
)dependabot/fetch-metadata
from 2.0.0 to 2.1.0 (:pr:4228
)pytest-asyncio
from 0.21.1 to 0.21.2 (:pr:4232
)pytest-xdist
from 3.6.0 to 3.6.1 (:pr:4233
)furo
from 2024.1.29 to 2024.4.27 (:pr:4230
)srvaroa/labeler
from 1.10.0 to 1.10.1 (:pr:4227
)pytest
from 7.4.4 to 8.1.1 (:pr:4218
)sphinx
from 7.2.6 to 7.3.7 (:pr:4215
)pytest-xdist
from 3.5.0 to 3.6.0 (:pr:4215
)v21.1.1
Compare Source
==============
Released 2024-04-15
This is the technical changelog for version 21.1.1. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
__.Bug Fixes
message_thread_id
ofMessage.reply_*
(:pr:4207
closes :issue:4205
)Minor Changes
JobQueue.run_daily
(:pr:4206
by@Konano <https://github.com/Konano>
__)EncryptedCredentials.decrypted_secret
(:pr:4199
by@marinelay <https://github.com/marinelay>
__ closes :issue:4198
)v21.1
Compare Source
==============
Released 2024-04-15
This is the technical changelog for version 21.1.1. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
__.Bug Fixes
message_thread_id
ofMessage.reply_*
(:pr:4207
closes :issue:4205
)Minor Changes
JobQueue.run_daily
(:pr:4206
by@Konano <https://github.com/Konano>
__)EncryptedCredentials.decrypted_secret
(:pr:4199
by@marinelay <https://github.com/marinelay>
__ closes :issue:4198
)v21.0.1
Compare Source
==============
Released 2024-03-06
This is the technical changelog for version 21.0.1. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
__.Bug Fixes
docs
from Package (:pr:4150
)v21.0
Compare Source
==============
Released 2024-03-06
This is the technical changelog for version 21.0.1. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
__.Bug Fixes
docs
from Package (:pr:4150
)v20.8
Compare Source
============
Released 2024-02-08
This is the technical changelog for version 20.8. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
__.Major Changes
4034
closes :issue:4033
, :pr:4038
by@aelkheir <https://github.com/aelkheir>
__)Minor Changes
filters
Parameter ofMessageHandler
(:pr:4039
by@Palaptin <https://github.com/Palaptin>
__)filters.CHAT
(:pr:4083
closes :issue:4062
)3987
closes :issue:3979
)New Features
pattern
toPreCheckoutQueryHandler
andfilters.SuccessfulPayment
(:pr:4005
by@aelkheir <https://github.com/aelkheir>
__ closes :issue:3752
)type
to Corresponding Enum fromtelegram.constants
(:pr:4067
)Updater.start_webhook
(:pr:3986
closes :issue:3978
)Bot.do_api_request
(:pr:4084
closes :issue:4053
)AsyncContextManager
as Parent Class toBaseUpdateProcessor
(:pr:4001
)Documentation Improvements
3919
)3929
closes :issue:3926
)4002
, :pr:4079
by@kenjitagawa <https://github.com/kenjitagawa>
, :pr:4104
by@xTudoS <https://github.com/xTudoS>
)Internal Changes
4100
)4035
)ruff
and Removesort-all
(:pr:4075
)_handlers
Subdirectory (:pr:4064
by@lucasmolinari <https://github.com/lucasmolinari>
__ closes :issue:4060
)sort-all
Hook forpre-commit
(:pr:4052
)pre-commit
Mirror forblack
(:pr:4051
)DEFAULT_20
(:pr:3997
)setup.cfg
topyproject.toml
Where Possible (:pr:4088
)Dependency Updates
black
andruff
(:pr:4089
)srvaroa/labeler
from 1.8.0 to 1.10.0 (:pr:4048
)tornado
requirement from ~=6.3.3 to ~=6.4 (:pr:3992
)actions/stale
from 8 to 9 (:pr:4046
)actions/setup-python
from 4 to 5 (:pr:4047
)pre-commit
autoupdate (:pr:4101
)actions/upload-artifact
from 3 to 4 (:pr:4045
)pre-commit
autoupdate (:pr:3996
)furo
from 2023.9.10 to 2024.1.29 (:pr:4094
)pre-commit
autoupdate (:pr:4043
)codecov/codecov-action
from 3 to 4 (:pr:4091
)EndBug/add-and-commit
from 9.1.3 to 9.1.4 (:pr:4090
)httpx
requirement from ~=0.25.2 to ~=0.26.0 (:pr:4024
)pytest
from 7.4.3 to 7.4.4 (:pr:4056
)srvaroa/labeler
from 1.7.0 to 1.8.0 (:pr:3993
)test-summary/action
from 2.1 to 2.2 (:pr:4044
)dessant/lock-threads
from 4.0.1 to 5.0.1 (:pr:3994
)v20.7
Compare Source
============
Released 2023-11-27
This is the technical changelog for version 20.7. More elaborate release notes can be found in the news channel
@pythontelegrambotchannel <https://t.me/pythontelegrambotchannel>
__.New Features
JobQueue.scheduler_configuration
and Corresponding Warnings (:pr:3913
closes :issue:3837
)socket_options
toHTTPXRequest
(:pr:3935
closes :issue:2965
)ApplicationBuilder.(get_updates_)socket_options
(:pr:3943
)write_timeout
Handling for Media Methods (:pr:3952
)filters.Mention
(:pr:3941
closes :issue:3799
)proxy_url
toproxy
and Allowhttpx.{Proxy, URL}
as Input (:pr:3939
closes :issue:3844
)Bug Fixes & Changes
read_timeout
Behavior forBot.get_updates
(:pr:3963
closes :issue:3893
)BaseHandler.__repr__
for Callbacks without__qualname__
(:pr:3934
)3962
)Bot
(:pr:3942
)Documentation Improvements
__aenter__
and__aexit__
Methods (:pr:3907
closes :issue:3886
)Bot
Methods (:pr:3965
)Internal Changes
3970
)Dependency Updates
pytest-xdist
from 3.3.1 to 3.4.0 (:pr:3975
)pre-commit
autoupdate (:pr:3967
)httpx
requirement from ~=0.25.1 to ~=0.25.2 (:pr:3983
)pytest-xdist
from 3.4.0 to 3.5.0 (:pr:3982
)httpx
requirement from ~=0.25.0 to ~=0.25.1 (:pr:3961
)srvaroa/labeler
from 1.6.1 to 1.7.0 (:pr:3958
)cachetools
requirement from ~=5.3.1 to ~=5.3.2 (:pr:3954
)pytest
from 7.4.2 to 7.4.3 (:pr:3953
)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.