psf/requests
### [`v2.25.1`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2251-2020-12-16)
[Compare Source](https://togithub.com/psf/requests/compare/v2.25.0...v2.25.1)
**Bugfixes**
- Requests now treats `application/json` as `utf8` by default. Resolving
inconsistencies between `r.text` and `r.json` output. ([#5673](https://togithub.com/psf/requests/issues/5673))
**Dependencies**
- Requests now supports chardet v4.x.
### [`v2.25.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2250-2020-11-11)
[Compare Source](https://togithub.com/psf/requests/compare/v2.24.0...v2.25.0)
**Improvements**
- Added support for NETRC environment variable. ([#5643](https://togithub.com/psf/requests/issues/5643))
**Dependencies**
- Requests now supports urllib3 v1.26.
**Deprecations**
- Requests v2.25.x will be the last release series with support for Python 3.5.
- The `requests[security]` extra is officially deprecated and will be removed
in Requests v2.26.0.
### [`v2.24.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2240-2020-06-17)
[Compare Source](https://togithub.com/psf/requests/compare/v2.23.0...v2.24.0)
**Improvements**
- pyOpenSSL TLS implementation is now only used if Python
either doesn't have an `ssl` module or doesn't support
SNI. Previously pyOpenSSL was unconditionally used if available.
This applies even if pyOpenSSL is installed via the
`requests[security]` extra ([#5443](https://togithub.com/psf/requests/issues/5443))
- Redirect resolution should now only occur when
`allow_redirects` is True. ([#5492](https://togithub.com/psf/requests/issues/5492))
- No longer perform unnecessary Content-Length calculation for
requests that won't use it. ([#5496](https://togithub.com/psf/requests/issues/5496))
### [`v2.23.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2230-2020-02-19)
[Compare Source](https://togithub.com/psf/requests/compare/v2.22.0...v2.23.0)
**Improvements**
- Remove defunct reference to `prefetch` in Session `__attrs__` ([#5110](https://togithub.com/psf/requests/issues/5110))
**Bugfixes**
- Requests no longer outputs password in basic auth usage warning. ([#5099](https://togithub.com/psf/requests/issues/5099))
**Dependencies**
- Pinning for `chardet` and `idna` now uses major version instead of minor.
This hopefully reduces the need for releases everytime a dependency is updated.
### [`v2.22.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2220-2019-05-15)
[Compare Source](https://togithub.com/psf/requests/compare/v2.21.0...v2.22.0)
**Dependencies**
- Requests now supports urllib3 v1.25.2.
(note: 1.25.0 and 1.25.1 are incompatible)
**Deprecations**
- Requests has officially stopped support for Python 3.4.
### [`v2.21.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2210-2018-12-10)
[Compare Source](https://togithub.com/psf/requests/compare/v2.20.1...v2.21.0)
**Dependencies**
- Requests now supports idna v2.8.
### [`v2.20.1`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2201-2018-11-08)
[Compare Source](https://togithub.com/psf/requests/compare/v2.20.0...v2.20.1)
**Bugfixes**
- Fixed bug with unintended Authorization header stripping for
redirects using default ports (http/80, https/443).
### [`v2.20.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2200-2018-10-18)
[Compare Source](https://togithub.com/psf/requests/compare/v2.19.1...v2.20.0)
**Bugfixes**
- Content-Type header parsing is now case-insensitive (e.g.
charset=utf8 v Charset=utf8).
- Fixed exception leak where certain redirect urls would raise
uncaught urllib3 exceptions.
- Requests removes Authorization header from requests redirected
from https to http on the same hostname. (CVE-2018-18074)
- `should_bypass_proxies` now handles URIs without hostnames (e.g.
files).
**Dependencies**
- Requests now supports urllib3 v1.24.
**Deprecations**
- Requests has officially stopped support for Python 2.6.
### [`v2.19.1`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2191-2018-06-14)
[Compare Source](https://togithub.com/psf/requests/compare/v2.19.0...v2.19.1)
**Bugfixes**
- Fixed issue where status_codes.py's `init` function failed trying
to append to a `__doc__` value of `None`.
### [`v2.19.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2190-2018-06-12)
[Compare Source](https://togithub.com/psf/requests/compare/v2.18.4...v2.19.0)
**Improvements**
- Warn user about possible slowdown when using cryptography version
< 1.3.4
- Check for invalid host in proxy URL, before forwarding request to
adapter.
- Fragments are now properly maintained across redirects. (RFC7231
7.1.2)
- Removed use of cgi module to expedite library load time.
- Added support for SHA-256 and SHA-512 digest auth algorithms.
- Minor performance improvement to `Request.content`.
- Migrate to using collections.abc for 3.7 compatibility.
**Bugfixes**
- Parsing empty `Link` headers with `parse_header_links()` no longer
return one bogus entry.
- Fixed issue where loading the default certificate bundle from a zip
archive would raise an `IOError`.
- Fixed issue with unexpected `ImportError` on windows system which do
not support `winreg` module.
- DNS resolution in proxy bypass no longer includes the username and
password in the request. This also fixes the issue of DNS queries
failing on macOS.
- Properly normalize adapter prefixes for url comparison.
- Passing `None` as a file pointer to the `files` param no longer
raises an exception.
- Calling `copy` on a `RequestsCookieJar` will now preserve the cookie
policy correctly.
**Dependencies**
- We now support idna v2.7.
- We now support urllib3 v1.23.
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==2.18.4
->==2.25.1
Release Notes
psf/requests
### [`v2.25.1`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2251-2020-12-16) [Compare Source](https://togithub.com/psf/requests/compare/v2.25.0...v2.25.1) **Bugfixes** - Requests now treats `application/json` as `utf8` by default. Resolving inconsistencies between `r.text` and `r.json` output. ([#5673](https://togithub.com/psf/requests/issues/5673)) **Dependencies** - Requests now supports chardet v4.x. ### [`v2.25.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2250-2020-11-11) [Compare Source](https://togithub.com/psf/requests/compare/v2.24.0...v2.25.0) **Improvements** - Added support for NETRC environment variable. ([#5643](https://togithub.com/psf/requests/issues/5643)) **Dependencies** - Requests now supports urllib3 v1.26. **Deprecations** - Requests v2.25.x will be the last release series with support for Python 3.5. - The `requests[security]` extra is officially deprecated and will be removed in Requests v2.26.0. ### [`v2.24.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2240-2020-06-17) [Compare Source](https://togithub.com/psf/requests/compare/v2.23.0...v2.24.0) **Improvements** - pyOpenSSL TLS implementation is now only used if Python either doesn't have an `ssl` module or doesn't support SNI. Previously pyOpenSSL was unconditionally used if available. This applies even if pyOpenSSL is installed via the `requests[security]` extra ([#5443](https://togithub.com/psf/requests/issues/5443)) - Redirect resolution should now only occur when `allow_redirects` is True. ([#5492](https://togithub.com/psf/requests/issues/5492)) - No longer perform unnecessary Content-Length calculation for requests that won't use it. ([#5496](https://togithub.com/psf/requests/issues/5496)) ### [`v2.23.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2230-2020-02-19) [Compare Source](https://togithub.com/psf/requests/compare/v2.22.0...v2.23.0) **Improvements** - Remove defunct reference to `prefetch` in Session `__attrs__` ([#5110](https://togithub.com/psf/requests/issues/5110)) **Bugfixes** - Requests no longer outputs password in basic auth usage warning. ([#5099](https://togithub.com/psf/requests/issues/5099)) **Dependencies** - Pinning for `chardet` and `idna` now uses major version instead of minor. This hopefully reduces the need for releases everytime a dependency is updated. ### [`v2.22.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2220-2019-05-15) [Compare Source](https://togithub.com/psf/requests/compare/v2.21.0...v2.22.0) **Dependencies** - Requests now supports urllib3 v1.25.2. (note: 1.25.0 and 1.25.1 are incompatible) **Deprecations** - Requests has officially stopped support for Python 3.4. ### [`v2.21.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2210-2018-12-10) [Compare Source](https://togithub.com/psf/requests/compare/v2.20.1...v2.21.0) **Dependencies** - Requests now supports idna v2.8. ### [`v2.20.1`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2201-2018-11-08) [Compare Source](https://togithub.com/psf/requests/compare/v2.20.0...v2.20.1) **Bugfixes** - Fixed bug with unintended Authorization header stripping for redirects using default ports (http/80, https/443). ### [`v2.20.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2200-2018-10-18) [Compare Source](https://togithub.com/psf/requests/compare/v2.19.1...v2.20.0) **Bugfixes** - Content-Type header parsing is now case-insensitive (e.g. charset=utf8 v Charset=utf8). - Fixed exception leak where certain redirect urls would raise uncaught urllib3 exceptions. - Requests removes Authorization header from requests redirected from https to http on the same hostname. (CVE-2018-18074) - `should_bypass_proxies` now handles URIs without hostnames (e.g. files). **Dependencies** - Requests now supports urllib3 v1.24. **Deprecations** - Requests has officially stopped support for Python 2.6. ### [`v2.19.1`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2191-2018-06-14) [Compare Source](https://togithub.com/psf/requests/compare/v2.19.0...v2.19.1) **Bugfixes** - Fixed issue where status_codes.py's `init` function failed trying to append to a `__doc__` value of `None`. ### [`v2.19.0`](https://togithub.com/psf/requests/blob/master/HISTORY.md#2190-2018-06-12) [Compare Source](https://togithub.com/psf/requests/compare/v2.18.4...v2.19.0) **Improvements** - Warn user about possible slowdown when using cryptography version < 1.3.4 - Check for invalid host in proxy URL, before forwarding request to adapter. - Fragments are now properly maintained across redirects. (RFC7231 7.1.2) - Removed use of cgi module to expedite library load time. - Added support for SHA-256 and SHA-512 digest auth algorithms. - Minor performance improvement to `Request.content`. - Migrate to using collections.abc for 3.7 compatibility. **Bugfixes** - Parsing empty `Link` headers with `parse_header_links()` no longer return one bogus entry. - Fixed issue where loading the default certificate bundle from a zip archive would raise an `IOError`. - Fixed issue with unexpected `ImportError` on windows system which do not support `winreg` module. - DNS resolution in proxy bypass no longer includes the username and password in the request. This also fixes the issue of DNS queries failing on macOS. - Properly normalize adapter prefixes for url comparison. - Passing `None` as a file pointer to the `files` param no longer raises an exception. - Calling `copy` on a `RequestsCookieJar` will now preserve the cookie policy correctly. **Dependencies** - We now support idna v2.7. - We now support urllib3 v1.23.Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.