Skip to content
Myr

CHANGELOG.md

This file

Path

CHANGELOG.md

232 lines · 8.7 KiB · Markdown

Last changed by

Add 'fork' to auto backend (#614)Tom Christiebefore adoptionf55db15

History of this file

Take it

The walk stopped after 200 commits: lines older than c35dbce point at it.

Release 0.7.0 (#228)Seth Michael Larsonbefore adoptionc35dbce

lines 1–2why, one step back
1# Changelog
2

Release 0.7.3 (#362)Florimond Mancabefore adoption7a08aaa

lines 3–6why, one step back
3All notable changes to this project will be documented in this file.
45The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).6

Add 'fork' to auto backend (#614)Tom Christiebefore adoptionf55db15

lines 7–12why, one step back
7## 0.9.3 (December 7th, 2019)
89### Fixed1011- Fixed HTTP/2 with autodetection backend. (Pull #614)12

Add 0.9.2 noteTom Christiebefore adoption2394aab

lines 13–16why, one step back
13## 0.9.2 (December 7th, 2019)
1415* Released due to packaging build artifact.16

0.9.1 noteTom Christiebefore adoption0aa1815

lines 17–20why, one step back
17## 0.9.1 (December 6th, 2019)
1819* Released due to packaging build artifact.20

Version 0.9 (#606)Tom Christiebefore adoption8d1bc9e

line 21why, one step back
21## 0.9.0 (December 6th, 2019)

Update changelog to include 'master' (#596)Tom Christiebefore adoption38a9d77

line 22why, one step back
22

Version 0.9 (#606)Tom Christiebefore adoption8d1bc9e

lines 23–35why, one step back
23The 0.9 releases brings some major new features, including:
2425* A new streaming API.26* Autodetection of either asyncio or trio.27* Nicer timeout configuration.28* HTTP/2 support off by default, but can be enabled.2930We've also removed all private types from the top-level package export.3132In order to ensure you are only ever working with public API you should make33sure to only import the top-level package eg. `import httpx`, rather than34importing modules within the package.35

Update changelog to include 'master' (#596)Tom Christiebefore adoption38a9d77

lines 36–51why, one step back
36### Added
3738- Added concurrency backend autodetection. (Pull #585)39- Added `Client(backend='trio')` and `Client(backend='asyncio')` API. (Pull #585)40- Added `response.stream_lines()` API. (Pull #575)41- Added `response.is_error` API. (Pull #574)42- Added support for `timeout=Timeout(5.0, connect_timeout=60.0)` styles. (Pull #593)4344### Fixed4546- Requests or Clients with `timeout=None` now correctly always disable timeouts. (Pull #592)47- Request 'Authorization' headers now have priority over `.netrc` authentication info. (Commit 095b691)48- Files without a filename no longer set a Content-Type in multipart data. (Commit ed94950)4950### Changed51

Version 0.9 (#606)Tom Christiebefore adoption8d1bc9e

line 52why, one step back
52- Added `httpx.stream()` API. Using `stream=True` now results in a warning. (Pull #600, #610)

Update changelog to include 'master' (#596)Tom Christiebefore adoption38a9d77

lines 53–54why, one step back
53- HTTP/2 support is switched to "off by default", but can be enabled explicitly. (Pull #584)
54- Switched to `Client(http2=True)` API from `Client(http_versions=["HTTP/1.1", "HTTP/2"])`. (Pull #586)

Version 0.9 (#606)Tom Christiebefore adoption8d1bc9e

lines 55–57why, one step back
55- Removed all private types from the top-level package export. (Pull #608)
56- The SSL configuration settings of `verify`, `cert`, and `trust_env` now raise warnings if used per-request when using a Client instance. They should always be set on the Client instance itself. (Pull #597)57- Use plain strings "TUNNEL_ONLY" or "FORWARD_ONLY" on the HTTPProxy `proxy_mode` argument. The `HTTPProxyMode` enum still exists, but its usage will raise warnings. (#610)

Update changelog to include 'master' (#596)Tom Christiebefore adoption38a9d77

lines 58–60why, one step back
58- Pool timeouts are now on the timeout configuration, not the pool limits configuration. (Pull #563)
59- The timeout configuration is now named `httpx.Timeout(...)`, not `httpx.TimeoutConfig(...)`. The old version currently remains as a synonym for backwards compatability. (Pull #591)60

Update CHANGELOG.mdTom Christiebefore adoption1c9167e

lines 61–64why, one step back
61## 0.8.0 (November 27, 2019)
6263### Removed64

Update changelog to include 'master' (#596)Tom Christiebefore adoption38a9d77

line 65why, one step back
65- The synchronous API has been removed, in order to allow us to fundamentally change how we approach supporting both sync and async variants. (See #588 for more details.)

Update CHANGELOG.mdTom Christiebefore adoption1c9167e

line 66why, one step back
66

Release 0.7.8 (#536)Florimond Mancabefore adoptiona5f9983

lines 67–72why, one step back
67## 0.7.8 (November 17, 2019)
6869### Added7071- Add support for proxy tunnels for Python 3.6 + asyncio. (Pull #521)72

Version 0.7.7 (#532)Tom Christiebefore adoption6045ee2

lines 73–83why, one step back
73## 0.7.7 (November 15, 2019)
7475### Fixed7677- Resolve an issue with cookies behavior on redirect requests. (Pull #529)7879### Added8081- Add request/response DEBUG logs. (Pull #502)82- Use TRACE log level for low level info. (Pull #500)83

Release 0.7.6 (#499)Florimond Mancabefore adoptiona629478

lines 84–96why, one step back
84## 0.7.6 (November 2, 2019)
8586### Removed8788- Drop `proxies` parameter from the high-level API. (Pull #485)8990### Fixed9192- Tweak multipart files: omit null filenames, add support for `str` file contents. (Pull #482)93- Cache NETRC authentication per-client. (Pull #400)94- Rely on `getproxies` for all proxy environment variables. (Pull #470)95- Wait for the `asyncio` stream to close when closing a connection. (Pull #494)96

Release 0.7.5 (#468)Seth Michael Larsonbefore adoptionc1f5127

lines 97–116why, one step back
97## 0.7.5 (October 10, 2019)
9899### Added100101- Allow lists of values to be passed to `params`. (Pull #386)102- `ASGIDispatch`, `WSGIDispatch` are now available in the `httpx.dispatch` namespace. (Pull #407)103- `HTTPError` is now available in the `httpx` namespace. (Pull #421)104- Add support for `start_tls()` to the Trio concurrency backend. (Pull #467)105106### Fixed107108- Username and password are no longer included in the `Host` header when basic authentication109 credentials are supplied via the URL. (Pull #417)110111### Removed112113- The `.delete()` function no longer has `json`, `data`, or `files` parameters114 to match the expected semantics of the `DELETE` method. (Pull #408)115- Removed the `trio` extra. Trio support is detected automatically. (Pull #390)116

Release 0.7.4 (#388)Florimond Mancabefore adoption640667d

lines 117–131why, one step back
117## 0.7.4 (September 25, 2019)
118119### Added120121- Add Trio concurrency backend. (Pull #276)122- Add `params` parameter to `Client` for setting default query parameters. (Pull #372)123- Add support for `SSL_CERT_FILE` and `SSL_CERT_DIR` environment variables. (Pull #307)124- Add debug logging to calls into ASGI apps. (Pull #371)125- Add debug logging to SSL configuration. (Pull #378)126127### Fixed128129- Fix a bug when using `Client` without timeouts in Python 3.6. (Pull #383)130- Propagate `Client` configuration to HTTP proxies. (Pull #377)131

Release 0.7.3 (#362)Florimond Mancabefore adoption7a08aaa

lines 132–154why, one step back
132## 0.7.3 (September 20, 2019)
133134### Added135136- HTTP Proxy support. (Pulls #259, #353)137- Add Digest authentication. (Pull #332)138- Add `.build_request()` method to `Client` and `AsyncClient`. (Pull #319)139- Add `.elapsed` property on responses. (Pull #351)140- Add support for `SSLKEYLOGFILE` in Python 3.8b4+. (Pull #301)141142### Removed143144- Drop NPN support for HTTP version negotiation. (Pull #314)145146### Fixed147148- Fix distribution of type annotations for mypy (Pull #361).149- Set `Host` header when redirecting cross-origin. (Pull #321)150- Drop `Content-Length` headers on `GET` redirects. (Pull #310)151- Raise `KeyError` if header isn't found in `Headers`. (Pull #324)152- Raise `NotRedirectResponse` in `response.next()` if there is no redirection to perform. (Pull #297)153- Fix bug in calculating the HTTP/2 maximum frame size. (Pull #153)154

Release 0.7.2 (#291)Seth Michael Larsonbefore adoption8c456e4

lines 155–165why, one step back
155## 0.7.2 (August 28, 2019)
156157- Enforce using `httpx.AsyncioBackend` for the synchronous client. (Pull #232)158- `httpx.ConnectionPool` will properly release a dropped connection. (Pull #230)159- Remove the `raise_app_exceptions` argument from `Client`. (Pull #238)160- `DecodeError` will no longer be raised for an empty body encoded with Brotli. (Pull #237)161- Added `http_versions` parameter to `Client`. (Pull #250)162- Only use HTTP/1.1 on short-lived connections like `httpx.get()`. (Pull #284)163- Convert `Client.cookies` and `Client.headers` when set as a property. (Pull #274)164- Setting `HTTPX_DEBUG=1` enables debug logging on all requests. (Pull #277)165

Release 0.7.1 (#234)Seth Michael Larsonbefore adoptioncaba785

lines 166–169why, one step back
166## 0.7.1 (August 18, 2019)
167168- Include files with source distribution to be installable. (Pull #233)169

Release 0.7.0 (#228)Seth Michael Larsonbefore adoptionc35dbce

lines 170–232why, one step back
170## 0.7.0 (August 17, 2019)
171172- Add the `trust_env` property to `BaseClient`. (Pull #187)173- Add the `links` property to `BaseResponse`. (Pull #211)174- Accept `ssl.SSLContext` instances into `SSLConfig(verify=...)`. (Pull #215)175- Add `Response.stream_text()` with incremental encoding detection. (Pull #183)176- Properly updated the `Host` header when a redirect changes the origin. (Pull #199)177- Ignore invalid `Content-Encoding` headers. (Pull #196)178- Use `~/.netrc` and `~/_netrc` files by default when `trust_env=True`. (Pull #189)179- Create exception base class `HTTPError` with `request` and `response` properties. (Pull #162)180- Add HSTS preload list checking within `BaseClient` to upgrade HTTP URLs to HTTPS. (Pull #184)181- Switch IDNA encoding from IDNA 2003 to IDNA 2008. (Pull #161)182- Expose base classes for alternate concurrency backends. (Pull #178)183- Improve Multipart parameter encoding. (Pull #167)184- Add the `headers` proeprty to `BaseClient`. (Pull #159)185- Add support for Google's `brotli` library. (Pull #156)186- Remove deprecated TLS versions (TLSv1 and TLSv1.1) from default `SSLConfig`. (Pull #155)187- Fix `URL.join(...)` to work similarly to RFC 3986 URL joining. (Pull #144)188189## 0.6.8 (July 25, 2019)190191- Check for disconnections when searching for an available192 connection in `ConnectionPool.keepalive_connections` (Pull #145)193- Allow string comparison for `URL` objects (Pull #139)194- Add HTTP status codes 418 and 451 (Pull #135)195- Add support for client certificate passwords (Pull #118)196- Enable post-handshake client cert authentication for TLSv1.3 (Pull #118)197- Disable using `commonName` for hostname checking for OpenSSL 1.1.0+ (Pull #118)198- Detect encoding for `Response.json()` (Pull #116)199200## 0.6.7 (July 8, 2019)201202- Check for connection aliveness on re-acquiry (Pull #111)203204## 0.6.6 (July 3, 2019)205206- Improve `USER_AGENT` (Pull #110)207- Add `Connection: keep-alive` by default to HTTP/1.1 connections. (Pull #110)208209## 0.6.5 (June 27, 2019)210211- Include `Host` header by default. (Pull #109)212- Improve HTTP protocol detection. (Pull #107)213214## 0.6.4 (June 25, 2019)215216- Implement read and write timeouts (Pull #104)217218## 0.6.3 (June 24, 2019)219220- Handle early connection closes (Pull #103)221222## 0.6.2 (June 23, 2019)223224- Use urllib3's `DEFAULT_CIPHERS` for the `SSLConfig` object. (Pull #100)225226## 0.6.1 (June 21, 2019)227228- Add support for setting a `base_url` on the `Client`.229230## 0.6.0 (June 21, 2019)231232- Honor `local_flow_control_window` for HTTP/2 connections (Pull #98)