Skip to content
Myr

Merge pull request #1541 from Lukasa/releasenote

Before adoption: this commit came in with the history the project adopted, so no landing records it.

[2.0] Tracking PR for the 2.0 changelog

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 03d844f, 88011f4 · Browse files · 1 file+44 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+44 added−0 removed

  • other:+44 added−0 removed

1 file+44 added−0 removed

modified:HISTORY.rst+44 added
1 unmodified line
23History4-------562.0.0 (2013-XX-XX)7++++++++++++++++++89**API Changes:**1011- Keys in the Headers dictionary are now native strings on all Python versions,12 i.e. bytestrings on Python 2, unicode on Python 3.13- Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception14 will be raised if they don't.15- ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.16- Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.17- Added new method to ``Session`` objects: ``Session.update_request()``. This18 method updates a ``Request`` object with the data (e.g. cookies) stored on19 the ``Session``.20- Added new method to ``Session`` objects: ``Session.prepare_request()``. This21 method updates and prepares a ``Request`` object, and returns the22 corresponding ``PreparedRequest`` object.23- Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.24 This should not be called directly, but improves the subclass interface.25- ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding26 will now raise a Requests ``ChunkedEncodingError`` instead.27- Invalid percent-escape sequences now cause a Requests ``InvalidURL``28 exception to be raised.29- HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses30 ``"already_reported"``.31- HTTP 226 reason added (``"im_used"``).3233**Bugfixes:**3435- Vastly improved proxy support, including the CONNECT verb. Special thanks to36 the many contributors who worked towards this improvement.37- Chunked encoding fixes.38- Support for mixed case schemes.39- Retrieve environment proxies from more locations.40- Minor cookies fixes.41- Improved streaming behaviour, particularly for compressed data.42- Miscellaneous small Python 3 text encoding bugs.43- ``.netrc`` no longer overrides explicit auth.44- Cookies set by hooks are now correctly persisted on Sessions.45- Fix problem with cookies that specify port numbers in their host field.46- ``BytesIO`` can be used to perform streaming uploads.47- More generous parsing of the ``no_proxy`` environment variable.48- Non-string objects can be passed in data values alongside files.49501.2.3 (2013-05-25)51++++++++++++++++++5253- Simple packaging fix
650 unmodified lines