v2.27.0
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Nate Prewitt · committed by Nate Prewitt · parent e50dc12 · Browse files · 2 files·+48 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+48 added−8 removed
- other:+48 added−8 removed
Provenance
- Commit
0192aac- Tree
94369dd- Author
Nate Prewitt <nate.prewitt@gmail.com>- Committer
Nate Prewitt <nate.prewitt@gmail.com>- Parent
e50dc12
2 files changed+48 added−8 removed
modified:requests/__version__.py+3 added-3 removed
3 unmodified lines4 5 __title__ = 'requests'6 __description__ = 'Python HTTP for Humans.'7 __url__ = 'https://requests.readthedocs.io'8-__version__ = '2.26.0'9-__build__ = 0x0226008+__version__ = '2.27.0'9+__build__ = 0x02270010 __author__ = 'Kenneth Reitz'11 __author_email__ = 'me@kennethreitz.org'12 __license__ = 'Apache 2.0'13-__copyright__ = 'Copyright 2020 Kenneth Reitz'13+__copyright__ = 'Copyright 2022 Kenneth Reitz'14 __cake__ = u'\u2728 \U0001f370 \u2728'modified:HISTORY.md+45 added-5 removed
4 unmodified lines5 ---6 7 - \[Short description of non-trivial change.\]8 9+2.27.0 (2022-01-03)10+-------------------11+12+**Improvements**13+14+- Officially added support for Python 3.10. (#5928)15+9-- Added a `requests.exceptions.JSONDecodeError` to decrease inconsistencies10- in the library. This gets raised in the `response.json()` method, and is16+- Added a `requests.exceptions.JSONDecodeError` to unify JSON exceptions between17+ Python 2 and 3. This gets raised in the `response.json()` method, and is18 backwards compatible as it inherits from previously thrown exceptions.12- Can be caught from `requests.exceptions.RequestException` as well.19+ Can be caught from `requests.exceptions.RequestException` as well. (#5856)20 14-- Catch `AttributeError` when calculating length of files obtained by15- `Tarfile.extractfile()`21+- Improved error text for misnamed `InvalidSchema` and `MissingSchema`22+ exceptions. This is a temporary fix until exceptions can be renamed23+ (Schema->Scheme). (#6017)24 25+- Improved proxy parsing for proxy URLs missing a scheme. This will address26+ recent changes to `urlparse` in Python 3.9+. (#5917)27+28+**Bugfixes**29+30+- Fixed defect in `extract_zipped_paths` which could result in an infinite loop31+ for some paths. (#5851)32+33+- Fixed handling for `AttributeError` when calculating length of files obtained34+ by `Tarfile.extractfile()`. (#5239)35+36+- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.InvalidHeader` with37+ `requests.exceptions.InvalidHeader`. (#5914)38+39+- Fixed bug where two Host headers were sent for chunked requests. (#5391)40+41+- Fixed regression in Requests 2.26.0 where `Proxy-Authorization` was42+ incorrectly stripped from all requests sent with `Session.send`. (#5924)43+44+- Fixed performance regression in 2.26.0 for hosts with a large number of45+ proxies available in the environment. (#5924)46+47+- Fixed idna exception leak, wrapping `UnicodeError` with48+ `requests.exceptions.InvalidURL` for URLs with a leading dot (.) in the49+ domain. (#5414)50+51+**Deprecations**52+53+- Requests support for Python 2.7 and 3.6 will be ending in 2022. While we54+ don't have exact dates, Requests 2.27.x is likely to be the last release55+ series providing support.56+57 2.26.0 (2021-07-13)58 -------------------59 60 **Improvements**1739 unmodified lines