|
1 | 1 | Changes
|
2 | 2 | =======
|
3 | 3 |
|
| 4 | +1.26.0 (2020-11-10) |
| 5 | +------------------- |
| 6 | + |
| 7 | +* **NOTE: urllib3 v2.0 will drop support for Python 2**. |
| 8 | + `Read more in the v2.0 Roadmap <https://urllib3.readthedocs.io/en/latest/v2-roadmap.html>`_. |
| 9 | + |
| 10 | +* Added support for HTTPS proxies contacting HTTPS servers (Pull #1923, Pull #1806) |
| 11 | + |
| 12 | +* Deprecated negotiating TLSv1 and TLSv1.1 by default. Users that |
| 13 | + still wish to use TLS earlier than 1.2 without a deprecation warning |
| 14 | + should opt-in explicitly by setting ``ssl_version=ssl.PROTOCOL_TLSv1_1`` (Pull #2002) |
| 15 | + **Starting in urllib3 v2.0: Connections that receive a ``DeprecationWarning`` will fail** |
| 16 | + |
| 17 | +* Deprecated ``Retry`` options ``Retry.DEFAULT_METHOD_WHITELIST``, ``Retry.DEFAULT_REDIRECT_HEADERS_BLACKLIST`` |
| 18 | + and ``Retry(method_whitelist=...)`` in favor of ``Retry.DEFAULT_ALLOWED_METHODS``, |
| 19 | + ``Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT``, and ``Retry(allowed_methods=...)`` |
| 20 | + (Pull #2000) **Starting in urllib3 v2.0: Deprecated options will be removed** |
| 21 | + |
| 22 | +* Added default ``User-Agent`` header to every request (Pull #1750) |
| 23 | + |
| 24 | +* Added ``urllib3.util.SKIP_HEADER`` for skipping ``User-Agent``, ``Accept-Encoding``, |
| 25 | + and ``Host`` headers from being automatically emitted with requests (Pull #2018) |
| 26 | + |
| 27 | +* Collapse ``transfer-encoding: chunked`` request data and framing into |
| 28 | + the same ``socket.send()`` call (Pull #1906) |
| 29 | + |
| 30 | +* Send ``http/1.1`` ALPN identifier with every TLS handshake by default (Pull #1894) |
| 31 | + |
| 32 | +* Properly terminate SecureTransport connections when CA verification fails (Pull #1977) |
| 33 | + |
| 34 | +* Don't emit an ``SNIMissingWarning`` when passing ``server_hostname=None`` |
| 35 | + to SecureTransport (Pull #1903) |
| 36 | + |
| 37 | +* Disabled requesting TLSv1.2 session tickets as they weren't being used by urllib3 (Pull #1970) |
| 38 | + |
| 39 | +* Suppress ``BrokenPipeError`` when writing request body after the server |
| 40 | + has closed the socket (Pull #1524) |
| 41 | + |
| 42 | +* Wrap ``ssl.SSLError`` that can be raised from reading a socket (e.g. "bad MAC") |
| 43 | + into an ``urllib3.exceptions.SSLError`` (Pull #1939) |
| 44 | + |
| 45 | + |
4 | 46 | 1.25.11 (2020-10-19)
|
5 | 47 | --------------------
|
6 | 48 |
|
|
0 commit comments