axios
1.21.1 · 9 Nov 2026MIT150.1M / weekRepositoryHomepagenpmAtom feed
Upgrading axios From 0.26.1 to 0.27.0
1 release in betweenevery note read
- 5
- changes to make
- 0
- advisories fixed
- 1
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.27.0
- Breaking0.27.0
- Breaking0.27.0
- Breaking0.27.0
- Breaking0.27.0
Security
23 advisories still affect 0.27.0
- axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Mergehigh · GHSA-3g43-6gmg-66jw
- Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRFmoderate · GHSA-3p68-rc4w-qgx5
- Axios is Vulnerable to Denial of Service via __proto__ Key in mergeConfighigh · GHSA-43fc-jf86-j433
Upgrading to 0.33.0 clears them.
Release by release
- Breaking
New toFormData helper function that allows the implementor to pass an object and allow axios to convert it to FormData
- Breaking
Removed functionality that removed the the
Content-Typerequest header when passing FormData - Breaking
(*) Refactored error handling implementing AxiosError as a constructor, this is a large change to error handling on the whole
- Breaking
Separated responsibility for FormData instantiation between
transformRequestandtoFormData
- Breaking
1 other line we could not sort, mostly version bumps
- 0.27.0
(*) Please read these pull requests before updating, these changes are very impactful and far reaching.
2 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.