Packages

axios

1.21.1 · 9 Nov 2026MIT150.1M / weekRepositoryHomepagenpmAtom feed

Upgrading axios From 0.33.0 to 0.35.0

2 releases in betweenevery note read

Other targets from 0.33.0Clears its 2 advisories0.34.0Latest1.21.1
  1. 0.33.0yours
  2. 0.34.0security
  3. 0.35.0target

Before you upgrade

Tick each one off as you go
  • Breaking0.35.0
  • Breaking0.34.0
  • Breaking0.34.0

Security

  • Request Configuration: Prevent inherited properties from influencing form serializer options, default request methods, headers on interceptor-returned configs, and HTTP redirect hooks. Applications relying on inherited options must define those values as own properties.

    0.34.0
  • Hostname Processing: Replace quadratic regular-expression backtracking in proxy bypass hostname normalization with a linear scan, preventing excessive processing of crafted redirect hostnames.

    0.34.0

Release by release

  1. 0.35.0

    Migration needed3 Nov 2026
    • Breaking

      Parameter Depth Limit: params nested deeper than 100 levels now reject with ERR_BAD_OPTION_VALUE. (#11243)

  2. 0.34.0

    Security fix16 Sep 20262 new · 3 fixes
    • Security

      Request Configuration: Prevent inherited properties from influencing form serializer options, default request methods, headers on interceptor-returned configs, and HTTP redirect hooks. Applications relying on inherited options must define those values as own properties.

    • Security

      Hostname Processing: Replace quadratic regular-expression backtracking in proxy bypass hostname normalization with a linear scan, preventing excessive processing of crafted redirect hostnames.

    • Breaking

      Header Types: 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. Supported scalar, array, and grouped headers remain available.

    • Breaking

      Proxy Routing: 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.

5 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.