yarn axios 0.36.0
v0.36.0

52 minutes ago

v0.36.0 - December 2, 2026

This release updates the follow-redirects and form-data runtime dependencies and fixes how the Node HTTP adapter handles proxy environment variables, redirect options and socket path allowlists, along with fixes for interceptor options and slash-only baseURL values.

🐛 Bug Fixes

  • Interceptor Options: InterceptorManager.use() now reads synchronous and runWhen only when they are set on the options object itself. Otherwise the defaults (false and null) apply. Before this, inherited values could run an async request interceptor on the synchronous path or skip it. Registering with no options or with explicit values works as before. (#11474)
  • Proxy Environment Variables: The Node HTTP adapter and shouldBypassProxy now ignore proxy variables (http_proxy, https_proxy, no_proxy and the npm_config_* forms) that are not set on process.env itself. Lookup order, scheme defaulting and no_proxy matching are unchanged. Proxy resolution now lives in an internal helper, so proxy-from-env is no longer a runtime dependency. (#11472)
  • Redirect Options: With redirects enabled, the HTTP adapter now gives follow-redirects explicit values for the options it reads (host, hostname, port, pathname, search, hash, query, auth, followRedirects, trackRedirects, sensitiveHeaders), including on every redirect hop. Inherited values can no longer change how redirects are resolved or followed. Requests with maxRedirects: 0 and custom transports are unchanged. (#11473)
  • Socket Paths: When allowedSocketPaths is set, the adapter now connects to the same normalized path it checked against the allowlist. Windows named pipes and Linux abstract socket names are compared and connected to exactly as given. Behaviour change: a socketPath or allowlist entry that uses .. after a symlinked directory now connects to the lexically resolved path, not the one the kernel would follow. (#11475)
  • Slash-only baseURL: When baseURL is only slashes (/, //, ///), combineURLs() now always produces a root path on the current origin. It drops leading /, \, tab and newline characters from the relative URL, including with allowAbsoluteUrls: false. Bases that contain a path or origin are joined as before. (#11476)

🔧 Maintenance & Chores

  • Dependencies: Bumped follow-redirects to ^1.16.2, which picks up the fix for CVE-2026-116689 (GHSA-mrwp-f3q8-3g9p), and form-data to ^4.0.6. Dev dependencies were refreshed to the latest releases that still run on Node 12. npm audit --omit=dev now reports no vulnerabilities. (#11427)
  • Release: Prepared the v0.36.0 release. (#11512)

Full Changelog

Don't miss a new axios release

NewReleases is sending notifications on new releases.