Skip to content
Myr

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

2 files+48 added−8 removed

modified:requests/__version__.py+3 added-3 removed
3 unmodified lines
45__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 lines
5---67- \[Short description of non-trivial change.\]892.27.0 (2022-01-03)10-------------------1112**Improvements**1314- Officially added support for Python 3.10. (#5928)159- 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)2014- 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)2425- Improved proxy parsing for proxy URLs missing a scheme. This will address26 recent changes to `urlparse` in Python 3.9+. (#5917)2728**Bugfixes**2930- Fixed defect in `extract_zipped_paths` which could result in an infinite loop31 for some paths. (#5851)3233- Fixed handling for `AttributeError` when calculating length of files obtained34 by `Tarfile.extractfile()`. (#5239)3536- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.InvalidHeader` with37 `requests.exceptions.InvalidHeader`. (#5914)3839- Fixed bug where two Host headers were sent for chunked requests. (#5391)4041- Fixed regression in Requests 2.26.0 where `Proxy-Authorization` was42 incorrectly stripped from all requests sent with `Session.send`. (#5924)4344- Fixed performance regression in 2.26.0 for hosts with a large number of45 proxies available in the environment. (#5924)4647- Fixed idna exception leak, wrapping `UnicodeError` with48 `requests.exceptions.InvalidURL` for URLs with a leading dot (.) in the49 domain. (#5414)5051**Deprecations**5253- 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.56572.26.0 (2021-07-13)58-------------------5960**Improvements**
1739 unmodified lines