Packages

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

Other targets from 0.26.1Newest 0.x0.35.0Clears its 23 advisories0.33.0Latest1.21.1
  1. 0.26.1yours
  2. 0.27.0target

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

Release by release

  1. 0.27.0

    Migration needed25 Apr 20221 new · 2 fixes
    • 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-Type request 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 transformRequest and toFormData

1 other line we could not sort, mostly version bumps
  • (*) Please read these pull requests before updating, these changes are very impactful and far reaching.

    0.27.0

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.