Skip to content

Commit da9996f

Browse files
authored
v2.28.0
1 parent 1dcf3b7 commit da9996f

File tree

2 files changed

+26
-7
lines changed

2 files changed

+26
-7
lines changed

HISTORY.md

+24-5
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,34 @@ dev
66

77
- \[Short description of non-trivial change.\]
88

9-
**Bugfixes**
109

11-
- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.SSLError` with
12-
`requests.exceptions.SSLError` for `content` and `iter_content`.
10+
2.28.0 (2022-06-09)
11+
-------------------
1312

1413
**Deprecations**
1514

16-
- ⚠️ Requests has officially dropped support for Python 2.7. ⚠️
17-
- Requests has officially dropped support for Python 3.6 (including pypy3).
15+
- ⚠️ Requests has officially dropped support for Python 2.7. ⚠️ (#6091)
16+
- Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)
17+
18+
**Improvements**
19+
20+
- Wrap JSON parsing issues in Request's JSONDecodeError for payloads without
21+
an encoding to make `json()` API consistent. (#6097)
22+
- Parse header components consistently, raising an InvalidHeader error in
23+
all invalid cases. (#6154)
24+
- Added provisional 3.11 support with current beta build. (#6155)
25+
- Requests got a makeover and we decided to paint it black. (#6095)
26+
27+
**Bugfixes**
28+
29+
- Fixed bug where setting `CURL_CA_BUNDLE` to an empty string would disable
30+
cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)
31+
- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.SSLError` with
32+
`requests.exceptions.SSLError` for `content` and `iter_content`. (#6057)
33+
- Fixed issue where invalid Windows registry entires caused proxy resolution
34+
to raise an exception rather than ignoring the entry. (#6149)
35+
- Fixed issue where entire payload could be included in the error message for
36+
JSONDecodeError. (#6036)
1837

1938
2.27.1 (2022-01-05)
2039
-------------------

requests/__version__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
__title__ = "requests"
66
__description__ = "Python HTTP for Humans."
77
__url__ = "https://requests.readthedocs.io"
8-
__version__ = "2.27.1"
9-
__build__ = 0x022701
8+
__version__ = "2.28.0"
9+
__build__ = 0x022800
1010
__author__ = "Kenneth Reitz"
1111
__author_email__ = "[email protected]"
1212
__license__ = "Apache 2.0"

0 commit comments

Comments
 (0)