Repository navigation
perf(core): reduce request configuration merge overhead - #11208
Merged
Merged
Conversation
Contributor
|
mandervrik
approved these changes
Sep 27, 2026
isPlainObject only admits values whose prototype is null, Object.prototype, or a terminal null-prototype template. Each of those is a traversal boundary for hasOwnInPrototypeChain, so the two walks it ran per call could never observe anything but the value's own Symbol.toStringTag / Symbol.iterator, while allocating a `seen` list and re-reading the prototype every time. Check the own members inline instead, keeping the fail-closed rule that a same-realm Object.prototype source is never inspected (isPrototypeBoundary with source=true). isPlainObject sits under utils.merge and mergeConfig, so it runs many times per request. Adds tests locking the boundary cases, including Object.prototype carrying an own Symbol.iterator / Symbol.toStringTag. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_018efYMq87vM9TjcRupxhNNA
In caseless mode, merge() called findKey(result, key) for every assigned key, which rescans Object.keys(result) and lowercases each existing key, so merging N headers cost O(N^2) string allocations. mergeConfig uses this mode for the headers strategy on every request. Keep a null-prototype lowercase -> key index for the duration of one merge instead. Every string key that lands in `result` passes through the index first, so `result` can never hold two case variants of a key and the index answers exactly what findKey would find. A key recorded but then skipped by skipUndefined is not in `result`, so the later spelling wins as before. Symbol keys stay identity-matched and the unsafe-key filter is unchanged. Adds tests for multi-source caseless merging, same-source case variants, nested case-sensitivity, the skipUndefined interaction and unsafe keys. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_018efYMq87vM9TjcRupxhNNA
mergeConfig rebuilt its 30-entry strategy map and seven strategy closures on every call, plus a fresh null-prototype descriptor for the restored hasOwnProperty slot. mergeConfig() runs up to twice per request (twice for method aliases: once in the alias, once in Axios#_request; once for axios(config) / axios.request(config)), so hoist the stateless strategies and the frozen descriptor to module scope. mergeDirectKeys is the only strategy that needs the source configs and now receives them explicitly; all other strategies keep their signatures, and the merge order, unsafe-key filtering and validateStatus handling are unchanged. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_018efYMq87vM9TjcRupxhNNA
Move the prerelease note into the Maintenance section required by AGENTS.md for internal changes without user-visible behavior changes, and link the PR and issue. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01HsiczgNPBD4HViHXxRwQXo
ShikeChen01
force-pushed
the
perf/merge-config
branch
from
October 10, 2026 21:43
6522b68 to
c453b8d
Compare
jasonsaayman
approved these changes
Oct 13, 2026
Open
7 of 8 tasks
8 tasks done
gasperzgonec
pushed a commit
to devrev/airsync-template
that referenced
this pull request
Dec 3, 2026

<h3>Snyk has created this PR to upgrade axios from 1.20.0 to
1.21.0.</h3>
:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>
- The recommended version is **1 version** ahead of your current
version.
- The recommended version was released **22 days ago**.
Fixes issue: https://app.devrev.ai/devrev/works/ISS-401379
#### Breaking Change Risk

> **Notice:** This assessment is enhanced by AI.
<details>
<summary><b>Release notes</b></summary>
<br/>
<details>
<summary>Package name: <b>axios</b></summary>
<ul>
<li>
<b>1.21.0</b> - <a
href="https://redirect.github.com/axios/axios/releases/tag/v1.21.0">2026-10-27</a></br><h2>v1.21.0
— October 21, 2026</h2>
<p>This release adds response timing and opt-in UTF-8 Basic
authentication, improves request handling across runtimes, and changes
how header defaults are recognized.</p>
<h2><g-emoji class="g-emoji" alias="warning">⚠️</g-emoji> Breaking
Changes & Deprecations</h2>
<ul>
<li><strong>Header Defaults:</strong> Only plain objects, null-prototype
maps, and compatible <code>AxiosHeaders</code> instances are treated as
common or method-specific defaults; literal headers such as
<code>Link</code> are now preserved. Applications using custom class
instances as defaults must convert them to plain maps, for example
<code>{ post: { ...customDefaults } }</code>, or compatible
<code>AxiosHeaders</code>. Otherwise, those instances become literal
header values, including on requests using other methods. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11156"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11156/hovercard">#11156</a></strong>)</li>
</ul>
<h2>🚀 New Features</h2>
<ul>
<li><strong>Response Timing:</strong> Added
<code>response.duration</code>, in milliseconds, including on
<code>error.response</code> when present. Timing measures adapter
execution and excludes interceptors and transforms; streamed responses
stop timing when the stream becomes available. Axios replaces any
existing <code>duration</code> value supplied by a custom adapter.
(<strong><a href="https://redirect.github.com/axios/axios/pull/11214"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11214/hovercard">#11214</a></strong>)</li>
<li><strong>UTF-8 Basic Authentication:</strong> Added
<code>transitional.encodeBasicAuthUsername: true</code> to support
Unicode usernames in XHR and Fetch requests. The option defaults to
<code>false</code>, preserving existing authentication behavior;
applications opting in should supply the original Unicode username and
remove manual pre-encoding workarounds. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11159"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11159/hovercard">#11159</a></strong>)</li>
</ul>
<h2>🐛 Bug Fixes</h2>
<ul>
<li><strong>Fetch Compatibility:</strong> Restored requests in runtimes
such as Cloudflare Workers that reject the implicit <code>cache:
'default'</code>, while preserving explicit caller settings.
Response-size failures now retain their original
<code>ERR_BAD_RESPONSE</code> and request context when runtime wrappers
replace the underlying stream error. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11194"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11194/hovercard">#11194</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11179"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11179/hovercard">#11179</a></strong>)</li>
<li><strong>Runtime Consistency:</strong> Aligned encoded-byte size
accounting, multipart uploads, proxy routing, same-origin resolution,
parameter merging, and form serialization across adapters. Circular
parameters now reject with <code>ERR_BAD_OPTION_VALUE</code>, and sparse
or non-index numeric form fields serialize as keyed objects. With
<code>proxy: false</code>, native <code>proxyEnv</code> agents using
unsupported pool-management or TLS-session lifecycle overrides now
reject with <code>ERR_BAD_OPTION_VALUE</code>; construct those agents
without <code>proxyEnv</code>. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11242"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11242/hovercard">#11242</a></strong>)</li>
<li><strong>Header Handling:</strong> Preserved headers named
<code>__proto__</code> using safe casing without changing the
<code>AxiosHeaders</code> instance prototype. Function matchers in
<code>has()</code>, <code>delete()</code>, and <code>clear()</code> now
receive the headers instance as <code>this</code>, matching their
declared contract. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11134"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11134/hovercard">#11134</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11216"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11216/hovercard">#11216</a></strong>)</li>
<li><strong>URL and Data URL Parsing:</strong> Accepted case-insensitive
supported URL schemes and Base64 markers, and corrected decoding of
percent-encoded Base64 data URLs. Node data URL allocation estimates
remain aligned with decoding so configured size limits apply before
allocation. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11138"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11138/hovercard">#11138</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11163"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11163/hovercard">#11163</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11294"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11294/hovercard">#11294</a></strong>)</li>
<li><strong>Error Diagnostics:</strong> Preserved short reconstructed
request stacks and appended wrapped error stacks under <code>Caused
by:</code> so tooling that reads only <code>error.stack</code> retains
the original failure context. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11132"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11132/hovercard">#11132</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11142"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11142/hovercard">#11142</a></strong>)</li>
<li><strong>Interceptor Removal:</strong> Restored removal through
canonical numeric-string interceptor IDs, including after registry
compaction. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11139"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11139/hovercard">#11139</a></strong>)</li>
<li><strong>Proxy TLS:</strong> HTTPS CONNECT tunnels now apply current
origin TLS options from an explicit <code>httpsAgent</code>, or from
<code>https.globalAgent</code> when no explicit agent is supplied. This
preserves process-wide custom CA settings through proxy tunnels.
(<strong><a href="https://redirect.github.com/axios/axios/pull/11178"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11178/hovercard">#11178</a></strong>)</li>
<li><strong>XHR Lifecycle:</strong> Used asynchronous Cookie Store reads
for XSRF tokens where supported, preserving cookie fallback, timeout
accounting, and cancellation. Upload and download progress listeners are
now removed on completion, failure, timeout, and cancellation.
(<strong><a href="https://redirect.github.com/axios/axios/pull/11166"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11166/hovercard">#11166</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11225"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11225/hovercard">#11225</a></strong>)</li>
<li><strong>HTTP/2 Sessions:</strong> Stopped reusing sessions
immediately after GOAWAY and prevented draining sessions from scheduling
idle timers that could delay process exit. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11210"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11210/hovercard">#11210</a></strong>)</li>
<li><strong>TypeScript Declarations:</strong> Exposed the
response-default marker as a public type to resolve <code>TS2527</code>
when consumers emit declarations involving unresolved response generics,
covering both ESM and CommonJS. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11125"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11125/hovercard">#11125</a></strong>)</li>
</ul>
<h2>🔧 Maintenance & Chores</h2>
<ul>
<li><strong>Configuration Performance:</strong> Reduced request
configuration merge overhead, particularly for requests with many
headers, while preserving merge semantics and prototype-pollution
guards. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11208"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11208/hovercard">#11208</a></strong>)</li>
<li><strong>Same-Origin Checks:</strong> Removed obsolete Internet
Explorer detection without changing origin decisions in supported
environments. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11174"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11174/hovercard">#11174</a></strong>)</li>
<li><strong>Dependencies:</strong> Updated <code>follow-redirects</code>
to 1.16.1 and refreshed development, documentation, test, and GitHub
Actions dependencies. Removed unused <code>dayjs</code> from the docs
package, root <code>chalk</code>, and <code>chai</code> from CJS module
tests. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11169"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11169/hovercard">#11169</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11188"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11188/hovercard">#11188</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11189"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11189/hovercard">#11189</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11195"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11195/hovercard">#11195</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11212"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11212/hovercard">#11212</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11213"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11213/hovercard">#11213</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11218"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11218/hovercard">#11218</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11220"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11220/hovercard">#11220</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11221"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11221/hovercard">#11221</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11230"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11230/hovercard">#11230</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11234"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11234/hovercard">#11234</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11244"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11244/hovercard">#11244</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11245"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11245/hovercard">#11245</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11266"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11266/hovercard">#11266</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11267"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11267/hovercard">#11267</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11268"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11268/hovercard">#11268</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11269"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11269/hovercard">#11269</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11270"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11270/hovercard">#11270</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11271"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11271/hovercard">#11271</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11272"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11272/hovercard">#11272</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11298"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11298/hovercard">#11298</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11302"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11302/hovercard">#11302</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11303"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11303/hovercard">#11303</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11304"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11304/hovercard">#11304</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11305"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11305/hovercard">#11305</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11306"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11306/hovercard">#11306</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11313"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11313/hovercard">#11313</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11321"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11321/hovercard">#11321</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11322"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11322/hovercard">#11322</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11323"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11323/hovercard">#11323</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11342"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11342/hovercard">#11342</a></strong>)</li>
<li><strong>Documentation:</strong> Fixed interceptor test links,
updated README CDN examples to the published 1.20.0 bundle, and
corrected guidance on interceptor options and request lifecycle
ordering. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11228"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11228/hovercard">#11228</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11149"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11149/hovercard">#11149</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11335"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11335/hovercard">#11335</a></strong>)</li>
<li><strong>Contributor Workflow:</strong> Consolidated agent
instructions in <code>AGENTS.md</code>, standardized PR labels, required
prerelease notes and validation evidence, and clarified that <code>npm
test</code> requires installed Playwright browsers. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11238"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11238/hovercard">#11238</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11273"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11273/hovercard">#11273</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11223"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11223/hovercard">#11223</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11284"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11284/hovercard">#11284</a></strong>)</li>
<li><strong>Sponsors and Support:</strong> Added HeroDevs, Code for
Japan, and Sweepico sponsor listings, refreshed sponsor data, and
documented extended security support for Axios v0. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11222"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11222/hovercard">#11222</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11249"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11249/hovercard">#11249</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11252"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11252/hovercard">#11252</a></strong>,
<strong><a href="https://redirect.github.com/axios/axios/pull/11341"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11341/hovercard">#11341</a></strong>)</li>
<li><strong>Proxy Regression Coverage:</strong> Added a long dotted
request-hostname test for <code>NO_PROXY</code> handling, extending
coverage of an existing denial-of-service fix. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11235"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11235/hovercard">#11235</a></strong>)</li>
<li><strong>Release Preparation:</strong> Updated package version
metadata for 1.21.0. (<strong><a
href="https://redirect.github.com/axios/axios/pull/11346"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11346/hovercard">#11346</a></strong>)</li>
</ul>
<h2>🌟 New Contributors</h2>
<p>Welcome to our 24 new contributors. Thank you for helping improve
Axios:</p>
<ul>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user" data-hovercard-url="/users/lazerg/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/lazerg">@ lazerg</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11194"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11194/hovercard">#11194</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/QIU-Guanzong/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/QIU-Guanzong">@
QIU-Guanzong</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11228"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11228/hovercard">#11228</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/Iams4kura/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Iams4kura">@ Iams4kura</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11125"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11125/hovercard">#11125</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/vjymisal0/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/vjymisal0">@ vjymisal0</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11179"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11179/hovercard">#11179</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/jarrensj/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/jarrensj">@ jarrensj</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11238"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11238/hovercard">#11238</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user" data-hovercard-url="/users/LineGu/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/LineGu">@ LineGu</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11132"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11132/hovercard">#11132</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/luantaraschi/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/luantaraschi">@
luantaraschi</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11134"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11134/hovercard">#11134</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/Cyberhet/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Cyberhet">@ Cyberhet</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11284"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11284/hovercard">#11284</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/nyxst4ck/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/nyxst4ck">@ nyxst4ck</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11138"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11138/hovercard">#11138</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/windcrestai/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/windcrestai">@
windcrestai</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11163"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11163/hovercard">#11163</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/kazuki-netizen/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/kazuki-netizen">@
kazuki-netizen</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11294"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11294/hovercard">#11294</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/bilashcse/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/bilashcse">@ bilashcse</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11139"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11139/hovercard">#11139</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/JiuYue0820/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/JiuYue0820">@ JiuYue0820</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11149"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11149/hovercard">#11149</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/official-burak/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/official-burak">@
official-burak</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11156"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11156/hovercard">#11156</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/contactjawad/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/contactjawad">@
contactjawad</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11159"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11159/hovercard">#11159</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/wittachai-as/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/wittachai-as">@
wittachai-as</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11174"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11174/hovercard">#11174</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/yiheng-kkk/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/yiheng-kkk">@ yiheng-kkk</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11166"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11166/hovercard">#11166</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/ShikeChen01/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/ShikeChen01">@
ShikeChen01</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11208"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11208/hovercard">#11208</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/cuishuang/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/cuishuang">@ cuishuang</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11210"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11210/hovercard">#11210</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/Truenocancion/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Truenocancion">@
Truenocancion</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11225"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11225/hovercard">#11225</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/jakezwang/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/jakezwang">@ jakezwang</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11216"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11216/hovercard">#11216</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/Adityagarg2712/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Adityagarg2712">@
Adityagarg2712</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11214"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11214/hovercard">#11214</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/Zandereins/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Zandereins">@ Zandereins</a></strong>
(<strong><a href="https://redirect.github.com/axios/axios/pull/11235"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11235/hovercard">#11235</a></strong>)</li>
<li><strong><a class="user-mention notranslate"
data-hovercard-type="user"
data-hovercard-url="/users/Plastic-time/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Plastic-time">@
Plastic-time</a></strong> (<strong><a
href="https://redirect.github.com/axios/axios/pull/11335"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11335/hovercard">#11335</a></strong>)</li>
</ul>
<p><a
href="https://redirect.github.com/axios/axios/compare/v1.20.0...v1.21.0">Full
Changelog</a></p>
</li>
<li>
<b>1.20.0</b> - <a
href="https://redirect.github.com/axios/axios/releases/tag/v1.20.0">2026-08-26</a></br><h2>v1.20.0
— August 19, 2026</h2>
<p>This release hardens runtime option handling, adds RFC 9110
status-code aliases, fixes Node.js and XHR reliability issues, and
refreshes project tooling and documentation.</p>
<h2><g-emoji class="g-emoji" alias="warning">⚠️</g-emoji> Breaking
Changes & Deprecations</h2>
<ul>
<li>HTTP Status Naming: Added ContentTooLarge (413) and
UnprocessableContent (422), while retaining PayloadTooLarge and
UnprocessableEntity as backward-compatible deprecated aliases. (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4896595398" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11082"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11082/hovercard"
href="https://redirect.github.com/axios/axios/pull/11082">#11082</a>)</li>
</ul>
<h2>🔒 Security Fixes</h2>
<ul>
<li>Runtime Option Handling: Hardened behavioral configuration reads
against shared and foreign prototype pollution and normalized unsafe
interceptor replacement objects. This also clarifies Fetch redirect and
custom implementation behavior, HTTP/2 DNS and proxy handling,
CIDR-based NO_PROXY matching, and malformed data URI rejection; see the
PR for documented compatibility effects. (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="5118561697" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11141"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11141/hovercard"
href="https://redirect.github.com/axios/axios/pull/11141">#11141</a>)</li>
</ul>
<h2>🐛 Bug Fixes</h2>
<ul>
<li>Interceptor Lifecycle: Prevented unbounded handler-array growth by
trimming trailing ejected interceptors without changing iteration
semantics, and kept interceptor operations safe when the public handlers
field is nullish. (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="4922173709"
data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11087"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11087/hovercard"
href="https://redirect.github.com/axios/axios/pull/11087">#11087</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5036526890" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11118"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11118/hovercard"
href="https://redirect.github.com/axios/axios/pull/11118">#11118</a>)</li>
<li>Request Error Preservation: Prevented custom Error.prepareStackTrace
implementations that return non-string values from replacing the
original request failure with an unrelated TypeError. (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4997857381" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11109"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11109/hovercard"
href="https://redirect.github.com/axios/axios/pull/11109">#11109</a>)</li>
<li>XHR Reliability: Navigation-canceled requests now reject with
ECONNABORTED instead of resolving with status 0, while successful
downloads flush their final progress callback during the live loadend
dispatch. (<a class="issue-link js-issue-link" data-error-text="Failed
to load title" data-id="4946853598" data-permission-text="Title is
private" data-url="https://github.com/axios/axios/issues/11094"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11094/hovercard"
href="https://redirect.github.com/axios/axios/pull/11094">#11094</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5049060250" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11121"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11121/hovercard"
href="https://redirect.github.com/axios/axios/pull/11121">#11121</a>)</li>
<li>Node.js Socket Memory: Removed request-context retention from
per-socket error listeners, preventing completed response data from
being pinned for the lifetime of pooled keep-alive sockets. (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4942810392" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11091"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11091/hovercard"
href="https://redirect.github.com/axios/axios/pull/11091">#11091</a>)</li>
<li>Core Methods and HTTP Errors: Prevented structural method-header
buckets from leaking into outgoing headers, standardized invalid DNS
lookup and httpVersion failures as AxiosError.ERR_BAD_OPTION_VALUE, and
corrected the timeoutErrorMessage merge strategy. (<a class="issue-link
js-issue-link" data-error-text="Failed to load title"
data-id="4948892486" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11096"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11096/hovercard"
href="https://redirect.github.com/axios/axios/pull/11096">#11096</a>)</li>
</ul>
<h2>🔧 Maintenance & Chores</h2>
<ul>
<li>Dependencies: Updated fast-uri, postcss, js-yaml, mocha,
development-tooling groups, and GitHub Actions dependencies. (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4944745267" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11092"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11092/hovercard"
href="https://redirect.github.com/axios/axios/pull/11092">#11092</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4980951309" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11098"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11098/hovercard"
href="https://redirect.github.com/axios/axios/pull/11098">#11098</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4980952408" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11099"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11099/hovercard"
href="https://redirect.github.com/axios/axios/pull/11099">#11099</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4997411195" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11106"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11106/hovercard"
href="https://redirect.github.com/axios/axios/pull/11106">#11106</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4997414070" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11107"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11107/hovercard"
href="https://redirect.github.com/axios/axios/pull/11107">#11107</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5059253827" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11122"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11122/hovercard"
href="https://redirect.github.com/axios/axios/pull/11122">#11122</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5059255993" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11123"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11123/hovercard"
href="https://redirect.github.com/axios/axios/pull/11123">#11123</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5062790194" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11126"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11126/hovercard"
href="https://redirect.github.com/axios/axios/pull/11126">#11126</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5062790368" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11127"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11127/hovercard"
href="https://redirect.github.com/axios/axios/pull/11127">#11127</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5096010303" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11133"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11133/hovercard"
href="https://redirect.github.com/axios/axios/pull/11133">#11133</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5115116800" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11140"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11140/hovercard"
href="https://redirect.github.com/axios/axios/pull/11140">#11140</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5119030716" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11143"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11143/hovercard"
href="https://redirect.github.com/axios/axios/pull/11143">#11143</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5119031425" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11144"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11144/hovercard"
href="https://redirect.github.com/axios/axios/pull/11144">#11144</a>)</li>
<li>Documentation: Applied the v1.19.0 documentation updates, added the
missing fs import to the README stream example, introduced localized
global search, and repaired the interceptor test link. (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4981234101" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11101"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11101/hovercard"
href="https://redirect.github.com/axios/axios/pull/11101">#11101</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5012138391" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11113"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11113/hovercard"
href="https://redirect.github.com/axios/axios/pull/11113">#11113</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4977473727" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11097"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11097/hovercard"
href="https://redirect.github.com/axios/axios/pull/11097">#11097</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5040315715" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11119"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11119/hovercard"
href="https://redirect.github.com/axios/axios/pull/11119">#11119</a>)</li>
<li>Sponsorship: Updated sponsorship links and data and added
ScrapingBee as a sponsor. (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="5060467761"
data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11124"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11124/hovercard"
href="https://redirect.github.com/axios/axios/pull/11124">#11124</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5098431526" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11136"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11136/hovercard"
href="https://redirect.github.com/axios/axios/pull/11136">#11136</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5101619225" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11137"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11137/hovercard"
href="https://redirect.github.com/axios/axios/pull/11137">#11137</a>)</li>
<li>CI and Release: Switched ESM smoke tests to locked dependencies and
synchronized package and runtime version metadata for v1.20.0. (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5063014669" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11128"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11128/hovercard"
href="https://redirect.github.com/axios/axios/pull/11128">#11128</a>, <a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5179083459" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11152"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11152/hovercard"
href="https://redirect.github.com/axios/axios/pull/11152">#11152</a>)</li>
</ul>
<h2>🌟 New Contributors</h2>
<p>We are thrilled to welcome our new contributors. Thank you for
helping improve axios:</p>
<ul>
<li><a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/yens1/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/yens1">@ yens1</a> (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4997857381" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11109"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11109/hovercard"
href="https://redirect.github.com/axios/axios/pull/11109">#11109</a>)</li>
<li><a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Sasireddy001/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Sasireddy001">@ Sasireddy001</a> (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5012138391" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11113"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11113/hovercard"
href="https://redirect.github.com/axios/axios/pull/11113">#11113</a>)</li>
<li><a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/ari-token-security/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/ari-token-security">@
ari-token-security</a> (<a class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="4946853598"
data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11094"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11094/hovercard"
href="https://redirect.github.com/axios/axios/pull/11094">#11094</a>)</li>
<li><a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/timothyokooboh/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/timothyokooboh">@ timothyokooboh</a>
(<a class="issue-link js-issue-link" data-error-text="Failed to load
title" data-id="4977473727" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11097"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11097/hovercard"
href="https://redirect.github.com/axios/axios/pull/11097">#11097</a>)</li>
<li><a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/gi9439041-png/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/gi9439041-png">@ gi9439041-png</a> (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5040315715" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11119"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11119/hovercard"
href="https://redirect.github.com/axios/axios/pull/11119">#11119</a>)</li>
<li><a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/Hashim1999164/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/Hashim1999164">@ Hashim1999164</a> (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4896595398" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11082"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11082/hovercard"
href="https://redirect.github.com/axios/axios/pull/11082">#11082</a>)</li>
<li><a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/v-dev-cl/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/v-dev-cl">@ v-dev-cl</a> (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="4942810392" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11091"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11091/hovercard"
href="https://redirect.github.com/axios/axios/pull/11091">#11091</a>)</li>
<li><a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/r0h1tb/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/r0h1tb">@ r0h1tb</a> (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5036526890" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11118"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11118/hovercard"
href="https://redirect.github.com/axios/axios/pull/11118">#11118</a>)</li>
<li><a class="user-mention notranslate" data-hovercard-type="user"
data-hovercard-url="/users/ostapondo/hovercard"
data-octo-click="hovercard-link-click"
data-octo-dimensions="link_type:self"
href="https://redirect.github.com/ostapondo">@ ostapondo</a> (<a
class="issue-link js-issue-link" data-error-text="Failed to load title"
data-id="5049060250" data-permission-text="Title is private"
data-url="https://github.com/axios/axios/issues/11121"
data-hovercard-type="pull_request"
data-hovercard-url="/axios/axios/pull/11121/hovercard"
href="https://redirect.github.com/axios/axios/pull/11121">#11121</a>)</li>
</ul>
<p>Full Changelog (<a class="commit-link"
href="https://redirect.github.com/axios/axios/compare/v1.19.0...v1.20.0"><tt>v1.19.0...v1.20.0</tt></a>)</p>
</li>
</ul>
from <a href="https://redirect.github.com/axios/axios/releases">axios
GitHub release notes</a>
</details>
</details>
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.
---
**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._
**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJiZTY3YmYxYi0wZDQyLTQyNjgtYjdhZC0wNDRhOGYxZjQ2MTAiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImJlNjdiZjFiLTBkNDItNDI2OC1iN2FkLTA0NGE4ZjFmNDYxMCJ9fQ=="
width="0" height="0"/>
> - 🧐 [View latest project
report](https://app.snyk.io/org/devrev/project/e563404f-f830-4425-a71c-280a166b0c8e?utm_source=github&utm_medium=referral&page=upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/devrev/project/e563404f-f830-4425-a71c-280a166b0c8e/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/devrev/project/e563404f-f830-4425-a71c-280a166b0c8e/settings/integration?pkg=axios&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
[//]: #
'snyk:metadata:{"breakingChangeRiskLevel":"high","FF_showPullRequestBreakingChanges":true,"FF_showPullRequestBreakingChangesWebSearch":false,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"axios","from":"1.20.0","to":"1.21.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"be67bf1b-0d42-4268-b7ad-044a8f1f4610","prPublicId":"be67bf1b-0d42-4268-b7ad-044a8f1f4610","packageManager":"npm","priorityScoreList":[],"projectPublicId":"e563404f-f830-4425-a71c-280a166b0c8e","projectUrl":"https://app.snyk.io/org/devrev/project/e563404f-f830-4425-a71c-280a166b0c8e?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2026-10-27T07:18:54.313Z"},"vulns":[]}'
Co-authored-by: snyk-bot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reduce the CPU cost of merging request configuration, especially for requests with many headers. Every request merges defaults with request config, and method aliases merge an additional time. Previously, these paths repeated plain-object prototype walks, scanned accumulated header keys for every case-insensitive assignment, and rebuilt stateless merge strategies on each call.
The optimization preserves supported merge results and prototype-pollution guards. It changes no public API, types, adapter behavior, or network I/O.
Linked issue
Closes #11207
Changes
Symbol.toStringTagandSymbol.iteratormembers after establishing the existing plain-object prototype boundary. Keep the special handling ofObject.prototypeitself.skipUndefinedsemantics.hasOwnPropertydescriptor once at module initialization. Pass source configs explicitly to strategies that need them, preservingparamsand transitionalvalidateStatushandling.__proto__,constructor,prototype) and own-property guards.scripts/benchmark-merge-config.js. Correct the same-source case-collision test description.PRE_RELEASE_CHANGELOG.md. Integrate currentv1.xatb0842e8d, resolving the changelog conflict while preserving both entries.Validation
Validated commit
a11d5adcon macOS arm64 / Apple M5, Node.js 24.18.0, npm 11.16.0:npm ci --ignore-scripts— passed; no dependency or lockfile changes.npm run lint— passed.npm run build— passed; generated bundles are uncommitted.npx --no-install playwright install— passed.npm run test:vitest:unit— 72 files, 1,659 tests passed.npm run test:vitest:browser:headless— Chromium, Firefox, and WebKit together: 78 files, 1,038 tests passed, 3 skipped. Used the committed configuration without overrides.npx --no-install prettier --check scripts/benchmark-merge-config.js tests/unit/utils/merge.test.js PRE_RELEASE_CHANGELOG.md— passed.git diff --check origin/v1.x...HEAD— passed.node scripts/benchmark-merge-config.jsand the same script with the installed baseline'sindex.jspath — output assertions passed on both revisions.Reproducible performance measurement
Run
node scripts/benchmark-merge-config.jsfor this revision. For comparison, install dependencies in a checkout of baselineb0842e8dwithnpm ci --ignore-scripts, then run this revision's script with that checkout's entry point:Alternate baseline/current processes on the same machine. The script prints runtime details and checks request results outside the timed sections. It uses 1,000 warmup requests, then nine samples of 2,000 sequential requests per scenario.
One local baseline/current comparison produced these medians:
These were measured under shared machine load and measure complete Axios request processing through a no-I/O adapter, not network latency. They are local observations, not timing assertions or guarantees across runtimes.
GitHub Actions
All four workflows passed on final head
a11d5adcafter fork-run approval. Continuous integration passed all 19 jobs: Node 26 lint/build/unit/browser checks, packed CJS module/smoke tests on Node 12/14/16/18, packed ESM module/smoke tests on Node 20/22/24/26, and Bun/Deno smoke tests.Review/security bots are separate from the build/test evidence above. Greptile review is still pending and maintainer approval is still required; no merge has been performed.
Compatibility and documentation
Patch: no supported public API, merge behavior, or type changes. No
index.d.ts,index.d.cts, README, orPRE_RELEASE_DOCS.mdupdate is needed. The mandatory prerelease entry records the optimization and limitations. No new runtime dependencies, release version changes, or generated artifacts are included.Two internal observables change: stateful Proxy traps on config objects see fewer prototype lookups, and returned configs' non-enumerable
hasOwnPropertyis captured at module initialization rather than reread on every call.Checklist
PRE_RELEASE_CHANGELOG.mdentry added or updatedAI assistance: the implementation used Claude; follow-up review fixes, validation, and this description used OpenAI Codex. The
ai-assistedlabel is applied.