Packages

axios

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

Your version

1.14.0

27 Mar 2026Where it was published

1.21.1 is the newest release of 1.x.

In short

1 breaking2 new5 fixed1 changed4 internal

  • Breaking

    None identified in this release.

Security

34 advisories affect 1.14.0; 1.20.0 fixes them

29 more

Release note

This release focuses on compatibility fixes, adapter stability improvements, and test/tooling modernisation.

Important Changes

  • Breaking

    None identified in this release.

  • Action Required: If you rely on env-based proxy behaviour or CJS resolution edge-cases, validate your integration after upgrade (notably proxy-from-env v2 alignment and main entry compatibility fix).

New Features

  • Runtime Features: No new end-user features were introduced in this release.

  • Test Coverage Expansion: Added broader smoke/module test coverage for CJS and ESM package usage.

Bug Fixes

  • Headers: Trim trailing CRLF in normalised header values.

  • HTTP/2: Close detached HTTP/2 sessions on timeout to avoid lingering sessions.

  • Fetch Adapter: Cancel ReadableStream created during request-stream capability probing to prevent async resource leaks.

  • Proxy Handling: Fixed env proxy behavior with proxy-from-env v2 usage.

  • CommonJS Compatibility: Fixed package main entry regression affecting CJS consumers.

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.