Bump requests from 2.27.1 to 2.28.1
Bumps requests from 2.27.1 to 2.28.1.
Release notes
Sourced from requests's releases.
v2.28.1
2.28.1 (2022-06-29)
Improvements
- Speed optimization in
iter_contentwith transition toyield from. (#6170)Dependencies
New Contributors
- @hswong3i made their first contribution in https://github.com/psf/requests/pull/6179
- @frenzymadness made their first contribution in https://github.com/psf/requests/pull/6169
Full Changelog: https://github.com/psf/requests/blob/main/HISTORY.md#2281-2022-06-29
v2.28.0
2.28.0 (2022-06-09)
Deprecations
⚠ ️ Requests has officially dropped support for Python 2.7.⚠ ️ (#6091)- Requests has officially dropped support for Python 3.6 (including pypy3). (#6091)
Improvements
- Wrap JSON parsing issues in Request's JSONDecodeError for payloads without an encoding to make
json()API consistent. (#6097)- Parse header components consistently, raising an InvalidHeader error in all invalid cases. (#6154)
- Added provisional 3.11 support with current beta build. (#6155)
- Requests got a makeover and we decided to paint it black. (#6095)
Bugfixes
- Fixed bug where setting
CURL_CA_BUNDLEto an empty string would disable cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)- Fixed urllib3 exception leak, wrapping
urllib3.exceptions.SSLErrorwithrequests.exceptions.SSLErrorforcontentanditer_content. (#6057)- Fixed issue where invalid Windows registry entires caused proxy resolution to raise an exception rather than ignoring the entry. (#6149)
- Fixed issue where entire payload could be included in the error message for JSONDecodeError. (#6079)
New Contributors
- @marwanpro made their first contribution in https://github.com/psf/requests/pull/6035
... (truncated)
Changelog
Sourced from requests's changelog.
2.28.1 (2022-06-29)
Improvements
- Speed optimization in
iter_contentwith transition toyield from. (#6170)Dependencies
2.28.0 (2022-06-09)
Deprecations
⚠ ️ Requests has officially dropped support for Python 2.7.⚠ ️ (#6091)- Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)
Improvements
- Wrap JSON parsing issues in Request's JSONDecodeError for payloads without an encoding to make
json()API consistent. (#6097)- Parse header components consistently, raising an InvalidHeader error in all invalid cases. (#6154)
- Added provisional 3.11 support with current beta build. (#6155)
- Requests got a makeover and we decided to paint it black. (#6095)
Bugfixes
- Fixed bug where setting
CURL_CA_BUNDLEto an empty string would disable cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)- Fixed urllib3 exception leak, wrapping
urllib3.exceptions.SSLErrorwithrequests.exceptions.SSLErrorforcontentanditer_content. (#6057)- Fixed issue where invalid Windows registry entires caused proxy resolution to raise an exception rather than ignoring the entry. (#6149)
- Fixed issue where entire payload could be included in the error message for JSONDecodeError. (#6036)
Commits
-
4d39457v2.28.1 -
16b418bUse yield from instead of looping yield (#6170) -
0e28c8fAllow charset normalizer >=2 and <3 (#6169) -
73793ceUpdate Dependency withchardet>=3.0.2,<6(#6179) -
da9996fv2.28.0 -
1dcf3b7Add GitHub action to automate linting (#6157) -
e36f345Add valdation for header name (#6154) -
60865f2Run 3.11 CI on all platforms (#6155) -
3af2f45Fix output of test_lowlevel tests in case of timeout (#6136) -
0f358eaReduce lock thread runs to daily (#6150) - Additional commits viewable in compare view