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
Full Support for Bot API 7.3 (:pr:4246, :pr:4260, :pr:4243, :pr:4248, :pr:4242 closes :issue:4236, :pr:4247 by aelkheir <https://github.com/aelkheir>_)
Remove Functionality Deprecated by Bot API 7.2 (:pr:4245)
New Features
Add Version to PTBDeprecationWarning (:pr:4262 closes :issue:4261)
Handle Exceptions in building CallbackContext (:pr:4222)
Bug Fixes
Call Application.post_stop Only if Application.stop was called (:pr:4211 closes :issue:4210)
Handle SystemExit raised in Handlers (:pr:4157 closes :issue:4155 and :issue:4156)
Make Birthdate.to_date Return a datetime.date Object (:pr:4251)
Documentation Improvements
Documentation Improvements (:pr:4217)
Internal Changes
Add New Rules to ruff Config (:pr:4250)
Adapt Test Suite to Changes in Error Messages (:pr:4238)
Dependency Updates
Bump furo from 2024.4.27 to 2024.5.6 (:pr:4252)
pre-commit autoupdate (:pr:4239)
Bump pytest from 8.1.1 to 8.2.0 (:pr:4231)
Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (:pr:4228)
Bump pytest-asyncio from 0.21.1 to 0.21.2 (:pr:4232)
Bump pytest-xdist from 3.6.0 to 3.6.1 (:pr:4233)
Bump furo from 2024.1.29 to 2024.4.27 (:pr:4230)
Bump srvaroa/labeler from 1.10.0 to 1.10.1 (:pr:4227)
Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of
HTTPAdapter. (#6716)
Fixed issue where Requests started failing to run on Python versions compiled
without the ssl module. (#6724)
v2.32.2
2.32.2 (2024-05-21)
Deprecations
To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed _get_connection to
a new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of Requests>=2.32.0.
A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
v2.32.1
2.32.1 (2024-05-20)
Bugfixes
Add missing test certs to the sdist distributed on PyPI.
Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of
HTTPAdapter. (#6716)
Fixed issue where Requests started failing to run on Python versions compiled
without the ssl module. (#6724)
2.32.2 (2024-05-21)
Deprecations
To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed _get_connection to
a new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of Requests>=2.32.0.
A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
2.32.1 (2024-05-20)
Bugfixes
Add missing test certs to the sdist distributed on PyPI.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python group with 4 updates: python-telegram-bot, requests, sentry-sdk and ruff.
Updates
python-telegram-bot
from 21.1.1 to 21.2Release notes
Sourced from python-telegram-bot's releases.
Changelog
Sourced from python-telegram-bot's changelog.
... (truncated)
Commits
6fc45a8
Bump version to v21.2512a0b7
Add Version toPTBDeprecationWarning
(#4262)7d952d8
Documentation Improvements (#4217)b496fab
CallApplication.post_stop
Only ifApplication.stop
was called (#4211)637b8e2
HandleSystemExit
raised in Handlers (#4157)912fe45
Handle Exceptions in buildingCallbackContext
(#4222)805b7bf
API 7.3 (#4243, #4248, #4247, #4242, #4246, #4260)f3bd0f1
Add New Rules toruff
Config (#4250)5b0e0b5
Bumpfuro
from 2024.4.27 to 2024.5.6 (#4252)c4623c4
MakeBirthdate.to_date
Return adatetime.date
Object (#4251)Updates
requests
from 2.32.0 to 2.32.3Release notes
Sourced from requests's releases.
Changelog
Sourced from requests's changelog.
Commits
0e322af
v2.32.3e188799
Don't create default SSLContext if ssl module isn't present (#6724)145b539
Merge pull request #6716 from sigmavirus24/bug/6715b1d73dd
Don't use default SSLContext with custom poolmanager kwargs6badbac
Update HISTORY.mda62a2d3
Allow for overriding of specific pool key params88dce9d
v2.32.2c98e4d1
Merge pull request #6710 from nateprewitt/api_rename92075b3
Add deprecation warningaa1461b
Move _get_connection to get_connection_with_tls_contextUpdates
sentry-sdk
from 2.1.1 to 2.3.1Release notes
Sourced from sentry-sdk's releases.
Changelog
Sourced from sentry-sdk's changelog.
Commits
a0ea6a9
Updated changelogf12712f
release: 2.3.135e9bab
Handle also byte arras as strings (#3101)45bf880
Do not crash exceptiongroup (by patching excepthook and keeping the name of t...0983f74
Merge branch 'release/2.3.0'4e74f91
Updated Changelogfadd277
Update CHANGELOG.md88dd524
release: 2.3.0121aa0e
Redis Cache Module - 1 - Prepare Code (#3073)30f72a3
Django caching instrumentation update (#3009)Updates
ruff
from 0.4.3 to 0.4.7Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
1ad5f9c
Bump version to v0.4.7 (#11646)e914bc3
F401 sort bindings before adding to all (#11648)27f6f04
[red-knot] initial (very incomplete) flow graph (#11624)d62a617
red-knot: Don't refer toModule
instances as IDs (#11649)16a926d
[red-knot] infer int literal types (#11623)05566c6
UpdateWho's Using Ruff?
section to includeGodot
(#11647)7ce17b7
Add Vim and Kate setup guide forruff server
(#11615)f9a6450
Use char index rather than position for indent slice (#11645)8a25531
red-knot: improve internal documentation inmodule.rs
(#11638)9b6d2ce
Fix incorect placement of trailing stub function comments (#11632)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show