Skip to navigation

5.41.8

(fix): Fix SDKs generated with tcp_keepalive.enabled: true ignoring the HTTP_PROXY, HTTPS_PROXY, ALL_PROXY and NO_PROXY environment variables. httpx skips environment proxies whenever a custom transport is passed, so the default sync and async clients now also pass mounts built from the environment proxies, each carrying the keepalive socket options.

5.41.7

(fix): Add the http_client_extra option. When set (e.g. http_client_extra: client), httpx is declared as an optional dependency exposed under that extra (pip install <pkg>[client]), so a plain install of a package used for its models only (e.g. TwiML) does not pull in the HTTP stack. Off by default; existing SDKs are unchanged.

5.41.6

(fix): Respect the retry-after-ms response header when computing retry delays. The header value was compared to 0 before being converted to a number, raising a TypeError that was silently swallowed, so the client always fell back to Retry-After or exponential backoff.