# axios/release
Axios v0.34.0
importance: highbreakingfeaturesecurity
This release hardens request configuration and proxy handling, adds caller diagnostics and cancellation context, and tightens TypeScript header types.
affected
Users relying on Promises, functions, or custom objects as header values, or using NO_PROXY with CIDR ranges, will need to update their code.
action
Review and update header value assignments and NO_PROXY configurations to comply with the new TypeScript header type restrictions and CIDR range support.
release_signals
-TypeScript now rejects header values that are Promises, functions, or objects with custom toString() methods. Resolve promises, call functions, or explicitly convert objects before assigning header values.
-NO_PROXY / no_proxy entries now support IPv4 and IPv6 CIDR ranges. Previously ineffective ranges now cause matching IP destinations to bypass the proxy; review existing ranges when upgrading.
!Prevent inherited properties from influencing form serializer options, default request methods, headers on interceptor-returned configs, and HTTP redirect hooks.
!Replace quadratic regular-expression backtracking in proxy bypass hostname normalization with a linear scan, preventing excessive processing of crafted redirect hostnames.
+Caller Diagnostics: Enable captureCallerStack: true on a request or instance to append original caller frames to asynchronous error stacks.
+Cancellation Context: Preserve AbortSignal.reason as CanceledError.reason, including objects and falsy values.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.