HISTORY.md
This file
Path
HISTORY.md
2,041 lines · 60.7 KiB · Markdown
Last changed by
v2.33.0Nate Prewittbefore adoptionbc04dfd
History of this fileTake it
The walk stopped after 200 commits: lines older than fa1b0a3 point at it.
Initialize JsonDecodeError before initializing IOError (#6036)chyzzqo2before adoptionfa1b0a3
lines 1–8why, one step back1Release History2===============34dev5---67- \[Short description of non-trivial change.\]8v2.33.0Nate Prewittbefore adoptionbc04dfd
lines 9–37why, one step back92.33.0 (2026-03-25)10--------------------1112**Announcements**13- 📣 Requests is adding inline types. If you have a typed code base that14uses Requests, please take a look at #7271. Give it a try, and report15any gaps or feedback you may have in the issue. 📣1617**Security**18- CVE-2026-25645 ``requests.utils.extract_zipped_paths`` now extracts19 contents to a non-deterministic location to prevent malicious file20 replacement. This does not affect default usage of Requests, only21 applications calling the utility function directly.2223**Improvements**24- Migrated to a PEP 517 build system using setuptools. (#7012)2526**Bugfixes**27- Fixed an issue where an empty netrc entry could cause28 malformed authentication to be applied to Requests on29 Python 3.11+. (#7205)3031**Deprecations**32- Dropped support for Python 3.9 following its end of support. (#7196)3334**Documentation**35- Various typo fixes and doc improvements.3637v2.32.5Nate Prewittbefore adoptionb25c87d
lines 38–47why, one step back382.32.5 (2025-08-18)39-------------------4041**Bugfixes**4243- The SSLContext caching feature originally introduced in 2.32.0 has created44 a new class of issues in Requests that have had negative impact across a number45 of use cases. The Requests team has decided to revert this feature as long term46 maintenance of it is proving to be unsustainable in its current iteration.47Add support for Python 3.14 and drop support for Python 3.8 (#6993)Nate Prewittbefore adoption2edca11
lines 48–51why, one step back48**Deprecations**49- Added support for Python 3.14.50- Dropped support for Python 3.8 following its end of support.51Bump version and add release notes for v2.32.4Ian Stapleton Cordascobefore adoption821770e
lines 52–62why, one step back522.32.4 (2025-06-10)53-------------------5455**Security**56- CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted57 environment will retrieve credentials for the wrong hostname/machine from a58 netrc file.5960**Improvements**61- Numerous documentation improvements62Drop pypy 3.9 and add pypy 3.11 supportNate Prewittbefore adoption579cd9f
lines 63–67why, one step back63**Deprecations**64- Added support for pypy 3.11 for Linux and macOS.65- Dropped support for pypy 3.9 following its end of support.6667v2.32.3Nate Prewittbefore adoption0e322af
line 68why, one step back682.32.3 (2024-05-29)Merge pull request #6716 from sigmavirus24/bug/6715Nate Prewittbefore adoption145b539
lines 69–71why, one step back69-------------------7071**Bugfixes**v2.32.3Nate Prewittbefore adoption0e322af
line 72why, one step back72- Fixed bug breaking the ability to specify custom SSLContexts in sub-classes ofMerge pull request #6716 from sigmavirus24/bug/6715Nate Prewittbefore adoption145b539
line 73why, one step back73 HTTPAdapter. (#6716)v2.32.3Nate Prewittbefore adoption0e322af
lines 74–75why, one step back74- Fixed issue where Requests started failing to run on Python versions compiled75 without the `ssl` module. (#6724)Merge pull request #6716 from sigmavirus24/bug/6715Nate Prewittbefore adoption145b539
line 76why, one step back76v2.32.2Nate Prewittbefore adoption88dce9d
lines 77–90why, one step back772.32.2 (2024-05-21)78-------------------7980**Deprecations**81- To provide a more stable migration for custom HTTPAdapters impacted82 by the CVE changes in 2.32.0, we've renamed `_get_connection` to83 a new public API, `get_connection_with_tls_context`. Existing custom84 HTTPAdapters will need to migrate their code to use this new API.85 `get_connection` is considered deprecated in all versions of Requests>=2.32.0.8687 A minimal (2-line) example has been provided in the linked PR to ease88 migration, but we strongly urge users to evaluate if their custom adapter89 is subject to the same issue described in CVE-2024-35195. (#6710)90v2.32.1Nate Prewittbefore adoption970e8ce
lines 91–97why, one step back912.32.1 (2024-05-20)92-------------------9394**Bugfixes**95- Add missing test certs to the sdist distributed on PyPI.9697v2.32.0Nate Prewittbefore adoptiond6ebc4a
lines 98–143why, one step back982.32.0 (2024-05-20)99-------------------100101**Security**102- Fixed an issue where setting `verify=False` on the first request from a103 Session will cause subsequent requests to the _same origin_ to also ignore104 cert verification, regardless of the value of `verify`.105 (https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56)106107**Improvements**108- `verify=True` now reuses a global SSLContext which should improve109 request time variance between first and subsequent requests. It should110 also minimize certificate load time on Windows systems when using a Python111 version built with OpenSSL 3.x. (#6667)112- Requests now supports optional use of character detection113 (`chardet` or `charset_normalizer`) when repackaged or vendored.114 This enables `pip` and other projects to minimize their vendoring115 surface area. The `Response.text()` and `apparent_encoding` APIs116 will default to `utf-8` if neither library is present. (#6702)117118**Bugfixes**119- Fixed bug in length detection where emoji length was incorrectly120 calculated in the request content-length. (#6589)121- Fixed deserialization bug in JSONDecodeError. (#6629)122- Fixed bug where an extra leading `/` (path separator) could lead123 urllib3 to unnecessarily reparse the request URI. (#6644)124125**Deprecations**126127- Requests has officially added support for CPython 3.12 (#6503)128- Requests has officially added support for PyPy 3.9 and 3.10 (#6641)129- Requests has officially dropped support for CPython 3.7 (#6642)130- Requests has officially dropped support for PyPy 3.7 and 3.8 (#6641)131132**Documentation**133- Various typo fixes and doc improvements.134135**Packaging**136- Requests has started adopting some modern packaging practices.137 The source files for the projects (formerly `requests`) is now located138 in `src/requests` in the Requests sdist. (#6506)139- Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build system140 using `hatchling`. This should not impact the average user, but extremely old141 versions of packaging utilities may have issues with the new packaging format.142143v2.31.0Nate Prewittbefore adoption147c851
lines 144–151why, one step back1442.31.0 (2023-05-22)145-------------------146147**Security**148- Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential149 forwarding of `Proxy-Authorization` headers to destination servers when150 following HTTPS redirects.151Merge pull request #6583 from EFord36/fix-broken-linksIan Stapleton Cordascobefore adoptionf3f2611
line 152why, one step back152 When proxies are defined with user info (`https://user:pass@proxy:8080`), Requestsv2.31.0Nate Prewittbefore adoption147c851
lines 153–170why, one step back153 will construct a `Proxy-Authorization` header that is attached to the request to154 authenticate with the proxy.155156 In cases where Requests receives a redirect response, it previously reattached157 the `Proxy-Authorization` header incorrectly, resulting in the value being158 sent through the tunneled connection to the destination server. Users who rely on159 defining their proxy credentials in the URL are *strongly* encouraged to upgrade160 to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy161 credentials once the change has been fully deployed.162163 Users who do not use a proxy or do not supply their proxy credentials through164 the user information portion of their proxy URL are not subject to this165 vulnerability.166167 Full details can be read in our [Github Security Advisory](https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q)168 and [CVE-2023-32681](https://nvd.nist.gov/vuln/detail/CVE-2023-32681).169170v2.30.0Nate Prewittbefore adoption2ad18e0
lines 171–182why, one step back1712.30.0 (2023-05-03)172-------------------173174**Dependencies**175- ⚠️ Added support for urllib3 2.0. ⚠️176177 This may contain minor breaking changes so we advise careful testing and178 reviewing https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html179 prior to upgrading.180181 Users who wish to stay on urllib3 1.x can pin to `urllib3<2`.182v2.29.0Nate Prewittbefore adoption87d63de
lines 183–190why, one step back1832.29.0 (2023-04-26)184-------------------185186**Improvements**187188- Requests now defers chunked requests to the urllib3 implementation to improve189 standardization. (#6226)190- Requests relaxes header component requirements to support bytes/str subclasses. (#6356)Wrap urllib3's SSLError as requests' SSLError (#6057)Nate Prewittbefore adoption95f4567
line 191why, one step back191v2.28.2Nate Prewittbefore adoption61c324d
lines 192–202why, one step back1922.28.2 (2023-01-12)193-------------------194195**Dependencies**196197- Requests now supports charset\_normalizer 3.x. (#6261)198199**Bugfixes**200201- Updated MissingSchema exception to suggest https scheme rather than http. (#6188)202v2.28.1Nate Prewittbefore adoption4d39457
lines 203–214why, one step back2032.28.1 (2022-06-29)204-------------------205206**Improvements**207208- Speed optimization in `iter_content` with transition to `yield from`. (#6170)209210**Dependencies**211212- Added support for chardet 5.0.0 (#6179)213- Added support for charset-normalizer 2.1.0 (#6169)214v2.28.0Nate Prewittbefore adoptionda9996f
lines 215–216why, one step back2152.28.0 (2022-06-09)216-------------------Wrap urllib3's SSLError as requests' SSLError (#6057)Nate Prewittbefore adoption95f4567
line 217why, one step back217Farewell, sweet Concorde!Nate Prewittbefore adoption8bce583
lines 218–219why, one step back218**Deprecations**219v2.28.0Nate Prewittbefore adoptionda9996f
lines 220–237why, one step back220- ⚠️ Requests has officially dropped support for Python 2.7. ⚠️ (#6091)221- Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)222223**Improvements**224225- Wrap JSON parsing issues in Request's JSONDecodeError for payloads without226 an encoding to make `json()` API consistent. (#6097)227- Parse header components consistently, raising an InvalidHeader error in228 all invalid cases. (#6154)229- Added provisional 3.11 support with current beta build. (#6155)230- Requests got a makeover and we decided to paint it black. (#6095)231232**Bugfixes**233234- Fixed bug where setting `CURL_CA_BUNDLE` to an empty string would disable235 cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)236- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.SSLError` with237 `requests.exceptions.SSLError` for `content` and `iter_content`. (#6057)Fixed a small typo (#6452)Syed Saifullahbefore adoptiond3d5044
line 238why, one step back238- Fixed issue where invalid Windows registry entries caused proxy resolutionv2.28.0Nate Prewittbefore adoptionda9996f
lines 239–241why, one step back239 to raise an exception rather than ignoring the entry. (#6149)240- Fixed issue where entire payload could be included in the error message for241 JSONDecodeError. (#6036)Farewell, sweet Concorde!Nate Prewittbefore adoption8bce583
line 242why, one step back242Initialize JsonDecodeError before initializing IOError (#6036)chyzzqo2before adoptionfa1b0a3
lines 243–2041why, one step back2432.27.1 (2022-01-05)244-------------------245246**Bugfixes**247248- Fixed parsing issue that resulted in the `auth` component being249 dropped from proxy URLs. (#6028)2502512.27.0 (2022-01-03)252-------------------253254**Improvements**255256- Officially added support for Python 3.10. (#5928)257258- Added a `requests.exceptions.JSONDecodeError` to unify JSON exceptions between259 Python 2 and 3. This gets raised in the `response.json()` method, and is260 backwards compatible as it inherits from previously thrown exceptions.261 Can be caught from `requests.exceptions.RequestException` as well. (#5856)262263- Improved error text for misnamed `InvalidSchema` and `MissingSchema`264 exceptions. This is a temporary fix until exceptions can be renamed265 (Schema->Scheme). (#6017)266267- Improved proxy parsing for proxy URLs missing a scheme. This will address268 recent changes to `urlparse` in Python 3.9+. (#5917)269270**Bugfixes**271272- Fixed defect in `extract_zipped_paths` which could result in an infinite loop273 for some paths. (#5851)274275- Fixed handling for `AttributeError` when calculating length of files obtained276 by `Tarfile.extractfile()`. (#5239)277278- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.InvalidHeader` with279 `requests.exceptions.InvalidHeader`. (#5914)280281- Fixed bug where two Host headers were sent for chunked requests. (#5391)282283- Fixed regression in Requests 2.26.0 where `Proxy-Authorization` was284 incorrectly stripped from all requests sent with `Session.send`. (#5924)285286- Fixed performance regression in 2.26.0 for hosts with a large number of287 proxies available in the environment. (#5924)288289- Fixed idna exception leak, wrapping `UnicodeError` with290 `requests.exceptions.InvalidURL` for URLs with a leading dot (.) in the291 domain. (#5414)292293**Deprecations**294295- Requests support for Python 2.7 and 3.6 will be ending in 2022. While we296 don't have exact dates, Requests 2.27.x is likely to be the last release297 series providing support.2982992.26.0 (2021-07-13)300-------------------301302**Improvements**303304- Requests now supports Brotli compression, if either the `brotli` or305 `brotlicffi` package is installed. (#5783)306307- `Session.send` now correctly resolves proxy configurations from both308 the Session and Request. Behavior now matches `Session.request`. (#5681)309310**Bugfixes**311312- Fixed a race condition in zip extraction when using Requests in parallel313 from zip archive. (#5707)314315**Dependencies**316317- Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3318 to remove license ambiguity for projects bundling requests. If `chardet`319 is already installed on your machine it will be used instead of `charset_normalizer`320 to keep backwards compatibility. (#5797)321322 You can also install `chardet` while installing requests by323 specifying `[use_chardet_on_py3]` extra as follows:324325 ```shell326 pip install "requests[use_chardet_on_py3]"327 ```328329 Python2 still depends upon the `chardet` module.330331- Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to332 be used on Python 2 installations. (#5711)333334**Deprecations**335336- The `requests[security]` extra has been converted to a no-op install.337 PyOpenSSL is no longer the recommended secure option for Requests. (#5867)338339- Requests has officially dropped support for Python 3.5. (#5867)3403412.25.1 (2020-12-16)342-------------------343344**Bugfixes**345346- Requests now treats `application/json` as `utf8` by default. Resolving347 inconsistencies between `r.text` and `r.json` output. (#5673)348349**Dependencies**350351- Requests now supports chardet v4.x.3523532.25.0 (2020-11-11)354-------------------355356**Improvements**357358- Added support for NETRC environment variable. (#5643)359360**Dependencies**361362- Requests now supports urllib3 v1.26.363364**Deprecations**365366- Requests v2.25.x will be the last release series with support for Python 3.5.367- The `requests[security]` extra is officially deprecated and will be removed368 in Requests v2.26.0.3693702.24.0 (2020-06-17)371-------------------372373**Improvements**374375- pyOpenSSL TLS implementation is now only used if Python376 either doesn't have an `ssl` module or doesn't support377 SNI. Previously pyOpenSSL was unconditionally used if available.378 This applies even if pyOpenSSL is installed via the379 `requests[security]` extra (#5443)380381- Redirect resolution should now only occur when382 `allow_redirects` is True. (#5492)383384- No longer perform unnecessary Content-Length calculation for385 requests that won't use it. (#5496)3863872.23.0 (2020-02-19)388-------------------389390**Improvements**391392- Remove defunct reference to `prefetch` in Session `__attrs__` (#5110)393394**Bugfixes**395396- Requests no longer outputs password in basic auth usage warning. (#5099)397398**Dependencies**399400- Pinning for `chardet` and `idna` now uses major version instead of minor.401 This hopefully reduces the need for releases every time a dependency is updated.4024032.22.0 (2019-05-15)404-------------------405406**Dependencies**407408- Requests now supports urllib3 v1.25.2.409 (note: 1.25.0 and 1.25.1 are incompatible)410411**Deprecations**412413- Requests has officially stopped support for Python 3.4.4144152.21.0 (2018-12-10)416-------------------417418**Dependencies**419420- Requests now supports idna v2.8.4214222.20.1 (2018-11-08)423-------------------424425**Bugfixes**426427- Fixed bug with unintended Authorization header stripping for428 redirects using default ports (http/80, https/443).4294302.20.0 (2018-10-18)431-------------------432433**Bugfixes**434435- Content-Type header parsing is now case-insensitive (e.g.436 charset=utf8 v Charset=utf8).437- Fixed exception leak where certain redirect urls would raise438 uncaught urllib3 exceptions.439- Requests removes Authorization header from requests redirected440 from https to http on the same hostname. (CVE-2018-18074)441- `should_bypass_proxies` now handles URIs without hostnames (e.g.442 files).443444**Dependencies**445446- Requests now supports urllib3 v1.24.447448**Deprecations**449450- Requests has officially stopped support for Python 2.6.4514522.19.1 (2018-06-14)453-------------------454455**Bugfixes**456457- Fixed issue where status\_codes.py's `init` function failed trying458 to append to a `__doc__` value of `None`.4594602.19.0 (2018-06-12)461-------------------462463**Improvements**464465- Warn user about possible slowdown when using cryptography version466 < 1.3.4467- Check for invalid host in proxy URL, before forwarding request to468 adapter.469- Fragments are now properly maintained across redirects. (RFC7231470 7.1.2)471- Removed use of cgi module to expedite library load time.472- Added support for SHA-256 and SHA-512 digest auth algorithms.473- Minor performance improvement to `Request.content`.474- Migrate to using collections.abc for 3.7 compatibility.475476**Bugfixes**477478- Parsing empty `Link` headers with `parse_header_links()` no longer479 return one bogus entry.480- Fixed issue where loading the default certificate bundle from a zip481 archive would raise an `IOError`.482- Fixed issue with unexpected `ImportError` on windows system which do483 not support `winreg` module.484- DNS resolution in proxy bypass no longer includes the username and485 password in the request. This also fixes the issue of DNS queries486 failing on macOS.487- Properly normalize adapter prefixes for url comparison.488- Passing `None` as a file pointer to the `files` param no longer489 raises an exception.490- Calling `copy` on a `RequestsCookieJar` will now preserve the cookie491 policy correctly.492493**Dependencies**494495- We now support idna v2.7.496- We now support urllib3 v1.23.4974982.18.4 (2017-08-15)499-------------------500501**Improvements**502503- Error messages for invalid headers now include the header name for504 easier debugging505506**Dependencies**507508- We now support idna v2.6.5095102.18.3 (2017-08-02)511-------------------512513**Improvements**514515- Running `$ python -m requests.help` now includes the installed516 version of idna.517518**Bugfixes**519520- Fixed issue where Requests would raise `ConnectionError` instead of521 `SSLError` when encountering SSL problems when using urllib3 v1.22.5225232.18.2 (2017-07-25)524-------------------525526**Bugfixes**527528- `requests.help` no longer fails on Python 2.6 due to the absence of529 `ssl.OPENSSL_VERSION_NUMBER`.530531**Dependencies**532533- We now support urllib3 v1.22.5345352.18.1 (2017-06-14)536-------------------537538**Bugfixes**539540- Fix an error in the packaging whereby the `*.whl` contained541 incorrect data that regressed the fix in v2.17.3.5425432.18.0 (2017-06-14)544-------------------545546**Improvements**547548- `Response` is now a context manager, so can be used directly in a549 `with` statement without first having to be wrapped by550 `contextlib.closing()`.551552**Bugfixes**553554- Resolve installation failure if multiprocessing is not available555- Resolve tests crash if multiprocessing is not able to determine the556 number of CPU cores557- Resolve error swallowing in utils set\_environ generator5585592.17.3 (2017-05-29)560-------------------561562**Improvements**563564- Improved `packages` namespace identity support, for monkeypatching565 libraries.5665672.17.2 (2017-05-29)568-------------------569570**Improvements**571572- Improved `packages` namespace identity support, for monkeypatching573 libraries.5745752.17.1 (2017-05-29)576-------------------577578**Improvements**579580- Improved `packages` namespace identity support, for monkeypatching581 libraries.5825832.17.0 (2017-05-29)584-------------------585586**Improvements**587588- Removal of the 301 redirect cache. This improves thread-safety.5895902.16.5 (2017-05-28)591-------------------592593- Improvements to `$ python -m requests.help`.5945952.16.4 (2017-05-27)596-------------------597598- Introduction of the `$ python -m requests.help` command, for599 debugging with maintainers!6006012.16.3 (2017-05-27)602-------------------603604- Further restored the `requests.packages` namespace for compatibility605 reasons.6066072.16.2 (2017-05-27)608-------------------609610- Further restored the `requests.packages` namespace for compatibility611 reasons.612613No code modification (noted below) should be necessary any longer.6146152.16.1 (2017-05-27)616-------------------617618- Restored the `requests.packages` namespace for compatibility619 reasons.620- Bugfix for `urllib3` version parsing.621622**Note**: code that was written to import against the623`requests.packages` namespace previously will have to import code that624rests at this module-level now.625626For example:627628 from requests.packages.urllib3.poolmanager import PoolManager629630Will need to be re-written to be:631632 from requests.packages import urllib3633 urllib3.poolmanager.PoolManager634635Or, even better:636637 from urllib3.poolmanager import PoolManager6386392.16.0 (2017-05-26)640-------------------641642- Unvendor ALL the things!6436442.15.1 (2017-05-26)645-------------------646647- Everyone makes mistakes.6486492.15.0 (2017-05-26)650-------------------651652**Improvements**653654- Introduction of the `Response.next` property, for getting the next655 `PreparedResponse` from a redirect chain (when656 `allow_redirects=False`).657- Internal refactoring of `__version__` module.658659**Bugfixes**660661- Restored once-optional parameter for662 `requests.utils.get_environ_proxies()`.6636642.14.2 (2017-05-10)665-------------------666667**Bugfixes**668669- Changed a less-than to an equal-to and an or in the dependency670 markers to widen compatibility with older setuptools releases.6716722.14.1 (2017-05-09)673-------------------674675**Bugfixes**676677- Changed the dependency markers to widen compatibility with older pip678 releases.6796802.14.0 (2017-05-09)681-------------------682683**Improvements**684685- It is now possible to pass `no_proxy` as a key to the `proxies`686 dictionary to provide handling similar to the `NO_PROXY` environment687 variable.688- When users provide invalid paths to certificate bundle files or689 directories Requests now raises `IOError`, rather than failing at690 the time of the HTTPS request with a fairly inscrutable certificate691 validation error.692- The behavior of `SessionRedirectMixin` was slightly altered.693 `resolve_redirects` will now detect a redirect by calling694 `get_redirect_target(response)` instead of directly querying695 `Response.is_redirect` and `Response.headers['location']`. Advanced696 users will be able to process malformed redirects more easily.697- Changed the internal calculation of elapsed request time to have698 higher resolution on Windows.699- Added `win_inet_pton` as conditional dependency for the `[socks]`700 extra on Windows with Python 2.7.701- Changed the proxy bypass implementation on Windows: the proxy bypass702 check doesn't use forward and reverse DNS requests anymore703- URLs with schemes that begin with `http` but are not `http` or704 `https` no longer have their host parts forced to lowercase.705706**Bugfixes**707708- Much improved handling of non-ASCII `Location` header values in709 redirects. Fewer `UnicodeDecodeErrors` are encountered on Python 2,710 and Python 3 now correctly understands that Latin-1 is unlikely to711 be the correct encoding.712- If an attempt to `seek` file to find out its length fails, we now713 appropriately handle that by aborting our content-length714 calculations.715- Restricted `HTTPDigestAuth` to only respond to auth challenges made716 on 4XX responses, rather than to all auth challenges.717- Fixed some code that was firing `DeprecationWarning` on Python 3.6.718- The dismayed person emoticon (`/o\\`) no longer has a big head. I'm719 sure this is what you were all worrying about most.720721**Miscellaneous**722723- Updated bundled urllib3 to v1.21.1.724- Updated bundled chardet to v3.0.2.725- Updated bundled idna to v2.5.726- Updated bundled certifi to 2017.4.17.7277282.13.0 (2017-01-24)729-------------------730731**Features**732733- Only load the `idna` library when we've determined we need it. This734 will save some memory for users.735736**Miscellaneous**737738- Updated bundled urllib3 to 1.20.739- Updated bundled idna to 2.2.7407412.12.5 (2017-01-18)742-------------------743744**Bugfixes**745746- Fixed an issue with JSON encoding detection, specifically detecting747 big-endian UTF-32 with BOM.7487492.12.4 (2016-12-14)750-------------------751752**Bugfixes**753754- Fixed regression from 2.12.2 where non-string types were rejected in755 the basic auth parameters. While support for this behaviour has been756 re-added, the behaviour is deprecated and will be removed in the757 future.7587592.12.3 (2016-12-01)760-------------------761762**Bugfixes**763764- Fixed regression from v2.12.1 for URLs with schemes that begin with765 "http". These URLs have historically been processed as though they766 were HTTP-schemed URLs, and so have had parameters added. This was767 removed in v2.12.2 in an overzealous attempt to resolve problems768 with IDNA-encoding those URLs. This change was reverted: the other769 fixes for IDNA-encoding have been judged to be sufficient to return770 to the behaviour Requests had before v2.12.0.7717722.12.2 (2016-11-30)773-------------------774775**Bugfixes**776777- Fixed several issues with IDNA-encoding URLs that are technically778 invalid but which are widely accepted. Requests will now attempt to779 IDNA-encode a URL if it can but, if it fails, and the host contains780 only ASCII characters, it will be passed through optimistically.781 This will allow users to opt-in to using IDNA2003 themselves if they782 want to, and will also allow technically invalid but still common783 hostnames.784- Fixed an issue where URLs with leading whitespace would raise785 `InvalidSchema` errors.786- Fixed an issue where some URLs without the HTTP or HTTPS schemes787 would still have HTTP URL preparation applied to them.788- Fixed an issue where Unicode strings could not be used in basic789 auth.790- Fixed an issue encountered by some Requests plugins where791 constructing a Response object would cause `Response.content` to792 raise an `AttributeError`.7937942.12.1 (2016-11-16)795-------------------796797**Bugfixes**798799- Updated setuptools 'security' extra for the new PyOpenSSL backend in800 urllib3.801802**Miscellaneous**803804- Updated bundled urllib3 to 1.19.1.8058062.12.0 (2016-11-15)807-------------------808809**Improvements**810811- Updated support for internationalized domain names from IDNA2003 to812 IDNA2008. This updated support is required for several forms of IDNs813 and is mandatory for .de domains.814- Much improved heuristics for guessing content lengths: Requests will815 no longer read an entire `StringIO` into memory.816- Much improved logic for recalculating `Content-Length` headers for817 `PreparedRequest` objects.818- Improved tolerance for file-like objects that have no `tell` method819 but do have a `seek` method.820- Anything that is a subclass of `Mapping` is now treated like a821 dictionary by the `data=` keyword argument.822- Requests now tolerates empty passwords in proxy credentials, rather823 than stripping the credentials.824- If a request is made with a file-like object as the body and that825 request is redirected with a 307 or 308 status code, Requests will826 now attempt to rewind the body object so it can be replayed.827828**Bugfixes**829830- When calling `response.close`, the call to `close` will be831 propagated through to non-urllib3 backends.832- Fixed issue where the `ALL_PROXY` environment variable would be833 preferred over scheme-specific variables like `HTTP_PROXY`.834- Fixed issue where non-UTF8 reason phrases got severely mangled by835 falling back to decoding using ISO 8859-1 instead.836- Fixed a bug where Requests would not correctly correlate cookies set837 when using custom Host headers if those Host headers did not use the838 native string type for the platform.839840**Miscellaneous**841842- Updated bundled urllib3 to 1.19.843- Updated bundled certifi certs to 2016.09.26.8448452.11.1 (2016-08-17)846-------------------847848**Bugfixes**849850- Fixed a bug when using `iter_content` with `decode_unicode=True` for851 streamed bodies would raise `AttributeError`. This bug was852 introduced in 2.11.853- Strip Content-Type and Transfer-Encoding headers from the header854 block when following a redirect that transforms the verb from855 POST/PUT to GET.8568572.11.0 (2016-08-08)858-------------------859860**Improvements**861862- Added support for the `ALL_PROXY` environment variable.863- Reject header values that contain leading whitespace or newline864 characters to reduce risk of header smuggling.865866**Bugfixes**867868- Fixed occasional `TypeError` when attempting to decode a JSON869 response that occurred in an error case. Now correctly returns a870 `ValueError`.871- Requests would incorrectly ignore a non-CIDR IP address in the872 `NO_PROXY` environment variables: Requests now treats it as a873 specific IP.874- Fixed a bug when sending JSON data that could cause us to encounter875 obscure OpenSSL errors in certain network conditions (yes, really).876- Added type checks to ensure that `iter_content` only accepts877 integers and `None` for chunk sizes.878- Fixed issue where responses whose body had not been fully consumed879 would have the underlying connection closed but not returned to the880 connection pool, which could cause Requests to hang in situations881 where the `HTTPAdapter` had been configured to use a blocking882 connection pool.883884**Miscellaneous**885886- Updated bundled urllib3 to 1.16.887- Some previous releases accidentally accepted non-strings as888 acceptable header values. This release does not.8898902.10.0 (2016-04-29)891-------------------892893**New Features**894895- SOCKS Proxy Support! (requires PySocks;896 `$ pip install requests[socks]`)897898**Miscellaneous**899900- Updated bundled urllib3 to 1.15.1.9019022.9.2 (2016-04-29)903------------------904905**Improvements**906907- Change built-in CaseInsensitiveDict (used for headers) to use908 OrderedDict as its underlying datastore.909910**Bugfixes**911912- Don't use redirect\_cache if allow\_redirects=False913- When passed objects that throw exceptions from `tell()`, send them914 via chunked transfer encoding instead of failing.915- Raise a ProxyError for proxy related connection issues.9169172.9.1 (2015-12-21)918------------------919920**Bugfixes**921922- Resolve regression introduced in 2.9.0 that made it impossible to923 send binary strings as bodies in Python 3.924- Fixed errors when calculating cookie expiration dates in certain925 locales.926927**Miscellaneous**928929- Updated bundled urllib3 to 1.13.1.9309312.9.0 (2015-12-15)932------------------933934**Minor Improvements** (Backwards compatible)935936- The `verify` keyword argument now supports being passed a path to a937 directory of CA certificates, not just a single-file bundle.938- Warnings are now emitted when sending files opened in text mode.939- Added the 511 Network Authentication Required status code to the940 status code registry.941942**Bugfixes**943944- For file-like objects that are not sought to the very beginning, we945 now send the content length for the number of bytes we will actually946 read, rather than the total size of the file, allowing partial file947 uploads.948- When uploading file-like objects, if they are empty or have no949 obvious content length we set `Transfer-Encoding: chunked` rather950 than `Content-Length: 0`.951- We correctly receive the response in buffered mode when uploading952 chunked bodies.953- We now handle being passed a query string as a bytestring on Python954 3, by decoding it as UTF-8.955- Sessions are now closed in all cases (exceptional and not) when956 using the functional API rather than leaking and waiting for the957 garbage collector to clean them up.958- Correctly handle digest auth headers with a malformed `qop`959 directive that contains no token, by treating it the same as if no960 `qop` directive was provided at all.961- Minor performance improvements when removing specific cookies by962 name.963964**Miscellaneous**965966- Updated urllib3 to 1.13.9679682.8.1 (2015-10-13)969------------------970971**Bugfixes**972973- Update certificate bundle to match `certifi` 2015.9.6.2's weak974 certificate bundle.975- Fix a bug in 2.8.0 where requests would raise `ConnectTimeout`976 instead of `ConnectionError`977- When using the PreparedRequest flow, requests will now correctly978 respect the `json` parameter. Broken in 2.8.0.979- When using the PreparedRequest flow, requests will now correctly980 handle a Unicode-string method name on Python 2. Broken in 2.8.0.9819822.8.0 (2015-10-05)983------------------984985**Minor Improvements** (Backwards Compatible)986987- Requests now supports per-host proxies. This allows the `proxies`988 dictionary to have entries of the form989 `{'<scheme>://<hostname>': '<proxy>'}`. Host-specific proxies will990 be used in preference to the previously-supported scheme-specific991 ones, but the previous syntax will continue to work.992- `Response.raise_for_status` now prints the URL that failed as part993 of the exception message.994- `requests.utils.get_netrc_auth` now takes an `raise_errors` kwarg,995 defaulting to `False`. When `True`, errors parsing `.netrc` files996 cause exceptions to be thrown.997- Change to bundled projects import logic to make it easier to998 unbundle requests downstream.999- Changed the default User-Agent string to avoid leaking data on1000 Linux: now contains only the requests version.10011002**Bugfixes**10031004- The `json` parameter to `post()` and friends will now only be used1005 if neither `data` nor `files` are present, consistent with the1006 documentation.1007- We now ignore empty fields in the `NO_PROXY` environment variable.1008- Fixed problem where `httplib.BadStatusLine` would get raised if1009 combining `stream=True` with `contextlib.closing`.1010- Prevented bugs where we would attempt to return the same connection1011 back to the connection pool twice when sending a Chunked body.1012- Miscellaneous minor internal changes.1013- Digest Auth support is now thread safe.10141015**Updates**10161017- Updated urllib3 to 1.12.101810192.7.0 (2015-05-03)1020------------------10211022This is the first release that follows our new release process. For1023more, see [our1024documentation](https://requests.readthedocs.io/en/latest/community/release-process/).10251026**Bugfixes**10271028- Updated urllib3 to 1.10.4, resolving several bugs involving chunked1029 transfer encoding and response framing.103010312.6.2 (2015-04-23)1032------------------10331034**Bugfixes**10351036- Fix regression where compressed data that was sent as chunked data1037 was not properly decompressed. (\#2561)103810392.6.1 (2015-04-22)1040------------------10411042**Bugfixes**10431044- Remove VendorAlias import machinery introduced in v2.5.2.1045- Simplify the PreparedRequest.prepare API: We no longer require the1046 user to pass an empty list to the hooks keyword argument. (c.f.1047 \#2552)1048- Resolve redirects now receives and forwards all of the original1049 arguments to the adapter. (\#2503)1050- Handle UnicodeDecodeErrors when trying to deal with a unicode URL1051 that cannot be encoded in ASCII. (\#2540)1052- Populate the parsed path of the URI field when performing Digest1053 Authentication. (\#2426)1054- Copy a PreparedRequest's CookieJar more reliably when it is not an1055 instance of RequestsCookieJar. (\#2527)105610572.6.0 (2015-03-14)1058------------------10591060**Bugfixes**10611062- CVE-2015-2296: Fix handling of cookies on redirect. Previously a1063 cookie without a host value set would use the hostname for the1064 redirected URL exposing requests users to session fixation attacks1065 and potentially cookie stealing. This was disclosed privately by1066 Matthew Daley of [BugFuzz](https://bugfuzz.com). This affects all1067 versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).1068- Fix error when requests is an `install_requires` dependency and1069 `python setup.py test` is run. (\#2462)1070- Fix error when urllib3 is unbundled and requests continues to use1071 the vendored import location.1072- Include fixes to `urllib3`'s header handling.1073- Requests' handling of unvendored dependencies is now more1074 restrictive.10751076**Features and Improvements**10771078- Support bytearrays when passed as parameters in the `files`1079 argument. (\#2468)1080- Avoid data duplication when creating a request with `str`, `bytes`,1081 or `bytearray` input to the `files` argument.108210832.5.3 (2015-02-24)1084------------------10851086**Bugfixes**10871088- Revert changes to our vendored certificate bundle. For more context1089 see (\#2455, \#2456, and <https://bugs.python.org/issue23476>)109010912.5.2 (2015-02-23)1092------------------10931094**Features and Improvements**10951096- Add sha256 fingerprint support.1097 ([shazow/urllib3\#540](https://github.com/shazow/urllib3/pull/540))1098- Improve the performance of headers.1099 ([shazow/urllib3\#544](https://github.com/shazow/urllib3/pull/544))11001101**Bugfixes**11021103- Copy pip's import machinery. When downstream redistributors remove1104 requests.packages.urllib3 the import machinery will continue to let1105 those same symbols work. Example usage in requests' documentation1106 and 3rd-party libraries relying on the vendored copies of urllib31107 will work without having to fallback to the system urllib3.1108- Attempt to quote parts of the URL on redirect if unquoting and then1109 quoting fails. (\#2356)1110- Fix filename type check for multipart form-data uploads. (\#2411)1111- Properly handle the case where a server issuing digest1112 authentication challenges provides both auth and auth-int1113 qop-values. (\#2408)1114- Fix a socket leak.1115 ([shazow/urllib3\#549](https://github.com/shazow/urllib3/pull/549))1116- Fix multiple `Set-Cookie` headers properly.1117 ([shazow/urllib3\#534](https://github.com/shazow/urllib3/pull/534))1118- Disable the built-in hostname verification.1119 ([shazow/urllib3\#526](https://github.com/shazow/urllib3/pull/526))1120- Fix the behaviour of decoding an exhausted stream.1121 ([shazow/urllib3\#535](https://github.com/shazow/urllib3/pull/535))11221123**Security**11241125- Pulled in an updated `cacert.pem`.1126- Drop RC4 from the default cipher list.1127 ([shazow/urllib3\#551](https://github.com/shazow/urllib3/pull/551))112811292.5.1 (2014-12-23)1130------------------11311132**Behavioural Changes**11331134- Only catch HTTPErrors in raise\_for\_status (\#2382)11351136**Bugfixes**11371138- Handle LocationParseError from urllib3 (\#2344)1139- Handle file-like object filenames that are not strings (\#2379)1140- Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated1141 (\#2389)114211432.5.0 (2014-12-01)1144------------------11451146**Improvements**11471148- Allow usage of urllib3's Retry object with HTTPAdapters (\#2216)1149- The `iter_lines` method on a response now accepts a delimiter with1150 which to split the content (\#2295)11511152**Behavioural Changes**11531154- Add deprecation warnings to functions in requests.utils that will be1155 removed in 3.0 (\#2309)1156- Sessions used by the functional API are always closed (\#2326)1157- Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9)1158 (\#2323)11591160**Bugfixes**11611162- Only parse the URL once (\#2353)1163- Allow Content-Length header to always be overridden (\#2332)1164- Properly handle files in HTTPDigestAuth (\#2333)1165- Cap redirect\_cache size to prevent memory abuse (\#2299)1166- Fix HTTPDigestAuth handling of redirects after authenticating1167 successfully (\#2253)1168- Fix crash with custom method parameter to Session.request (\#2317)1169- Fix how Link headers are parsed using the regular expression library1170 (\#2271)11711172**Documentation**11731174- Add more references for interlinking (\#2348)1175- Update CSS for theme (\#2290)1176- Update width of buttons and sidebar (\#2289)1177- Replace references of Gittip with Gratipay (\#2282)1178- Add link to changelog in sidebar (\#2273)117911802.4.3 (2014-10-06)1181------------------11821183**Bugfixes**11841185- Unicode URL improvements for Python 2.1186- Re-order JSON param for backwards compat.1187- Automatically defrag authentication schemes from host/pass URIs.1188 ([\#2249](https://github.com/psf/requests/issues/2249))118911902.4.2 (2014-10-05)1191------------------11921193**Improvements**11941195- FINALLY! Add json parameter for uploads!1196 ([\#2258](https://github.com/psf/requests/pull/2258))1197- Support for bytestring URLs on Python 3.x1198 ([\#2238](https://github.com/psf/requests/pull/2238))11991200**Bugfixes**12011202- Avoid getting stuck in a loop1203 ([\#2244](https://github.com/psf/requests/pull/2244))1204- Multiple calls to iter\* fail with unhelpful error.1205 ([\#2240](https://github.com/psf/requests/issues/2240),1206 [\#2241](https://github.com/psf/requests/issues/2241))12071208**Documentation**12091210- Correct redirection introduction1211 ([\#2245](https://github.com/psf/requests/pull/2245/))1212- Added example of how to send multiple files in one request.1213 ([\#2227](https://github.com/psf/requests/pull/2227/))1214- Clarify how to pass a custom set of CAs1215 ([\#2248](https://github.com/psf/requests/pull/2248/))121612172.4.1 (2014-09-09)1218------------------12191220- Now has a "security" package extras set,1221 `$ pip install requests[security]`1222- Requests will now use Certifi if it is available.1223- Capture and re-raise urllib3 ProtocolError1224- Bugfix for responses that attempt to redirect to themselves forever1225 (wtf?).122612272.4.0 (2014-08-29)1228------------------12291230**Behavioral Changes**12311232- `Connection: keep-alive` header is now sent automatically.12331234**Improvements**12351236- Support for connect timeouts! Timeout now accepts a tuple (connect,1237 read) which is used to set individual connect and read timeouts.1238- Allow copying of PreparedRequests without headers/cookies.1239- Updated bundled urllib3 version.1240- Refactored settings loading from environment -- new1241 Session.merge\_environment\_settings.1242- Handle socket errors in iter\_content.124312442.3.0 (2014-05-16)1245------------------12461247**API Changes**12481249- New `Response` property `is_redirect`, which is true when the1250 library could have processed this response as a redirection (whether1251 or not it actually did).1252- The `timeout` parameter now affects requests with both `stream=True`1253 and `stream=False` equally.1254- The change in v2.0.0 to mandate explicit proxy schemes has been1255 reverted. Proxy schemes now default to `http://`.1256- The `CaseInsensitiveDict` used for HTTP headers now behaves like a1257 normal dictionary when references as string or viewed in the1258 interpreter.12591260**Bugfixes**12611262- No longer expose Authorization or Proxy-Authorization headers on1263 redirect. Fix CVE-2014-1829 and CVE-2014-1830 respectively.1264- Authorization is re-evaluated each redirect.1265- On redirect, pass url as native strings.1266- Fall-back to autodetected encoding for JSON when Unicode detection1267 fails.1268- Headers set to `None` on the `Session` are now correctly not sent.1269- Correctly honor `decode_unicode` even if it wasn't used earlier in1270 the same response.1271- Stop advertising `compress` as a supported Content-Encoding.1272- The `Response.history` parameter is now always a list.1273- Many, many `urllib3` bugfixes.127412752.2.1 (2014-01-23)1276------------------12771278**Bugfixes**12791280- Fixes incorrect parsing of proxy credentials that contain a literal1281 or encoded '\#' character.1282- Assorted urllib3 fixes.128312842.2.0 (2014-01-09)1285------------------12861287**API Changes**12881289- New exception: `ContentDecodingError`. Raised instead of `urllib3`1290 `DecodeError` exceptions.12911292**Bugfixes**12931294- Avoid many many exceptions from the buggy implementation of1295 `proxy_bypass` on OS X in Python 2.6.1296- Avoid crashing when attempting to get authentication credentials1297 from \~/.netrc when running as a user without a home directory.1298- Use the correct pool size for pools of connections to proxies.1299- Fix iteration of `CookieJar` objects.1300- Ensure that cookies are persisted over redirect.1301- Switch back to using chardet, since it has merged with charade.130213032.1.0 (2013-12-05)1304------------------13051306- Updated CA Bundle, of course.1307- Cookies set on individual Requests through a `Session` (e.g. via1308 `Session.get()`) are no longer persisted to the `Session`.1309- Clean up connections when we hit problems during chunked upload,1310 rather than leaking them.1311- Return connections to the pool when a chunked upload is successful,1312 rather than leaking it.1313- Match the HTTPbis recommendation for HTTP 301 redirects.1314- Prevent hanging when using streaming uploads and Digest Auth when a1315 401 is received.1316- Values of headers set by Requests are now always the native string1317 type.1318- Fix previously broken SNI support.1319- Fix accessing HTTP proxies using proxy authentication.1320- Unencode HTTP Basic usernames and passwords extracted from URLs.1321- Support for IP address ranges for no\_proxy environment variable1322- Parse headers correctly when users override the default `Host:`1323 header.1324- Avoid munging the URL in case of case-sensitive servers.1325- Looser URL handling for non-HTTP/HTTPS urls.1326- Accept unicode methods in Python 2.6 and 2.7.1327- More resilient cookie handling.1328- Make `Response` objects pickleable.1329- Actually added MD5-sess to Digest Auth instead of pretending to like1330 last time.1331- Updated internal urllib3.1332- Fixed @Lukasa's lack of taste.133313342.0.1 (2013-10-24)1335------------------13361337- Updated included CA Bundle with new mistrusts and automated process1338 for the future1339- Added MD5-sess to Digest Auth1340- Accept per-file headers in multipart file POST messages.1341- Fixed: Don't send the full URL on CONNECT messages.1342- Fixed: Correctly lowercase a redirect scheme.1343- Fixed: Cookies not persisted when set via functional API.1344- Fixed: Translate urllib3 ProxyError into a requests ProxyError1345 derived from ConnectionError.1346- Updated internal urllib3 and chardet.134713482.0.0 (2013-09-24)1349------------------13501351**API Changes:**13521353- Keys in the Headers dictionary are now native strings on all Python1354 versions, i.e. bytestrings on Python 2, unicode on Python 3.1355- Proxy URLs now *must* have an explicit scheme. A `MissingSchema`1356 exception will be raised if they don't.1357- Timeouts now apply to read time if `Stream=False`.1358- `RequestException` is now a subclass of `IOError`, not1359 `RuntimeError`.1360- Added new method to `PreparedRequest` objects:1361 `PreparedRequest.copy()`.1362- Added new method to `Session` objects: `Session.update_request()`.1363 This method updates a `Request` object with the data (e.g. cookies)1364 stored on the `Session`.1365- Added new method to `Session` objects: `Session.prepare_request()`.1366 This method updates and prepares a `Request` object, and returns the1367 corresponding `PreparedRequest` object.1368- Added new method to `HTTPAdapter` objects:1369 `HTTPAdapter.proxy_headers()`. This should not be called directly,1370 but improves the subclass interface.1371- `httplib.IncompleteRead` exceptions caused by incorrect chunked1372 encoding will now raise a Requests `ChunkedEncodingError` instead.1373- Invalid percent-escape sequences now cause a Requests `InvalidURL`1374 exception to be raised.1375- HTTP 208 no longer uses reason phrase `"im_used"`. Correctly uses1376 `"already_reported"`.1377- HTTP 226 reason added (`"im_used"`).13781379**Bugfixes:**13801381- Vastly improved proxy support, including the CONNECT verb. Special1382 thanks to the many contributors who worked towards this improvement.1383- Cookies are now properly managed when 401 authentication responses1384 are received.1385- Chunked encoding fixes.1386- Support for mixed case schemes.1387- Better handling of streaming downloads.1388- Retrieve environment proxies from more locations.1389- Minor cookies fixes.1390- Improved redirect behaviour.1391- Improved streaming behaviour, particularly for compressed data.1392- Miscellaneous small Python 3 text encoding bugs.1393- `.netrc` no longer overrides explicit auth.1394- Cookies set by hooks are now correctly persisted on Sessions.1395- Fix problem with cookies that specify port numbers in their host1396 field.1397- `BytesIO` can be used to perform streaming uploads.1398- More generous parsing of the `no_proxy` environment variable.1399- Non-string objects can be passed in data values alongside files.140014011.2.3 (2013-05-25)1402------------------14031404- Simple packaging fix140514061.2.2 (2013-05-23)1407------------------14081409- Simple packaging fix141014111.2.1 (2013-05-20)1412------------------14131414- 301 and 302 redirects now change the verb to GET for all verbs, not1415 just POST, improving browser compatibility.1416- Python 3.3.2 compatibility1417- Always percent-encode location headers1418- Fix connection adapter matching to be most-specific first1419- new argument to the default connection adapter for passing a block1420 argument1421- prevent a KeyError when there's no link headers142214231.2.0 (2013-03-31)1424------------------14251426- Fixed cookies on sessions and on requests1427- Significantly change how hooks are dispatched - hooks now receive1428 all the arguments specified by the user when making a request so1429 hooks can make a secondary request with the same parameters. This is1430 especially necessary for authentication handler authors1431- certifi support was removed1432- Fixed bug where using OAuth 1 with body `signature_type` sent no1433 data1434- Major proxy work thanks to @Lukasa including parsing of proxy1435 authentication from the proxy url1436- Fix DigestAuth handling too many 401s1437- Update vendored urllib3 to include SSL bug fixes1438- Allow keyword arguments to be passed to `json.loads()` via the1439 `Response.json()` method1440- Don't send `Content-Length` header by default on `GET` or `HEAD`1441 requests1442- Add `elapsed` attribute to `Response` objects to time how long a1443 request took.1444- Fix `RequestsCookieJar`1445- Sessions and Adapters are now picklable, i.e., can be used with the1446 multiprocessing library1447- Update charade to version 1.0.314481449The change in how hooks are dispatched will likely cause a great deal of1450issues.145114521.1.0 (2013-01-10)1453------------------14541455- CHUNKED REQUESTS1456- Support for iterable response bodies1457- Assume servers persist redirect params1458- Allow explicit content types to be specified for file data1459- Make merge\_kwargs case-insensitive when looking up keys146014611.0.3 (2012-12-18)1462------------------14631464- Fix file upload encoding bug1465- Fix cookie behavior146614671.0.2 (2012-12-17)1468------------------14691470- Proxy fix for HTTPAdapter.147114721.0.1 (2012-12-17)1473------------------14741475- Cert verification exception bug.1476- Proxy fix for HTTPAdapter.147714781.0.0 (2012-12-17)1479------------------14801481- Massive Refactor and Simplification1482- Switch to Apache 2.0 license1483- Swappable Connection Adapters1484- Mountable Connection Adapters1485- Mutable ProcessedRequest chain1486- /s/prefetch/stream1487- Removal of all configuration1488- Standard library logging1489- Make Response.json() callable, not property.1490- Usage of new charade project, which provides python 2 and 31491 simultaneous chardet.1492- Removal of all hooks except 'response'1493- Removal of all authentication helpers (OAuth, Kerberos)14941495This is not a backwards compatible change.149614970.14.2 (2012-10-27)1498-------------------14991500- Improved mime-compatible JSON handling1501- Proxy fixes1502- Path hack fixes1503- Case-Insensitive Content-Encoding headers1504- Support for CJK parameters in form posts150515060.14.1 (2012-10-01)1507-------------------15081509- Python 3.3 Compatibility1510- Simply default accept-encoding1511- Bugfixes151215130.14.0 (2012-09-02)1514-------------------15151516- No more iter\_content errors if already downloaded.151715180.13.9 (2012-08-25)1519-------------------15201521- Fix for OAuth + POSTs1522- Remove exception eating from dispatch\_hook1523- General bugfixes152415250.13.8 (2012-08-21)1526-------------------15271528- Incredible Link header support :)152915300.13.7 (2012-08-19)1531-------------------15321533- Support for (key, value) lists everywhere.1534- Digest Authentication improvements.1535- Ensure proxy exclusions work properly.1536- Clearer UnicodeError exceptions.1537- Automatic casting of URLs to strings (fURL and such)1538- Bugfixes.153915400.13.6 (2012-08-06)1541-------------------15421543- Long awaited fix for hanging connections!154415450.13.5 (2012-07-27)1546-------------------15471548- Packaging fix154915500.13.4 (2012-07-27)1551-------------------15521553- GSSAPI/Kerberos authentication!1554- App Engine 2.7 Fixes!1555- Fix leaking connections (from urllib3 update)1556- OAuthlib path hack fix1557- OAuthlib URL parameters fix.155815590.13.3 (2012-07-12)1560-------------------15611562- Use simplejson if available.1563- Do not hide SSLErrors behind Timeouts.1564- Fixed param handling with urls containing fragments.1565- Significantly improved information in User Agent.1566- client certificates are ignored when verify=False156715680.13.2 (2012-06-28)1569-------------------15701571- Zero dependencies (once again)!1572- New: Response.reason1573- Sign querystring parameters in OAuth 1.01574- Client certificates no longer ignored when verify=False1575- Add openSUSE certificate support157615770.13.1 (2012-06-07)1578-------------------15791580- Allow passing a file or file-like object as data.1581- Allow hooks to return responses that indicate errors.1582- Fix Response.text and Response.json for body-less responses.158315840.13.0 (2012-05-29)1585-------------------15861587- Removal of Requests.async in favor of1588 [grequests](https://github.com/kennethreitz/grequests)1589- Allow disabling of cookie persistence.1590- New implementation of safe\_mode1591- cookies.get now supports default argument1592- Session cookies not saved when Session.request is called with1593 return\_response=False1594- Env: no\_proxy support.1595- RequestsCookieJar improvements.1596- Various bug fixes.159715980.12.1 (2012-05-08)1599-------------------16001601- New `Response.json` property.1602- Ability to add string file uploads.1603- Fix out-of-range issue with iter\_lines.1604- Fix iter\_content default size.1605- Fix POST redirects containing files.160616070.12.0 (2012-05-02)1608-------------------16091610- EXPERIMENTAL OAUTH SUPPORT!1611- Proper CookieJar-backed cookies interface with awesome dict-like1612 interface.1613- Speed fix for non-iterated content chunks.1614- Move `pre_request` to a more usable place.1615- New `pre_send` hook.1616- Lazily encode data, params, files.1617- Load system Certificate Bundle if `certify` isn't available.1618- Cleanups, fixes.161916200.11.2 (2012-04-22)1621-------------------16221623- Attempt to use the OS's certificate bundle if `certifi` isn't1624 available.1625- Infinite digest auth redirect fix.1626- Multi-part file upload improvements.1627- Fix decoding of invalid %encodings in URLs.1628- If there is no content in a response don't throw an error the second1629 time that content is attempted to be read.1630- Upload data on redirects.163116320.11.1 (2012-03-30)1633-------------------16341635- POST redirects now break RFC to do what browsers do: Follow up with1636 a GET.1637- New `strict_mode` configuration to disable new redirect behavior.163816390.11.0 (2012-03-14)1640-------------------16411642- Private SSL Certificate support1643- Remove select.poll from Gevent monkeypatching1644- Remove redundant generator for chunked transfer encoding1645- Fix: Response.ok raises Timeout Exception in safe\_mode164616470.10.8 (2012-03-09)1648-------------------16491650- Generate chunked ValueError fix1651- Proxy configuration by environment variables1652- Simplification of iter\_lines.1653- New trust\_env configuration for disabling system/environment hints.1654- Suppress cookie errors.165516560.10.7 (2012-03-07)1657-------------------16581659- encode\_uri = False166016610.10.6 (2012-02-25)1662-------------------16631664- Allow '=' in cookies.166516660.10.5 (2012-02-25)1667-------------------16681669- Response body with 0 content-length fix.1670- New async.imap.1671- Don't fail on netrc.167216730.10.4 (2012-02-20)1674-------------------16751676- Honor netrc.167716780.10.3 (2012-02-20)1679-------------------16801681- HEAD requests don't follow redirects anymore.1682- raise\_for\_status() doesn't raise for 3xx anymore.1683- Make Session objects picklable.1684- ValueError for invalid schema URLs.168516860.10.2 (2012-01-15)1687-------------------16881689- Vastly improved URL quoting.1690- Additional allowed cookie key values.1691- Attempted fix for "Too many open files" Error1692- Replace unicode errors on first pass, no need for second pass.1693- Append '/' to bare-domain urls before query insertion.1694- Exceptions now inherit from RuntimeError.1695- Binary uploads + auth fix.1696- Bugfixes.169716980.10.1 (2012-01-23)1699-------------------17001701- PYTHON 3 SUPPORT!1702- Dropped 2.5 Support. (*Backwards Incompatible*)170317040.10.0 (2012-01-21)1705-------------------17061707- `Response.content` is now bytes-only. (*Backwards Incompatible*)1708- New `Response.text` is unicode-only.1709- If no `Response.encoding` is specified and `chardet` is available,1710 `Response.text` will guess an encoding.1711- Default to ISO-8859-1 (Western) encoding for "text" subtypes.1712- Removal of decode\_unicode. (*Backwards Incompatible*)1713- New multiple-hooks system.1714- New `Response.register_hook` for registering hooks within the1715 pipeline.1716- `Response.url` is now Unicode.171717180.9.3 (2012-01-18)1719------------------17201721- SSL verify=False bugfix (apparent on windows machines).172217230.9.2 (2012-01-18)1724------------------17251726- Asynchronous async.send method.1727- Support for proper chunk streams with boundaries.1728- session argument for Session classes.1729- Print entire hook tracebacks, not just exception instance.1730- Fix response.iter\_lines from pending next line.1731- Fix but in HTTP-digest auth w/ URI having query strings.1732- Fix in Event Hooks section.1733- Urllib3 update.173417350.9.1 (2012-01-06)1736------------------17371738- danger\_mode for automatic Response.raise\_for\_status()1739- Response.iter\_lines refactor174017410.9.0 (2011-12-28)1742------------------17431744- verify ssl is default.174517460.8.9 (2011-12-28)1747------------------17481749- Packaging fix.175017510.8.8 (2011-12-28)1752------------------17531754- SSL CERT VERIFICATION!1755- Release of Cerifi: Mozilla's cert list.1756- New 'verify' argument for SSL requests.1757- Urllib3 update.175817590.8.7 (2011-12-24)1760------------------17611762- iter\_lines last-line truncation fix1763- Force safe\_mode for async requests1764- Handle safe\_mode exceptions more consistently1765- Fix iteration on null responses in safe\_mode176617670.8.6 (2011-12-18)1768------------------17691770- Socket timeout fixes.1771- Proxy Authorization support.177217730.8.5 (2011-12-14)1774------------------17751776- Response.iter\_lines!177717780.8.4 (2011-12-11)1779------------------17801781- Prefetch bugfix.1782- Added license to installed version.178317840.8.3 (2011-11-27)1785------------------17861787- Converted auth system to use simpler callable objects.1788- New session parameter to API methods.1789- Display full URL while logging.179017910.8.2 (2011-11-19)1792------------------17931794- New Unicode decoding system, based on over-ridable1795 Response.encoding.1796- Proper URL slash-quote handling.1797- Cookies with `[`, `]`, and `_` allowed.179817990.8.1 (2011-11-15)1800------------------18011802- URL Request path fix1803- Proxy fix.1804- Timeouts fix.180518060.8.0 (2011-11-13)1807------------------18081809- Keep-alive support!1810- Complete removal of Urllib21811- Complete removal of Poster1812- Complete removal of CookieJars1813- New ConnectionError raising1814- Safe\_mode for error catching1815- prefetch parameter for request methods1816- OPTION method1817- Async pool size throttling1818- File uploads send real names1819- Vendored in urllib3182018210.7.6 (2011-11-07)1822------------------18231824- Digest authentication bugfix (attach query data to path)182518260.7.5 (2011-11-04)1827------------------18281829- Response.content = None if there was an invalid response.1830- Redirection auth handling.183118320.7.4 (2011-10-26)1833------------------18341835- Session Hooks fix.183618370.7.3 (2011-10-23)1838------------------18391840- Digest Auth fix.184118420.7.2 (2011-10-23)1843------------------18441845- PATCH Fix.184618470.7.1 (2011-10-23)1848------------------18491850- Move away from urllib2 authentication handling.1851- Fully Remove AuthManager, AuthObject, &c.1852- New tuple-based auth system with handler callbacks.185318540.7.0 (2011-10-22)1855------------------18561857- Sessions are now the primary interface.1858- Deprecated InvalidMethodException.1859- PATCH fix.1860- New config system (no more global settings).186118620.6.6 (2011-10-19)1863------------------18641865- Session parameter bugfix (params merging).186618670.6.5 (2011-10-18)1868------------------18691870- Offline (fast) test suite.1871- Session dictionary argument merging.187218730.6.4 (2011-10-13)1874------------------18751876- Automatic decoding of unicode, based on HTTP Headers.1877- New `decode_unicode` setting.1878- Removal of `r.read/close` methods.1879- New `r.faw` interface for advanced response usage.\*1880- Automatic expansion of parameterized headers.188118820.6.3 (2011-10-13)1883------------------18841885- Beautiful `requests.async` module, for making async requests w/1886 gevent.188718880.6.2 (2011-10-09)1889------------------18901891- GET/HEAD obeys allow\_redirects=False.189218930.6.1 (2011-08-20)1894------------------18951896- Enhanced status codes experience `\o/`1897- Set a maximum number of redirects (`settings.max_redirects`)1898- Full Unicode URL support1899- Support for protocol-less redirects.1900- Allow for arbitrary request types.1901- Bugfixes190219030.6.0 (2011-08-17)1904------------------19051906- New callback hook system1907- New persistent sessions object and context manager1908- Transparent Dict-cookie handling1909- Status code reference object1910- Removed Response.cached1911- Added Response.request1912- All args are kwargs1913- Relative redirect support1914- HTTPError handling improvements1915- Improved https testing1916- Bugfixes191719180.5.1 (2011-07-23)1919------------------19201921- International Domain Name Support!1922- Access headers without fetching entire body (`read()`)1923- Use lists as dicts for parameters1924- Add Forced Basic Authentication1925- Forced Basic is default authentication type1926- `python-requests.org` default User-Agent header1927- CaseInsensitiveDict lower-case caching1928- Response.history bugfix192919300.5.0 (2011-06-21)1931------------------19321933- PATCH Support1934- Support for Proxies1935- HTTPBin Test Suite1936- Redirect Fixes1937- settings.verbose stream writing1938- Querystrings for all methods1939- URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as1940 explicitly raised1941 `r.requests.get('hwe://blah'); r.raise_for_status()`194219430.4.1 (2011-05-22)1944------------------19451946- Improved Redirection Handling1947- New 'allow\_redirects' param for following non-GET/HEAD Redirects1948- Settings module refactoring194919500.4.0 (2011-05-15)1951------------------19521953- Response.history: list of redirected responses1954- Case-Insensitive Header Dictionaries!1955- Unicode URLs195619570.3.4 (2011-05-14)1958------------------19591960- Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)1961- Internal Refactor1962- Bytes data upload Bugfix196319640.3.3 (2011-05-12)1965------------------19661967- Request timeouts1968- Unicode url-encoded data1969- Settings context manager and module197019710.3.2 (2011-04-15)1972------------------19731974- Automatic Decompression of GZip Encoded Content1975- AutoAuth Support for Tupled HTTP Auth197619770.3.1 (2011-04-01)1978------------------19791980- Cookie Changes1981- Response.read()1982- Poster fix198319840.3.0 (2011-02-25)1985------------------19861987- Automatic Authentication API Change1988- Smarter Query URL Parameterization1989- Allow file uploads and POST data together1990-19911992 New Authentication Manager System19931994 : - Simpler Basic HTTP System1995 - Supports all built-in urllib2 Auths1996 - Allows for custom Auth Handlers199719980.2.4 (2011-02-19)1999------------------2000The first 2,000 of 2,041 lines.