diff --git a/HISTORY.rst b/HISTORY.rst index 8854f572..78184790 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,26 @@ Release History --------------- +2.12.2 (2016-11-30) ++++++++++++++++++++ + +**Bugfixes** + +- Fixed several issues with IDNA-encoding URLs that are technically invalid but + which are widely accepted. Requests will now attempt to IDNA-encode a URL if + it can but, if it fails, and the host contains only ASCII characters, it will + be passed through optimistically. This will allow users to opt-in to using + IDNA2003 themselves if they want to, and will also allow technically invalid + but still common hostnames. +- Fixed an issue where URLs with leading whitespace would raise + ``InvalidSchema`` errors. +- Fixed an issue where some URLs without the HTTP or HTTPS schemes would still + have HTTP URL preparation applied to them. +- Fixed an issue where Unicode strings could not be used in basic auth. +- Fixed an issue encountered by some Requests plugins where constructing a + Response object would cause ``Response.content`` to raise an + ``AttributeError``. + 2.12.1 (2016-11-16) +++++++++++++++++++ diff --git a/requests/__init__.py b/requests/__init__.py index 2e37bd25..cf76ae04 100644 --- a/requests/__init__.py +++ b/requests/__init__.py @@ -41,8 +41,8 @@ is at . """ __title__ = 'requests' -__version__ = '2.12.1' -__build__ = 0x021201 +__version__ = '2.12.2' +__build__ = 0x021202 __author__ = 'Kenneth Reitz' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2016 Kenneth Reitz'