HTTPX 0.29.0 arrived on 26 November 2026 with a changelog that fits in two lines. The minimum supported Python is now 3.10, and FunctionAuth is exposed from the public API. That is the whole release. No new transport or protocol support, and no behaviour change for existing code. A two-line release after almost two years of silence still deserves a close read, because the two lines point in different directions: one closes a door on an old interpreter, the other opens a small door for code that was already possible but awkward to reach.
The release is tagged 0.29.0 on GitHub and the files landed on PyPI the same day. The changelog lists exactly the same two items, which makes this one of the easier releases to describe accurately. There is nothing hidden in the diff to guess at, and the shortness of the notes is itself information about where the project stands.
A two-item release after nearly two years
The previous release, 0.28.1, came out on 6 December 2024 with a single SSL fix for the case where verify=False is combined with client-side certificates. Between that day and 26 November 2026, httpx shipped nothing. That gap is long for a library this widely used, and it shapes how to read 0.29.0. The release is a maintenance catch-up rather than a new chapter. It brings the supported Python range in line with the interpreters people actually run, and it promotes one small utility from a private module to the public API.
The gap also matters for anyone upgrading from an older pin. If a project still pins httpx 0.27 or earlier, the jump to 0.29.0 crosses 0.28.0 as well, and that release did carry breaking changes. Version 0.28.0 removed the deprecated proxies argument and the app shortcut, and it changed JSON request bodies to a more compact representation. Those changes are two years old now, but they are still the ones most likely to break an upgrade, because 0.29.0 itself breaks nothing. A project that already runs 0.28.x can move to 0.29.0 with the Python version as the only thing to check.
For readers who have not followed httpx closely, the library is the async-capable HTTP client that sits underneath much of the Python web stack. FastAPI’s TestClient and Starlette’s test client both run on it, and a large share of API clients and scrapers use it directly. A release this quiet leaves existing behaviour alone. It changes what the library promises to keep working on, and it tidies one corner of the API that had been left unfinished.
The Python 3.10 floor
The headline change is the floor. HTTPX 0.29.0 requires Python 3.10 or newer, up from 3.9. The release notes cite issue #3832 for the change. There is no new language feature in the release that forces the move, and the changelog offers no other reason. The move is housekeeping, and it is overdue housekeeping at that.
Python 3.9 is past end of life. The CPython developer guide’s status table lists 3.9 as end-of-life, which means it receives no more fixes of any kind, security included. Python 3.10, the new floor, is in the security-fix phase of its own life, which means it still receives security patches but no bug fixes. Dropping 3.9 therefore removes a version that no longer gets patches from the supported matrix, and it sets the floor at a version that is itself nearing the end of its supported life.
That last point is worth pausing on. A floor of 3.10 in late 2026 is conservative. Projects that want a longer runway will keep watching the floor, because 3.10’s security support ends in October 2026 by the original schedule, and the next httpx release will likely raise the floor again. For now, the practical effect is narrow. A project already on 3.10 or newer installs 0.29.0 and notices nothing. A project still on 3.9 gets a clear signal: the dependency has moved on, and the interpreter needs to move with it.
Checking where a project stands takes a minute. python --version shows the interpreter in use, and pip index versions httpx or the lock file shows the pinned httpx version. The check that matters most is the one people skip, which is the version running in the deployment image rather than the one on a laptop. A Dockerfile that starts from python:3.9-slim will keep working until the day someone runs pip install -U httpx, and then the install will refuse the new version or, worse, the lock file will silently hold the old one while the team assumes it is current. Pinning the interpreter image and the httpx version together is the fix, and it is the kind of fix that is easy to put off until a release like this one forces it.
There is also a second-order effect for library authors. A library that depends on httpx and still advertises support for Python 3.9 now has a dependency that no longer supports it. That combination either forces the library to pin httpx below 0.29.0 for its 3.9 users, or it forces the library to drop 3.9 itself. Most libraries will choose the second option, because maintaining a split dependency range for a dead interpreter is work with no upside. The httpx floor change will therefore show up as a wave of small floor changes in downstream projects over the next few months, each one citing httpx as the reason.
FunctionAuth, finally importable
The second change is smaller and more concrete. FunctionAuth can now be imported as httpx.FunctionAuth. Before this release, the class existed but was missing from the package’s public export list, so the only way to reach it was from httpx._auth import FunctionAuth, importing from a module whose leading underscore marks it as private. The pull request that fixes this adds the name to __all__ in httpx._auth, which is a one-line change. The author of the pull request describes it as an omission in #3106, the earlier change that introduced FunctionAuth in the first place.
What the class does is simple. It wraps a plain callable that takes a request and returns a modified request. The source spells it out in a single docstring: it allows the auth argument to be passed as a simple callable function that takes the request and returns a new, modified request. The implementation is three lines: store the callable, and in the auth flow, yield the result of calling it on the request. There is no token refresh, no challenge-response round trip, no state. It is the thinnest possible wrapper around a function.
A typical use looks like this:
import httpx
def add_api_key(request: httpx.Request) -> httpx.Request:
request.headers["Authorization"] = "Bearer my-token"
return request
client = httpx.Client(auth=httpx.FunctionAuth(add_api_key))
response = client.get("https://api.example.com/data")
The callable runs on every request the client sends, so it fits cases where the credential is computed at request time, such as signing a request with a timestamp or reading a token from a rotating store. It also fits test doubles, where a function can stamp a fixed header onto requests aimed at a mock transport. What it does not do is handle a 401 response and retry, which is the job of the digest flow. A callable that needs to react to a response belongs in a full Auth subclass with a generator-based auth_flow, as the authentication documentation describes for custom schemes.
The interesting question is why this took so long to expose. FunctionAuth was introduced in #3106 and then sat in a private module while the public documentation described the same pattern through subclassing. Users who found it by reading the source could use it, but anyone who relied on the public API surface, or on a linter that flags private imports, would have written a subclass instead. The one-line fix in 0.29.0 removes that split. It makes an existing feature reachable through the front door. The code was ready; the export list was not.
One caution applies. FunctionAuth takes a synchronous callable. An async callable that returns a coroutine will be stored and called, but the result will be the coroutine object rather than a modified request, and the request will go out unmodified or fail in a confusing way. The class is built for the synchronous path, and the async client has its own auth flow. Readers writing async code should keep using an Auth subclass with an async flow rather than reaching for this shortcut.
What this means for FastAPI and Starlette users
HTTPX matters to web developers less as a library they choose than as a library their framework chose for them. FastAPI’s TestClient is built on httpx, and Starlette’s test client is the same machinery. The site covered FastAPI 0.164.0 and 0.165.0 last week, when those releases added configurable request body and form limits, and the Starlette security fix for the BadHost header in September. HTTPX sits one layer below both of those stories, and its releases tend to arrive quietly because the framework releases absorb the attention.
For a FastAPI project, the 0.29.0 floor change lands in the test suite first. The application code runs under whatever Python the server uses, and the tests run under whatever Python the CI image uses, and those two are not always the same. A CI image pinned to Python 3.9 will fail to install the new httpx the next time the lock file is regenerated, and the failure will look like a dependency problem rather than a Python problem. The fix is the same as in any other project: move the CI image to 3.10 or newer, and move the server image with it if the two have drifted apart.
The FunctionAuth change is more useful in test code than in production code. A test suite that calls an API behind a bearer token can wrap the token logic in a function and pass it as the client’s auth, instead of subclassing Auth for a one-off header. It is a small ergonomic gain, and it is the kind of gain that shows up in test helpers rather than in application code. Production clients with real token refresh logic still need a proper Auth subclass, because refresh needs to see the 401 response before deciding what to do next.
There is one more connection worth noting. Starlette 1.10.0 shipped in late October with leaner form parsing, and FastAPI 0.164.0 and 0.165.0 followed in mid-November with configurable body and form limits. The Python web stack has spent the last two months tightening the same area from three directions: the framework, the ASGI toolkit, and now the HTTP client. None of these releases is dramatic on its own. Together they describe a stack that is being maintained in small, careful steps, with each project raising floors and closing gaps rather than adding surface.
Upgrading without surprises
The upgrade path is short, and it is worth walking through in order because the two changes in this release punish different kinds of inattention.
First, check the Python version in every place the project runs, including CI and the deployment image. If any of them is 3.9, upgrade the interpreter before touching httpx. The new version will not install on 3.9, and discovering that during a deploy is worse than discovering it during a planned upgrade.
Second, update the pin. pip install -U httpx moves a loose install to 0.29.0, and a lock file regenerates with the new version. Confirm the installed version with python -c "import httpx; print(httpx.__version__)" and confirm the public import works with python -c "import httpx; print(httpx.FunctionAuth)". Both commands should succeed without warnings on Python 3.10 or newer.
Third, run the test suite and look for two specific failures. The first is any import from httpx._auth, which still works but is now unnecessary, and which a linter may have been flagging all along. The second is any test that relied on the proxies or app arguments, which were removed in 0.28.0. A project jumping straight from 0.27 to 0.29.0 will hit those removals now, two years after they were announced, and the error will point at the httpx call rather than at the version that removed the argument. Replacing proxies= with proxy= or mounts=, and replacing the app= shortcut with an explicit transport=httpx.ASGITransport(app=...), clears both.
Fourth, check downstream pins. A library in the project’s dependency tree that still supports Python 3.9 may pin httpx below 0.29.0, and the resolver will then hold the old version without explanation. The lock file shows the resolved version, and that is the version that actually runs. If the lock file still shows 0.28.1 after an upgrade attempt, a transitive pin is the usual cause, and the fix is to upgrade the library that holds the pin rather than forcing httpx past it.
How this article was put together
This article is a release write-up, and its claims come from the release materials rather than from running code. The version number, the release date, and the two changes come from the 0.29.0 release notes and the changelog. The detail that FunctionAuth was an omission comes from pull request #3699, and the description of what the class does comes from the source of httpx/_auth.py. The Python version status comes from the CPython developer guide, and the authentication patterns come from the httpx authentication documentation. No httpx code was executed for this article, and no benchmark or performance figure appears here because the release materials contain none.
Readers can verify the core claims in under a minute. The release page shows the date and the two items. A fresh install with pip install httpx==0.29.0 followed by python -c "import httpx; print(httpx.FunctionAuth)" confirms the public import. The changelog entry for 0.28.1 confirms the gap since December 2024. Anything beyond those checks, such as the behaviour of a FunctionAuth callable under load, is outside what this release claims, and it is better left to a test run against the reader’s own service than asserted here.
HTTPX 0.29.0 is a small release, and its size is the point. A library that moves its Python floor and promotes a utility to the public API, without changing any behaviour, is a library being kept current. The work it asks of readers is equally small: check the interpreter version, update the pin, and replace a private import with a public one if it is in use. The projects that will feel this release most are the ones that have not touched their Python version or their httpx pin in two years, and for those projects the release is a useful nudge disguised as a changelog with two lines.
Your notes on this article
Your name or initials, note and date stay in this browser profile. Anyone using the profile can read them. Delete a note below or clear this site’s browser data. To reach the editors, report a correction.
No notes saved here