HISTORY.rst 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989
  1. .. :changelog:
  2. Release History
  3. ---------------
  4. 2.6.0 (2015-03-14)
  5. ++++++++++++++++++
  6. **Bugfixes**
  7. - Fix handling of cookies on redirect. Previously a cookie without a host
  8. value set would use the hostname for the redirected URL exposing requests
  9. users to session fixation attacks and potentially cookie stealing. This was
  10. disclosed privately by Matthew Daley of `BugFuzz <https://bugfuzz.com>`_.
  11. An CVE identifier has not yet been assigned for this. This affects all
  12. versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).
  13. - Fix error when requests is an ``install_requires`` dependency and ``python
  14. setup.py test`` is run. (#2462)
  15. - Fix error when urllib3 is unbundled and requests continues to use the
  16. vendored import location.
  17. - Include fixes to ``urllib3``'s header handling.
  18. - Requests' handling of unvendored dependencies is now more restrictive.
  19. **Features and Improvements**
  20. - Support bytearrays when passed as parameters in the ``files`` argument.
  21. (#2468)
  22. - Avoid data duplication when creating a request with ``str``, ``bytes``, or
  23. ``bytearray`` input to the ``files`` argument.
  24. 2.5.3 (2015-02-24)
  25. ++++++++++++++++++
  26. **Bugfixes**
  27. - Revert changes to our vendored certificate bundle. For more context see
  28. (#2455, #2456, and http://bugs.python.org/issue23476)
  29. 2.5.2 (2015-02-23)
  30. ++++++++++++++++++
  31. **Features and Improvements**
  32. - Add sha256 fingerprint support. (`shazow/urllib3#540`_)
  33. - Improve the performance of headers. (`shazow/urllib3#544`_)
  34. **Bugfixes**
  35. - Copy pip's import machinery. When downstream redistributors remove
  36. requests.packages.urllib3 the import machinery will continue to let those
  37. same symbols work. Example usage in requests' documentation and 3rd-party
  38. libraries relying on the vendored copies of urllib3 will work without having
  39. to fallback to the system urllib3.
  40. - Attempt to quote parts of the URL on redirect if unquoting and then quoting
  41. fails. (#2356)
  42. - Fix filename type check for multipart form-data uploads. (#2411)
  43. - Properly handle the case where a server issuing digest authentication
  44. challenges provides both auth and auth-int qop-values. (#2408)
  45. - Fix a socket leak. (`shazow/urllib3#549`_)
  46. - Fix multiple ``Set-Cookie`` headers properly. (`shazow/urllib3#534`_)
  47. - Disable the built-in hostname verification. (`shazow/urllib3#526`_)
  48. - Fix the behaviour of decoding an exhausted stream. (`shazow/urllib3#535`_)
  49. **Security**
  50. - Pulled in an updated ``cacert.pem``.
  51. - Drop RC4 from the default cipher list. (`shazow/urllib3#551`_)
  52. .. _shazow/urllib3#551: https://github.com/shazow/urllib3/pull/551
  53. .. _shazow/urllib3#549: https://github.com/shazow/urllib3/pull/549
  54. .. _shazow/urllib3#544: https://github.com/shazow/urllib3/pull/544
  55. .. _shazow/urllib3#540: https://github.com/shazow/urllib3/pull/540
  56. .. _shazow/urllib3#535: https://github.com/shazow/urllib3/pull/535
  57. .. _shazow/urllib3#534: https://github.com/shazow/urllib3/pull/534
  58. .. _shazow/urllib3#526: https://github.com/shazow/urllib3/pull/526
  59. 2.5.1 (2014-12-23)
  60. ++++++++++++++++++
  61. **Behavioural Changes**
  62. - Only catch HTTPErrors in raise_for_status (#2382)
  63. **Bugfixes**
  64. - Handle LocationParseError from urllib3 (#2344)
  65. - Handle file-like object filenames that are not strings (#2379)
  66. - Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated (#2389)
  67. 2.5.0 (2014-12-01)
  68. ++++++++++++++++++
  69. **Improvements**
  70. - Allow usage of urllib3's Retry object with HTTPAdapters (#2216)
  71. - The ``iter_lines`` method on a response now accepts a delimiter with which
  72. to split the content (#2295)
  73. **Behavioural Changes**
  74. - Add deprecation warnings to functions in requests.utils that will be removed
  75. in 3.0 (#2309)
  76. - Sessions used by the functional API are always closed (#2326)
  77. - Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9) (#2323)
  78. **Bugfixes**
  79. - Only parse the URL once (#2353)
  80. - Allow Content-Length header to always be overriden (#2332)
  81. - Properly handle files in HTTPDigestAuth (#2333)
  82. - Cap redirect_cache size to prevent memory abuse (#2299)
  83. - Fix HTTPDigestAuth handling of redirects after authenticating successfully
  84. (#2253)
  85. - Fix crash with custom method parameter to Session.request (#2317)
  86. - Fix how Link headers are parsed using the regular expression library (#2271)
  87. **Documentation**
  88. - Add more references for interlinking (#2348)
  89. - Update CSS for theme (#2290)
  90. - Update width of buttons and sidebar (#2289)
  91. - Replace references of Gittip with Gratipay (#2282)
  92. - Add link to changelog in sidebar (#2273)
  93. 2.4.3 (2014-10-06)
  94. ++++++++++++++++++
  95. **Bugfixes**
  96. - Unicode URL improvements for Python 2.
  97. - Re-order JSON param for backwards compat.
  98. - Automatically defrag authentication schemes from host/pass URIs. (`#2249 <https://github.com/kennethreitz/requests/issues/2249>`_)
  99. 2.4.2 (2014-10-05)
  100. ++++++++++++++++++
  101. **Improvements**
  102. - FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/kennethreitz/requests/pull/2258>`_)
  103. - Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/kennethreitz/requests/pull/2238>`_)
  104. **Bugfixes**
  105. - Avoid getting stuck in a loop (`#2244 <https://github.com/kennethreitz/requests/pull/2244>`_)
  106. - Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com/kennethreitz/requests/issues/2240>`_, `#2241 <https://github.com/kennethreitz/requests/issues/2241>`_)
  107. **Documentation**
  108. - Correct redirection introduction (`#2245 <https://github.com/kennethreitz/requests/pull/2245/>`_)
  109. - Added example of how to send multiple files in one request. (`#2227 <https://github.com/kennethreitz/requests/pull/2227/>`_)
  110. - Clarify how to pass a custom set of CAs (`#2248 <https://github.com/kennethreitz/requests/pull/2248/>`_)
  111. 2.4.1 (2014-09-09)
  112. ++++++++++++++++++
  113. - Now has a "security" package extras set, ``$ pip install requests[security]``
  114. - Requests will now use Certifi if it is available.
  115. - Capture and re-raise urllib3 ProtocolError
  116. - Bugfix for responses that attempt to redirect to themselves forever (wtf?).
  117. 2.4.0 (2014-08-29)
  118. ++++++++++++++++++
  119. **Behavioral Changes**
  120. - ``Connection: keep-alive`` header is now sent automatically.
  121. **Improvements**
  122. - Support for connect timeouts! Timeout now accepts a tuple (connect, read) which is used to set individual connect and read timeouts.
  123. - Allow copying of PreparedRequests without headers/cookies.
  124. - Updated bundled urllib3 version.
  125. - Refactored settings loading from environment -- new `Session.merge_environment_settings`.
  126. - Handle socket errors in iter_content.
  127. 2.3.0 (2014-05-16)
  128. ++++++++++++++++++
  129. **API Changes**
  130. - New ``Response`` property ``is_redirect``, which is true when the
  131. library could have processed this response as a redirection (whether
  132. or not it actually did).
  133. - The ``timeout`` parameter now affects requests with both ``stream=True`` and
  134. ``stream=False`` equally.
  135. - The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
  136. Proxy schemes now default to ``http://``.
  137. - The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
  138. dictionary when references as string or viewed in the interpreter.
  139. **Bugfixes**
  140. - No longer expose Authorization or Proxy-Authorization headers on redirect.
  141. Fix CVE-2014-1829 and CVE-2014-1830 respectively.
  142. - Authorization is re-evaluated each redirect.
  143. - On redirect, pass url as native strings.
  144. - Fall-back to autodetected encoding for JSON when Unicode detection fails.
  145. - Headers set to ``None`` on the ``Session`` are now correctly not sent.
  146. - Correctly honor ``decode_unicode`` even if it wasn't used earlier in the same
  147. response.
  148. - Stop advertising ``compress`` as a supported Content-Encoding.
  149. - The ``Response.history`` parameter is now always a list.
  150. - Many, many ``urllib3`` bugfixes.
  151. 2.2.1 (2014-01-23)
  152. ++++++++++++++++++
  153. **Bugfixes**
  154. - Fixes incorrect parsing of proxy credentials that contain a literal or encoded '#' character.
  155. - Assorted urllib3 fixes.
  156. 2.2.0 (2014-01-09)
  157. ++++++++++++++++++
  158. **API Changes**
  159. - New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
  160. ``DecodeError`` exceptions.
  161. **Bugfixes**
  162. - Avoid many many exceptions from the buggy implementation of ``proxy_bypass`` on OS X in Python 2.6.
  163. - Avoid crashing when attempting to get authentication credentials from ~/.netrc when running as a user without a home directory.
  164. - Use the correct pool size for pools of connections to proxies.
  165. - Fix iteration of ``CookieJar`` objects.
  166. - Ensure that cookies are persisted over redirect.
  167. - Switch back to using chardet, since it has merged with charade.
  168. 2.1.0 (2013-12-05)
  169. ++++++++++++++++++
  170. - Updated CA Bundle, of course.
  171. - Cookies set on individual Requests through a ``Session`` (e.g. via ``Session.get()``) are no longer persisted to the ``Session``.
  172. - Clean up connections when we hit problems during chunked upload, rather than leaking them.
  173. - Return connections to the pool when a chunked upload is successful, rather than leaking it.
  174. - Match the HTTPbis recommendation for HTTP 301 redirects.
  175. - Prevent hanging when using streaming uploads and Digest Auth when a 401 is received.
  176. - Values of headers set by Requests are now always the native string type.
  177. - Fix previously broken SNI support.
  178. - Fix accessing HTTP proxies using proxy authentication.
  179. - Unencode HTTP Basic usernames and passwords extracted from URLs.
  180. - Support for IP address ranges for no_proxy environment variable
  181. - Parse headers correctly when users override the default ``Host:`` header.
  182. - Avoid munging the URL in case of case-sensitive servers.
  183. - Looser URL handling for non-HTTP/HTTPS urls.
  184. - Accept unicode methods in Python 2.6 and 2.7.
  185. - More resilient cookie handling.
  186. - Make ``Response`` objects pickleable.
  187. - Actually added MD5-sess to Digest Auth instead of pretending to like last time.
  188. - Updated internal urllib3.
  189. - Fixed @Lukasa's lack of taste.
  190. 2.0.1 (2013-10-24)
  191. ++++++++++++++++++
  192. - Updated included CA Bundle with new mistrusts and automated process for the future
  193. - Added MD5-sess to Digest Auth
  194. - Accept per-file headers in multipart file POST messages.
  195. - Fixed: Don't send the full URL on CONNECT messages.
  196. - Fixed: Correctly lowercase a redirect scheme.
  197. - Fixed: Cookies not persisted when set via functional API.
  198. - Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.
  199. - Updated internal urllib3 and chardet.
  200. 2.0.0 (2013-09-24)
  201. ++++++++++++++++++
  202. **API Changes:**
  203. - Keys in the Headers dictionary are now native strings on all Python versions,
  204. i.e. bytestrings on Python 2, unicode on Python 3.
  205. - Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
  206. will be raised if they don't.
  207. - Timeouts now apply to read time if ``Stream=False``.
  208. - ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
  209. - Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
  210. - Added new method to ``Session`` objects: ``Session.update_request()``. This
  211. method updates a ``Request`` object with the data (e.g. cookies) stored on
  212. the ``Session``.
  213. - Added new method to ``Session`` objects: ``Session.prepare_request()``. This
  214. method updates and prepares a ``Request`` object, and returns the
  215. corresponding ``PreparedRequest`` object.
  216. - Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
  217. This should not be called directly, but improves the subclass interface.
  218. - ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
  219. will now raise a Requests ``ChunkedEncodingError`` instead.
  220. - Invalid percent-escape sequences now cause a Requests ``InvalidURL``
  221. exception to be raised.
  222. - HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses
  223. ``"already_reported"``.
  224. - HTTP 226 reason added (``"im_used"``).
  225. **Bugfixes:**
  226. - Vastly improved proxy support, including the CONNECT verb. Special thanks to
  227. the many contributors who worked towards this improvement.
  228. - Cookies are now properly managed when 401 authentication responses are
  229. received.
  230. - Chunked encoding fixes.
  231. - Support for mixed case schemes.
  232. - Better handling of streaming downloads.
  233. - Retrieve environment proxies from more locations.
  234. - Minor cookies fixes.
  235. - Improved redirect behaviour.
  236. - Improved streaming behaviour, particularly for compressed data.
  237. - Miscellaneous small Python 3 text encoding bugs.
  238. - ``.netrc`` no longer overrides explicit auth.
  239. - Cookies set by hooks are now correctly persisted on Sessions.
  240. - Fix problem with cookies that specify port numbers in their host field.
  241. - ``BytesIO`` can be used to perform streaming uploads.
  242. - More generous parsing of the ``no_proxy`` environment variable.
  243. - Non-string objects can be passed in data values alongside files.
  244. 1.2.3 (2013-05-25)
  245. ++++++++++++++++++
  246. - Simple packaging fix
  247. 1.2.2 (2013-05-23)
  248. ++++++++++++++++++
  249. - Simple packaging fix
  250. 1.2.1 (2013-05-20)
  251. ++++++++++++++++++
  252. - 301 and 302 redirects now change the verb to GET for all verbs, not just
  253. POST, improving browser compatibility.
  254. - Python 3.3.2 compatibility
  255. - Always percent-encode location headers
  256. - Fix connection adapter matching to be most-specific first
  257. - new argument to the default connection adapter for passing a block argument
  258. - prevent a KeyError when there's no link headers
  259. 1.2.0 (2013-03-31)
  260. ++++++++++++++++++
  261. - Fixed cookies on sessions and on requests
  262. - Significantly change how hooks are dispatched - hooks now receive all the
  263. arguments specified by the user when making a request so hooks can make a
  264. secondary request with the same parameters. This is especially necessary for
  265. authentication handler authors
  266. - certifi support was removed
  267. - Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
  268. - Major proxy work thanks to @Lukasa including parsing of proxy authentication
  269. from the proxy url
  270. - Fix DigestAuth handling too many 401s
  271. - Update vendored urllib3 to include SSL bug fixes
  272. - Allow keyword arguments to be passed to ``json.loads()`` via the
  273. ``Response.json()`` method
  274. - Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
  275. requests
  276. - Add ``elapsed`` attribute to ``Response`` objects to time how long a request
  277. took.
  278. - Fix ``RequestsCookieJar``
  279. - Sessions and Adapters are now picklable, i.e., can be used with the
  280. multiprocessing library
  281. - Update charade to version 1.0.3
  282. The change in how hooks are dispatched will likely cause a great deal of
  283. issues.
  284. 1.1.0 (2013-01-10)
  285. ++++++++++++++++++
  286. - CHUNKED REQUESTS
  287. - Support for iterable response bodies
  288. - Assume servers persist redirect params
  289. - Allow explicit content types to be specified for file data
  290. - Make merge_kwargs case-insensitive when looking up keys
  291. 1.0.3 (2012-12-18)
  292. ++++++++++++++++++
  293. - Fix file upload encoding bug
  294. - Fix cookie behavior
  295. 1.0.2 (2012-12-17)
  296. ++++++++++++++++++
  297. - Proxy fix for HTTPAdapter.
  298. 1.0.1 (2012-12-17)
  299. ++++++++++++++++++
  300. - Cert verification exception bug.
  301. - Proxy fix for HTTPAdapter.
  302. 1.0.0 (2012-12-17)
  303. ++++++++++++++++++
  304. - Massive Refactor and Simplification
  305. - Switch to Apache 2.0 license
  306. - Swappable Connection Adapters
  307. - Mountable Connection Adapters
  308. - Mutable ProcessedRequest chain
  309. - /s/prefetch/stream
  310. - Removal of all configuration
  311. - Standard library logging
  312. - Make Response.json() callable, not property.
  313. - Usage of new charade project, which provides python 2 and 3 simultaneous chardet.
  314. - Removal of all hooks except 'response'
  315. - Removal of all authentication helpers (OAuth, Kerberos)
  316. This is not a backwards compatible change.
  317. 0.14.2 (2012-10-27)
  318. +++++++++++++++++++
  319. - Improved mime-compatible JSON handling
  320. - Proxy fixes
  321. - Path hack fixes
  322. - Case-Insensistive Content-Encoding headers
  323. - Support for CJK parameters in form posts
  324. 0.14.1 (2012-10-01)
  325. +++++++++++++++++++
  326. - Python 3.3 Compatibility
  327. - Simply default accept-encoding
  328. - Bugfixes
  329. 0.14.0 (2012-09-02)
  330. ++++++++++++++++++++
  331. - No more iter_content errors if already downloaded.
  332. 0.13.9 (2012-08-25)
  333. +++++++++++++++++++
  334. - Fix for OAuth + POSTs
  335. - Remove exception eating from dispatch_hook
  336. - General bugfixes
  337. 0.13.8 (2012-08-21)
  338. +++++++++++++++++++
  339. - Incredible Link header support :)
  340. 0.13.7 (2012-08-19)
  341. +++++++++++++++++++
  342. - Support for (key, value) lists everywhere.
  343. - Digest Authentication improvements.
  344. - Ensure proxy exclusions work properly.
  345. - Clearer UnicodeError exceptions.
  346. - Automatic casting of URLs to tsrings (fURL and such)
  347. - Bugfixes.
  348. 0.13.6 (2012-08-06)
  349. +++++++++++++++++++
  350. - Long awaited fix for hanging connections!
  351. 0.13.5 (2012-07-27)
  352. +++++++++++++++++++
  353. - Packaging fix
  354. 0.13.4 (2012-07-27)
  355. +++++++++++++++++++
  356. - GSSAPI/Kerberos authentication!
  357. - App Engine 2.7 Fixes!
  358. - Fix leaking connections (from urllib3 update)
  359. - OAuthlib path hack fix
  360. - OAuthlib URL parameters fix.
  361. 0.13.3 (2012-07-12)
  362. +++++++++++++++++++
  363. - Use simplejson if available.
  364. - Do not hide SSLErrors behind Timeouts.
  365. - Fixed param handling with urls containing fragments.
  366. - Significantly improved information in User Agent.
  367. - client certificates are ignored when verify=False
  368. 0.13.2 (2012-06-28)
  369. +++++++++++++++++++
  370. - Zero dependencies (once again)!
  371. - New: Response.reason
  372. - Sign querystring parameters in OAuth 1.0
  373. - Client certificates no longer ignored when verify=False
  374. - Add openSUSE certificate support
  375. 0.13.1 (2012-06-07)
  376. +++++++++++++++++++
  377. - Allow passing a file or file-like object as data.
  378. - Allow hooks to return responses that indicate errors.
  379. - Fix Response.text and Response.json for body-less responses.
  380. 0.13.0 (2012-05-29)
  381. +++++++++++++++++++
  382. - Removal of Requests.async in favor of `grequests <https://github.com/kennethreitz/grequests>`_
  383. - Allow disabling of cookie persistiance.
  384. - New implimentation of safe_mode
  385. - cookies.get now supports default argument
  386. - Session cookies not saved when Session.request is called with return_response=False
  387. - Env: no_proxy support.
  388. - RequestsCookieJar improvements.
  389. - Various bug fixes.
  390. 0.12.1 (2012-05-08)
  391. +++++++++++++++++++
  392. - New ``Response.json`` property.
  393. - Ability to add string file uploads.
  394. - Fix out-of-range issue with iter_lines.
  395. - Fix iter_content default size.
  396. - Fix POST redirects containing files.
  397. 0.12.0 (2012-05-02)
  398. +++++++++++++++++++
  399. - EXPERIMENTAL OAUTH SUPPORT!
  400. - Proper CookieJar-backed cookies interface with awesome dict-like interface.
  401. - Speed fix for non-iterated content chunks.
  402. - Move ``pre_request`` to a more usable place.
  403. - New ``pre_send`` hook.
  404. - Lazily encode data, params, files.
  405. - Load system Certificate Bundle if ``certify`` isn't available.
  406. - Cleanups, fixes.
  407. 0.11.2 (2012-04-22)
  408. +++++++++++++++++++
  409. - Attempt to use the OS's certificate bundle if ``certifi`` isn't available.
  410. - Infinite digest auth redirect fix.
  411. - Multi-part file upload improvements.
  412. - Fix decoding of invalid %encodings in URLs.
  413. - If there is no content in a response don't throw an error the second time that content is attempted to be read.
  414. - Upload data on redirects.
  415. 0.11.1 (2012-03-30)
  416. +++++++++++++++++++
  417. * POST redirects now break RFC to do what browsers do: Follow up with a GET.
  418. * New ``strict_mode`` configuration to disable new redirect behavior.
  419. 0.11.0 (2012-03-14)
  420. +++++++++++++++++++
  421. * Private SSL Certificate support
  422. * Remove select.poll from Gevent monkeypatching
  423. * Remove redundant generator for chunked transfer encoding
  424. * Fix: Response.ok raises Timeout Exception in safe_mode
  425. 0.10.8 (2012-03-09)
  426. +++++++++++++++++++
  427. * Generate chunked ValueError fix
  428. * Proxy configuration by environment variables
  429. * Simplification of iter_lines.
  430. * New `trust_env` configuration for disabling system/environment hints.
  431. * Suppress cookie errors.
  432. 0.10.7 (2012-03-07)
  433. +++++++++++++++++++
  434. * `encode_uri` = False
  435. 0.10.6 (2012-02-25)
  436. +++++++++++++++++++
  437. * Allow '=' in cookies.
  438. 0.10.5 (2012-02-25)
  439. +++++++++++++++++++
  440. * Response body with 0 content-length fix.
  441. * New async.imap.
  442. * Don't fail on netrc.
  443. 0.10.4 (2012-02-20)
  444. +++++++++++++++++++
  445. * Honor netrc.
  446. 0.10.3 (2012-02-20)
  447. +++++++++++++++++++
  448. * HEAD requests don't follow redirects anymore.
  449. * raise_for_status() doesn't raise for 3xx anymore.
  450. * Make Session objects picklable.
  451. * ValueError for invalid schema URLs.
  452. 0.10.2 (2012-01-15)
  453. +++++++++++++++++++
  454. * Vastly improved URL quoting.
  455. * Additional allowed cookie key values.
  456. * Attempted fix for "Too many open files" Error
  457. * Replace unicode errors on first pass, no need for second pass.
  458. * Append '/' to bare-domain urls before query insertion.
  459. * Exceptions now inherit from RuntimeError.
  460. * Binary uploads + auth fix.
  461. * Bugfixes.
  462. 0.10.1 (2012-01-23)
  463. +++++++++++++++++++
  464. * PYTHON 3 SUPPORT!
  465. * Dropped 2.5 Support. (*Backwards Incompatible*)
  466. 0.10.0 (2012-01-21)
  467. +++++++++++++++++++
  468. * ``Response.content`` is now bytes-only. (*Backwards Incompatible*)
  469. * New ``Response.text`` is unicode-only.
  470. * If no ``Response.encoding`` is specified and ``chardet`` is available, ``Respoonse.text`` will guess an encoding.
  471. * Default to ISO-8859-1 (Western) encoding for "text" subtypes.
  472. * Removal of `decode_unicode`. (*Backwards Incompatible*)
  473. * New multiple-hooks system.
  474. * New ``Response.register_hook`` for registering hooks within the pipeline.
  475. * ``Response.url`` is now Unicode.
  476. 0.9.3 (2012-01-18)
  477. ++++++++++++++++++
  478. * SSL verify=False bugfix (apparent on windows machines).
  479. 0.9.2 (2012-01-18)
  480. ++++++++++++++++++
  481. * Asynchronous async.send method.
  482. * Support for proper chunk streams with boundaries.
  483. * session argument for Session classes.
  484. * Print entire hook tracebacks, not just exception instance.
  485. * Fix response.iter_lines from pending next line.
  486. * Fix but in HTTP-digest auth w/ URI having query strings.
  487. * Fix in Event Hooks section.
  488. * Urllib3 update.
  489. 0.9.1 (2012-01-06)
  490. ++++++++++++++++++
  491. * danger_mode for automatic Response.raise_for_status()
  492. * Response.iter_lines refactor
  493. 0.9.0 (2011-12-28)
  494. ++++++++++++++++++
  495. * verify ssl is default.
  496. 0.8.9 (2011-12-28)
  497. ++++++++++++++++++
  498. * Packaging fix.
  499. 0.8.8 (2011-12-28)
  500. ++++++++++++++++++
  501. * SSL CERT VERIFICATION!
  502. * Release of Cerifi: Mozilla's cert list.
  503. * New 'verify' argument for SSL requests.
  504. * Urllib3 update.
  505. 0.8.7 (2011-12-24)
  506. ++++++++++++++++++
  507. * iter_lines last-line truncation fix
  508. * Force safe_mode for async requests
  509. * Handle safe_mode exceptions more consistently
  510. * Fix iteration on null responses in safe_mode
  511. 0.8.6 (2011-12-18)
  512. ++++++++++++++++++
  513. * Socket timeout fixes.
  514. * Proxy Authorization support.
  515. 0.8.5 (2011-12-14)
  516. ++++++++++++++++++
  517. * Response.iter_lines!
  518. 0.8.4 (2011-12-11)
  519. ++++++++++++++++++
  520. * Prefetch bugfix.
  521. * Added license to installed version.
  522. 0.8.3 (2011-11-27)
  523. ++++++++++++++++++
  524. * Converted auth system to use simpler callable objects.
  525. * New session parameter to API methods.
  526. * Display full URL while logging.
  527. 0.8.2 (2011-11-19)
  528. ++++++++++++++++++
  529. * New Unicode decoding system, based on over-ridable `Response.encoding`.
  530. * Proper URL slash-quote handling.
  531. * Cookies with ``[``, ``]``, and ``_`` allowed.
  532. 0.8.1 (2011-11-15)
  533. ++++++++++++++++++
  534. * URL Request path fix
  535. * Proxy fix.
  536. * Timeouts fix.
  537. 0.8.0 (2011-11-13)
  538. ++++++++++++++++++
  539. * Keep-alive support!
  540. * Complete removal of Urllib2
  541. * Complete removal of Poster
  542. * Complete removal of CookieJars
  543. * New ConnectionError raising
  544. * Safe_mode for error catching
  545. * prefetch parameter for request methods
  546. * OPTION method
  547. * Async pool size throttling
  548. * File uploads send real names
  549. * Vendored in urllib3
  550. 0.7.6 (2011-11-07)
  551. ++++++++++++++++++
  552. * Digest authentication bugfix (attach query data to path)
  553. 0.7.5 (2011-11-04)
  554. ++++++++++++++++++
  555. * Response.content = None if there was an invalid repsonse.
  556. * Redirection auth handling.
  557. 0.7.4 (2011-10-26)
  558. ++++++++++++++++++
  559. * Session Hooks fix.
  560. 0.7.3 (2011-10-23)
  561. ++++++++++++++++++
  562. * Digest Auth fix.
  563. 0.7.2 (2011-10-23)
  564. ++++++++++++++++++
  565. * PATCH Fix.
  566. 0.7.1 (2011-10-23)
  567. ++++++++++++++++++
  568. * Move away from urllib2 authentication handling.
  569. * Fully Remove AuthManager, AuthObject, &c.
  570. * New tuple-based auth system with handler callbacks.
  571. 0.7.0 (2011-10-22)
  572. ++++++++++++++++++
  573. * Sessions are now the primary interface.
  574. * Deprecated InvalidMethodException.
  575. * PATCH fix.
  576. * New config system (no more global settings).
  577. 0.6.6 (2011-10-19)
  578. ++++++++++++++++++
  579. * Session parameter bugfix (params merging).
  580. 0.6.5 (2011-10-18)
  581. ++++++++++++++++++
  582. * Offline (fast) test suite.
  583. * Session dictionary argument merging.
  584. 0.6.4 (2011-10-13)
  585. ++++++++++++++++++
  586. * Automatic decoding of unicode, based on HTTP Headers.
  587. * New ``decode_unicode`` setting.
  588. * Removal of ``r.read/close`` methods.
  589. * New ``r.faw`` interface for advanced response usage.*
  590. * Automatic expansion of parameterized headers.
  591. 0.6.3 (2011-10-13)
  592. ++++++++++++++++++
  593. * Beautiful ``requests.async`` module, for making async requests w/ gevent.
  594. 0.6.2 (2011-10-09)
  595. ++++++++++++++++++
  596. * GET/HEAD obeys allow_redirects=False.
  597. 0.6.1 (2011-08-20)
  598. ++++++++++++++++++
  599. * Enhanced status codes experience ``\o/``
  600. * Set a maximum number of redirects (``settings.max_redirects``)
  601. * Full Unicode URL support
  602. * Support for protocol-less redirects.
  603. * Allow for arbitrary request types.
  604. * Bugfixes
  605. 0.6.0 (2011-08-17)
  606. ++++++++++++++++++
  607. * New callback hook system
  608. * New persistient sessions object and context manager
  609. * Transparent Dict-cookie handling
  610. * Status code reference object
  611. * Removed Response.cached
  612. * Added Response.request
  613. * All args are kwargs
  614. * Relative redirect support
  615. * HTTPError handling improvements
  616. * Improved https testing
  617. * Bugfixes
  618. 0.5.1 (2011-07-23)
  619. ++++++++++++++++++
  620. * International Domain Name Support!
  621. * Access headers without fetching entire body (``read()``)
  622. * Use lists as dicts for parameters
  623. * Add Forced Basic Authentication
  624. * Forced Basic is default authentication type
  625. * ``python-requests.org`` default User-Agent header
  626. * CaseInsensitiveDict lower-case caching
  627. * Response.history bugfix
  628. 0.5.0 (2011-06-21)
  629. ++++++++++++++++++
  630. * PATCH Support
  631. * Support for Proxies
  632. * HTTPBin Test Suite
  633. * Redirect Fixes
  634. * settings.verbose stream writing
  635. * Querystrings for all methods
  636. * URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicity raised
  637. ``r.requests.get('hwe://blah'); r.raise_for_status()``
  638. 0.4.1 (2011-05-22)
  639. ++++++++++++++++++
  640. * Improved Redirection Handling
  641. * New 'allow_redirects' param for following non-GET/HEAD Redirects
  642. * Settings module refactoring
  643. 0.4.0 (2011-05-15)
  644. ++++++++++++++++++
  645. * Response.history: list of redirected responses
  646. * Case-Insensitive Header Dictionaries!
  647. * Unicode URLs
  648. 0.3.4 (2011-05-14)
  649. ++++++++++++++++++
  650. * Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)
  651. * Internal Refactor
  652. * Bytes data upload Bugfix
  653. 0.3.3 (2011-05-12)
  654. ++++++++++++++++++
  655. * Request timeouts
  656. * Unicode url-encoded data
  657. * Settings context manager and module
  658. 0.3.2 (2011-04-15)
  659. ++++++++++++++++++
  660. * Automatic Decompression of GZip Encoded Content
  661. * AutoAuth Support for Tupled HTTP Auth
  662. 0.3.1 (2011-04-01)
  663. ++++++++++++++++++
  664. * Cookie Changes
  665. * Response.read()
  666. * Poster fix
  667. 0.3.0 (2011-02-25)
  668. ++++++++++++++++++
  669. * Automatic Authentication API Change
  670. * Smarter Query URL Parameterization
  671. * Allow file uploads and POST data together
  672. * New Authentication Manager System
  673. - Simpler Basic HTTP System
  674. - Supports all build-in urllib2 Auths
  675. - Allows for custom Auth Handlers
  676. 0.2.4 (2011-02-19)
  677. ++++++++++++++++++
  678. * Python 2.5 Support
  679. * PyPy-c v1.4 Support
  680. * Auto-Authentication tests
  681. * Improved Request object constructor
  682. 0.2.3 (2011-02-15)
  683. ++++++++++++++++++
  684. * New HTTPHandling Methods
  685. - Response.__nonzero__ (false if bad HTTP Status)
  686. - Response.ok (True if expected HTTP Status)
  687. - Response.error (Logged HTTPError if bad HTTP Status)
  688. - Response.raise_for_status() (Raises stored HTTPError)
  689. 0.2.2 (2011-02-14)
  690. ++++++++++++++++++
  691. * Still handles request in the event of an HTTPError. (Issue #2)
  692. * Eventlet and Gevent Monkeypatch support.
  693. * Cookie Support (Issue #1)
  694. 0.2.1 (2011-02-14)
  695. ++++++++++++++++++
  696. * Added file attribute to POST and PUT requests for multipart-encode file uploads.
  697. * Added Request.url attribute for context and redirects
  698. 0.2.0 (2011-02-14)
  699. ++++++++++++++++++
  700. * Birth!
  701. 0.0.1 (2011-02-13)
  702. ++++++++++++++++++
  703. * Frustration
  704. * Conception