Upgrading axios 0.34 to 0.35
Breaking0.34.0 → 0.35.0Breaking3Fixed6Other2
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- Request parameters nested more than 100 levels deep are now rejected with an error instead of being sent.
- When sending form data, sparse arrays and unusual numeric field names like 01 are now sent as named fields rather than being merged into a list.
- On runtimes with built-in proxy support, custom agents that override certain internal connection hooks are now rejected; use an agent built without proxyEnv instead.
Must act 3 items need code or config changes
What you must change
Breaking3
params nested deeper than 100 levels now reject with ERR_BAD_OPTION_VALUE.paramsERR_BAD_OPTION_VALUESparse arrays and non-canonical numeric form indexes such as
01 now serialize as keyed objects instead of arrays.Agents overriding native pool-management or TLS-session lifecycle hooks on native proxy runtimes now reject with
ERR_BAD_OPTION_VALUE.proxyEnvERR_BAD_OPTION_VALUE