httpx breaking changes
Updated December 4, 2026
On this page
Latest version 0.29.0, released November 26, 2026. Source repository
Its 0.29.0 release requires Python 3.10 or later. Python end of life dates.
httpx 0.29.0 breaking changes
- Removed
The minimum supported Python is now 3.10, so users on older Python must upgrade before installing this release. github.com
httpx 0.28.0 breaking changes
- Removed
app
The app argument, previously deprecated, has been removed. Code passing it will fail and must be updated. github.com - Removed
proxies
The proxies argument, previously deprecated, has been removed. Code passing it will fail and must be updated. github.com - Behavior changed
The sets of characters percent-escaped in URLs were revised to follow the WHATWG spec, which can change the encoded URLs produced. github.com - Behavior changed
JSON request bodies are now serialized in a compact form, so the exact bytes sent may differ from before. github.com - Behavior changed
params
When params={} is passed, the existing querystring is now strictly replaced rather than merged with it. github.com - Signature changed
httpx.Client.__init__
Was def __init__(self, *, auth: AuthTypes | None = None, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, verify: VerifyTypes = True, cert: CertTypes | None = None, http1: bool... pypi.org - Signature changed
httpx.create_ssl_context
Was def create_ssl_context(cert: CertTypes | None = None, verify: VerifyTypes = True, trust_env: bool = True, http2: bool = False) -> ssl.SSLContext; now def create_ssl_context(verify: ssl.SSLContext | str | bool = True, cert: CertTypes |... pypi.org - Signature changed
httpx.delete
Was def delete(url: URL | str, *, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, auth: AuthTypes | None = None, proxy: ProxyTypes | None = None, proxies: ProxiesTypes | None =... pypi.org - Signature changed
httpx.get
Was def get(url: URL | str, *, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, auth: AuthTypes | None = None, proxy: ProxyTypes | None = None, proxies: ProxiesTypes | None =... pypi.org - Signature changed
httpx.head
Was def head(url: URL | str, *, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, auth: AuthTypes | None = None, proxy: ProxyTypes | None = None, proxies: ProxiesTypes | None =... pypi.org
And 11 more in this version. Sign up to see every change
httpx 0.27.1 breaking changes
- Signature changed
httpx.AsyncClient.build_request
Was def build_request(self, method: str, url: URLTypes, *, content: RequestContent | None = None, data: RequestData | None = None, files: RequestFiles | None = None, json: typing.Any | None = None, params: QueryParamTypes | None = None... pypi.org - Signature changed
httpx.Client.__init__
Was def __init__(self, *, auth: AuthTypes | None = None, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, verify: VerifyTypes = True, cert: CertTypes | None = None, http1: bool... pypi.org - Signature changed
httpx.Client.delete
Was def delete(self, url: URLTypes, *, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, auth: AuthTypes | UseClientDefault = USE_CLIENT_DEFAULT, follow_redirects: bool |... pypi.org - Signature changed
httpx.Client.get
Was def get(self, url: URLTypes, *, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, auth: AuthTypes | UseClientDefault = USE_CLIENT_DEFAULT, follow_redirects: bool |... pypi.org - Signature changed
httpx.Client.head
Was def head(self, url: URLTypes, *, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, auth: AuthTypes | UseClientDefault = USE_CLIENT_DEFAULT, follow_redirects: bool |... pypi.org - Signature changed
httpx.Client.options
Was def options(self, url: URLTypes, *, params: QueryParamTypes | None = None, headers: HeaderTypes | None = None, cookies: CookieTypes | None = None, auth: AuthTypes | UseClientDefault = USE_CLIENT_DEFAULT, follow_redirects: bool |... pypi.org - Signature changed
httpx.Client.patch
Was def patch(self, url: URLTypes, *, content: RequestContent | None = None, data: RequestData | None = None, files: RequestFiles | None = None, json: typing.Any | None = None, params: QueryParamTypes | None = None, headers: HeaderTypes |... pypi.org - Signature changed
httpx.Client.post
Was def post(self, url: URLTypes, *, content: RequestContent | None = None, data: RequestData | None = None, files: RequestFiles | None = None, json: typing.Any | None = None, params: QueryParamTypes | None = None, headers: HeaderTypes |... pypi.org - Signature changed
httpx.Client.put
Was def put(self, url: URLTypes, *, content: RequestContent | None = None, data: RequestData | None = None, files: RequestFiles | None = None, json: typing.Any | None = None, params: QueryParamTypes | None = None, headers: HeaderTypes |... pypi.org - Signature changed
httpx.Client.request
Was def request(self, method: str, url: URLTypes, *, content: RequestContent | None = None, data: RequestData | None = None, files: RequestFiles | None = None, json: typing.Any | None = None, params: QueryParamTypes | None = None, headers... pypi.org
And 12 more in this version. Sign up to see every change
httpx 0.26.0 breaking changes
- Signature changed
httpx.Client.__init__
Was def __init__(self, *, auth: typing.Optional[AuthTypes] = None, params: typing.Optional[QueryParamTypes] = None, headers: typing.Optional[HeaderTypes] = None, cookies: typing.Optional[CookieTypes] = None, verify: VerifyTypes = True... pypi.org - Signature changed
httpx.delete
Was def delete(url: URLTypes, *, params: typing.Optional[QueryParamTypes] = None, headers: typing.Optional[HeaderTypes] = None, cookies: typing.Optional[CookieTypes] = None, auth: typing.Optional[AuthTypes] = None, proxies... pypi.org - Signature changed
httpx.get
Was def get(url: URLTypes, *, params: typing.Optional[QueryParamTypes] = None, headers: typing.Optional[HeaderTypes] = None, cookies: typing.Optional[CookieTypes] = None, auth: typing.Optional[AuthTypes] = None, proxies... pypi.org - Signature changed
httpx.head
Was def head(url: URLTypes, *, params: typing.Optional[QueryParamTypes] = None, headers: typing.Optional[HeaderTypes] = None, cookies: typing.Optional[CookieTypes] = None, auth: typing.Optional[AuthTypes] = None, proxies... pypi.org - Signature changed
httpx.HTTPTransport.__init__
Was def __init__(self, verify: VerifyTypes = True, cert: typing.Optional[CertTypes] = None, http1: bool = True, http2: bool = False, limits: Limits = DEFAULT_LIMITS, trust_env: bool = True, proxy: typing.Optional[Proxy] = None, uds... pypi.org - Signature changed
httpx.options
Was def options(url: URLTypes, *, params: typing.Optional[QueryParamTypes] = None, headers: typing.Optional[HeaderTypes] = None, cookies: typing.Optional[CookieTypes] = None, auth: typing.Optional[AuthTypes] = None, proxies... pypi.org - Signature changed
httpx.patch
Was def patch(url: URLTypes, *, content: typing.Optional[RequestContent] = None, data: typing.Optional[RequestData] = None, files: typing.Optional[RequestFiles] = None, json: typing.Optional[typing.Any] = None, params... pypi.org - Signature changed
httpx.post
Was def post(url: URLTypes, *, content: typing.Optional[RequestContent] = None, data: typing.Optional[RequestData] = None, files: typing.Optional[RequestFiles] = None, json: typing.Optional[typing.Any] = None, params... pypi.org - Signature changed
httpx.put
Was def put(url: URLTypes, *, content: typing.Optional[RequestContent] = None, data: typing.Optional[RequestData] = None, files: typing.Optional[RequestFiles] = None, json: typing.Optional[typing.Any] = None, params... pypi.org - Signature changed
httpx.request
Was def request(method: str, url: URLTypes, *, params: typing.Optional[QueryParamTypes] = None, content: typing.Optional[RequestContent] = None, data: typing.Optional[RequestData] = None, files: typing.Optional[RequestFiles] = None, json... pypi.org
And 1 more in this version. Sign up to see every change
httpx 0.25.0 breaking changes
- Removed
Python 3.7 is no longer supported by this release, so users on Python 3.7 must upgrade their Python version to keep using httpx. github.com - Behavior changed
Forward slashes in query parameters are now always encoded as %2F, so code that relied on raw slashes in query strings may send different URLs. github.com - Signature changed
httpx.HTTPTransport.__init__
Was def __init__(self, verify: VerifyTypes = True, cert: typing.Optional[CertTypes] = None, http1: bool = True, http2: bool = False, limits: Limits = DEFAULT_LIMITS, trust_env: bool = True, proxy: typing.Optional[Proxy] = None, uds... pypi.org - Signature changed
httpx.Proxy.__init__
Was def __init__(self, url: URLTypes, *, auth: typing.Optional[typing.Tuple[str, str]] = None, headers: typing.Optional[HeaderTypes] = None); now def __init__(self, url: URLTypes, *, ssl_context: typing.Optional[ssl.SSLContext] = None... pypi.org - Signature changed
httpx.Response.raise_for_status
Was def raise_for_status(self) -> None; now def raise_for_status(self) -> Response. pypi.org
httpx 0.24.0 breaking changes
- Removed
httpx no longer installs the rfc3986 dependency. Code that imported rfc3986 through httpx must install it separately. github.com - Behavior changed
Logging now follows standard Python usage with DEBUG messages at the network level. The custom TRACE log level is gone and HTTPX_LOG_LEVEL no longer auto-configures logging. github.com - Behavior changed
Spaces are now encoded as %20 instead of +, and forward slashes are no longer escaped as %2F. Code that depends on the old encoding of query strings will see different output. github.com - Behavior changed
NetRC credentials are no longer used automatically and must be enabled explicitly with httpx.NetRCAuth(). Code relying on automatic netrc auth must add this class. github.com - Behavior changed
Response.iter_lines
iter_lines() now matches the stdlib and returns lines without their newline characters. Code that relied on the newlines being present must be updated. github.com - Signature changed
httpx.MockTransport.__init__
Was def __init__(self, handler: typing.Callable[[Request], Response]) -> None; now def __init__(self, handler: typing.Union[SyncHandler, AsyncHandler]) -> None. pypi.org
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
httpx 0.23.0 breaking changes
- Removed
The release no longer supports Python 3.6. Code running on Python 3.6 must move to a newer Python version. github.com - Removed
httpx.Response.apparent_encoding
Response.apparent_encoding was removed in httpx 0.23.0 pypi.org
And 49 more in this version.
httpx 0.22.0 breaking changes
- Removed
httpx.Client.__del__
Client.__del__ was removed in httpx 0.22.0 pypi.org - Signature changed
httpx.Proxy.__init__
Was def __init__(self, url: URLTypes, *, headers: HeaderTypes = None); now def __init__(self, url: URLTypes, *, auth: typing.Tuple[str, str] = None, headers: HeaderTypes = None). pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.