Skip to content

Commit

Permalink
v2.19.0
Browse files Browse the repository at this point in the history
* Updated HISTORY.rst.
* Moved version pin for idna to allow recent 2.7 release.
* Updated version warning for urllib3 to allow 1.23.
* Updated metadata dunders in __version__.py.
* Removed Python 2.6 trove classifier.
* Removed Python 2.6 reference from README.rst.
  • Loading branch information
nateprewitt committed Jun 12, 2018
1 parent 7e297ed commit 991e8b7
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
19 changes: 16 additions & 3 deletions HISTORY.rst
Expand Up @@ -6,24 +6,37 @@ Release History
dev
+++

- [Short description of non-trivial change.]

2.19.0 (2018-06-12)
++++++++++++++++++

**Improvements**

- Warn user about possible slowdown when using cryptography version < 1.3.4
- Check for invalid host in proxy URL, before forwarding request to adapter.
- Fragments are now properly maintained across redirects. (RFC7231 7.1.2)
- Removed use of cgi module to expedite library load time.
- Added support for SHA-256 and SHA-512 digest auth algorithms.
- Minor performance improvement to ``Request.content``.
- Migrate to using collections.abc for 3.7 compatibility.

**Bugfixes**

- Parsing empty ``Link`` headers with ``parse_header_links()`` no longer return one bogus entry
- Parsing empty ``Link`` headers with ``parse_header_links()`` no longer return one bogus entry.
- Fixed issue where loading the default certificate bundle from a zip archive
would raise an ``IOError``
- Fixed issue with unexpected ``ImportError`` on windows system which do not support ``winreg`` module
would raise an ``IOError``.
- Fixed issue with unexpected ``ImportError`` on windows system which do not support ``winreg`` module.
- DNS resolution in proxy bypass no longer includes the username and password in
the request. This also fixes the issue of DNS queries failing on macOS.
- Properly normalize adapter prefixes for url comparison.
- Passing ``None`` as a file pointer to the ``files`` param no longer raises an exception.
- Calling ``copy`` on a ``RequestsCookieJar`` will now preserve the cookie policy correctly.

**Dependencies**

- We now support idna v2.7.
- We now support urllib3 v1.23.

2.18.4 (2017-08-15)
+++++++++++++++++++
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -77,7 +77,7 @@ Requests is ready for today's web.
- ``.netrc`` Support
- Chunked Requests

Requests officially supports Python 2.6–2.7 & 3.4–3.6, and runs great on PyPy.
Requests officially supports Python 2.7 & 3.4–3.6, and runs great on PyPy.

Installation
------------
Expand Down
4 changes: 2 additions & 2 deletions requests/__init__.py
Expand Up @@ -57,10 +57,10 @@ def check_compatibility(urllib3_version, chardet_version):
# Check urllib3 for compatibility.
major, minor, patch = urllib3_version # noqa: F811
major, minor, patch = int(major), int(minor), int(patch)
# urllib3 >= 1.21.1, <= 1.22
# urllib3 >= 1.21.1, <= 1.23
assert major == 1
assert minor >= 21
assert minor <= 22
assert minor <= 23

# Check chardet for compatibility.
major, minor, patch = chardet_version.split('.')[:3]
Expand Down
6 changes: 3 additions & 3 deletions requests/__version__.py
Expand Up @@ -5,10 +5,10 @@
__title__ = 'requests'
__description__ = 'Python HTTP for Humans.'
__url__ = 'http://python-requests.org'
__version__ = '2.18.4'
__build__ = 0x021804
__version__ = '2.19.0'
__build__ = 0x021900
__author__ = 'Kenneth Reitz'
__author_email__ = 'me@kennethreitz.org'
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2017 Kenneth Reitz'
__copyright__ = 'Copyright 2018 Kenneth Reitz'
__cake__ = u'\u2728 \U0001f370 \u2728'
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -50,7 +50,7 @@ def run_tests(self):

requires = [
'chardet>=3.0.2,<3.1.0',
'idna>=2.5,<2.7',
'idna>=2.5,<2.8',
'urllib3>=1.21.1,<1.24',
'certifi>=2017.4.17'

Expand Down Expand Up @@ -90,7 +90,6 @@ def run_tests(self):
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
Expand Down

0 comments on commit 991e8b7

Please sign in to comment.