Skip to content

chore(deps): update dependency axios to v1.21.1 - #103

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/axios-1.x-lockfile
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/axios-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Mar 7, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
axios (source) 1.13.5 → 1.21.1 age confidence

Release Notes

axios/axios (axios)

v1.21.1

Compare Source

v1.21.1 — November 9, 2026

This release raises the minimum follow-redirects version to fix a published CVE, fixes a Next.js prerendering failure caused by the response duration timer, corrects the getAdapter typings, and includes documentation corrections, new test coverage, CI runner changes and dependency updates.

🔒 Security Fixes
  • follow-redirects: Raised the follow-redirects range from ^1.16.0 to ^1.16.2 to fix CVE-2026-116689 (GHSA-mrwp-f3q8-3g9p). In the vulnerable versions, sensitiveHeaders arrays from another realm were ignored and custom credentials could follow redirects. Only the Node.js HTTP adapter is affected, and there are no API changes. (#​11410)
🐛 Bug Fixes
  • Response Duration: dispatchRequest now measures response.duration with performance.now() and uses Date.now() only when performance.now() isn't available. In v1.21.0, any axios request from a Server Component failed Next.js production builds with Cache Components (cacheComponents: true), because Next.js rejects Date.now() while prerendering. The duration is still a whole number of milliseconds, and system clock changes no longer affect it. (#​11411)
  • TypeScript: getAdapter now accepts an optional config?: AxiosRequestConfig in index.d.ts and index.d.cts, matching what it does at runtime. You can now call getAdapter('fetch', { env: { fetch: myFetch } }) without a cast. (#​11404)
🔧 Maintenance & Chores
  • Documentation Corrections: Brought the README and docs site in line with how axios actually behaves:

    • transformRequest runs for every method, and transformers receive (data, headers, status).
    • responseType and Content-Type have no default value.
    • AxiosHeaders#get and #normalize are described correctly.
    • Errors should be identified with axios.isAxiosError(), not by name.
    • The error tables now list ECONNREFUSED and ERR_FORM_DATA_DEPTH_EXCEEDED, and note that FormData parsing has a fixed depth limit that maxDepth doesn't change.
    • New notes cover what redact doesn't scan, which adapters enforce maxContentLength / maxBodyLength, and how formToJSON() handles field name collisions.

    (#​11374, #​11373, #​11389, #​11419, #​11429, #​11430)

  • Docs Site: Added a Partners page, a shared card design for sponsors and partners, a Namespace sponsor badge, and a blog whose first post announces HeroDevs Never-Ending Support for Axios v0. Also applied the v1.20.0/v1.21.0 release notes to the docs, and fixed internal links in the es, fr and zh translations so they keep their locale prefix. (#​11390, #​11399, #​11400, #​11412, #​11401)

  • Test Coverage: Added cancellation tests across the HTTP, fetch and XHR adapters. They cover AbortSignal, CancelToken, cancelling while a request interceptor is pending, and timeout precedence. Also added tests for no_proxy edge cases in shouldBypassProxy, such as internationalized domain names, malformed CIDR and IPv4 entries, and port-qualified entries. Neither changes runtime behavior. (#​11376, #​11431)

  • CI: GitHub Actions jobs now run on Namespace runners. The npm publish job stays on GitHub-hosted runners, because npm provenance and trusted publishing (OIDC) only work there. (#​11396)

  • Dependencies: Updated development and tooling dependencies, including vitest and @vitest/* (to 5.x at the root), typescript (7.x at the root), vite, rollup, eslint, playwright, @commitlint/*, @rollup/plugin-alias, @rollup/plugin-terser, body-parser, multer, serialize-javascript, fast-uri, qs, zizmorcore/zizmor-action, and follow-redirects in /docs. (#​11383, #​11375, #​11372, #​11345, #​11392, #​11387, #​11386, #​11385, #​11391, #​11388, #​11395, #​11421, #​11422, #​11426)

  • Release: Prepared the 1.21.1 release. (#​11435)

🌟 New Contributors

We are thrilled to welcome our new contributors. Thank you for helping improve axios:

Full Changelog

v1.21.0

Compare Source

This release adds response timing and opt-in UTF-8 Basic authentication, improves request handling across runtimes, and changes how header defaults are recognized.

v1.20.0

Compare Source

v1.20.0 — August 19, 2026

This release hardens runtime option handling, adds RFC 9110 status-code aliases, fixes Node.js and XHR reliability issues, and refreshes project tooling and documentation.

⚠️ Breaking Changes & Deprecations

  • HTTP Status Naming: Added ContentTooLarge (413) and UnprocessableContent (422), while retaining PayloadTooLarge and UnprocessableEntity as backward-compatible deprecated aliases. (#​11082)

🔒 Security Fixes

  • Runtime Option Handling: Hardened behavioral configuration reads against shared and foreign prototype pollution and normalized unsafe interceptor replacement objects. This also clarifies Fetch redirect and custom implementation behavior, HTTP/2 DNS and proxy handling, CIDR-based NO_PROXY matching, and malformed data URI rejection; see the PR for documented compatibility effects. (#​11141)

🐛 Bug Fixes

  • Interceptor Lifecycle: Prevented unbounded handler-array growth by trimming trailing ejected interceptors without changing iteration semantics, and kept interceptor operations safe when the public handlers field is nullish. (#​11087, #​11118)
  • Request Error Preservation: Prevented custom Error.prepareStackTrace implementations that return non-string values from replacing the original request failure with an unrelated TypeError. (#​11109)
  • XHR Reliability: Navigation-canceled requests now reject with ECONNABORTED instead of resolving with status 0, while successful downloads flush their final progress callback during the live loadend dispatch. (#​11094, #​11121)
  • Node.js Socket Memory: Removed request-context retention from per-socket error listeners, preventing completed response data from being pinned for the lifetime of pooled keep-alive sockets. (#​11091)
  • Core Methods and HTTP Errors: Prevented structural method-header buckets from leaking into outgoing headers, standardized invalid DNS lookup and httpVersion failures as AxiosError.ERR_BAD_OPTION_VALUE, and corrected the timeoutErrorMessage merge strategy. (#​11096)

🔧 Maintenance & Chores

🌟 New Contributors

We are thrilled to welcome our new contributors. Thank you for helping improve axios:

Full Changelog (axios/axios@v1.19.0...v1.20.0)

v1.19.0

Compare Source

This release raises the form-data security floor, adds configuration and type-system capabilities, and fixes NO_PROXY matching, interceptor errors, progress reporting, and serialization edge cases.

v1.18.1

Compare Source

v1.18.1 — June 21, 2026

This release focuses on Node HTTP adapter fixes, safer AxiosError serialisation, runtime/type correctness fixes, documentation updates, and dependency maintenance.

🐛 Bug Fixes

  • AxiosError Serialisation: Made AxiosError#cause non-enumerable to prevent circular JSON serialisation failures when errors include nested causes. (#​10913)
  • Node HTTP Adapter: Guarded socket.setKeepAlive for proxy agent streams, accepted path-only URLs when socketPath is configured, deferred environment proxy handling to Node, and explicitly passed maxBodyLength through to follow-redirects. (#​10917, #​10930, #​10942, #​10993)
  • Runtime and Type Correctness: Fixed several runtime crashes, type definition mismatches, and incorrect error handling paths. (#​10959, #​11021)
  • AxiosURLSearchParams: Switched the encoder callback to an arrow function so encoder.call(this) receives the AxiosURLSearchParams instance correctly. (#​11019)

🔧 Maintenance & Chores

🌟 New Contributors

We are thrilled to welcome our new contributors. Thank you for helping improve axios:

Full Changelog

v1.18.0

Compare Source

This release hardens redirect and URL handling, improves the validateStatus configuration semantics, and includes updates to documentation, dependencies, and release metadata.

v1.17.0

Compare Source

This release adds Node HTTP zstd decompression, hardens config and release workflows, and fixes authentication, header, proxy, and type-handling regressions.

v1.16.1

Compare Source

This release ships a defence-in-depth fix for prototype pollution in formDataToJSON, hardens proxy and CI workflows, restores Webpack 4 compatibility for the fetch adapter, and includes several small bug fixes and maintenance improvements.

v1.16.0

Compare Source

This release adds support for the QUERY HTTP method and a new ECONNREFUSED error constant, lands a substantial wave of HTTP, fetch, and XHR adapter bug fixes around redirects, aborts, headers, and timeouts, and welcomes 23 new contributors.

v1.15.2

Compare Source

This release delivers prototype-pollution hardening for the Node HTTP adapter, adds an opt-in allowedSocketPaths allowlist to mitigate SSRF via Unix domain sockets, fixes a keep-alive socket memory leak, and ships supply-chain hardening across CI and security docs.

v1.15.1

Compare Source

This release ships a coordinated set of security hardening fixes across headers, body/redirect limits, multipart handling, and XSRF/prototype-pollution vectors, alongside a broad sweep of bug fixes, test migrations, and threat-model documentation updates.

v1.15.0

Compare Source

This release delivers two critical security patches targeting header injection and SSRF via proxy bypass, adds official runtime support for Deno and Bun, and includes significant CI security hardening.

v1.14.0

Compare Source

This release fixes a security vulnerability in the formidable dependency, resolves a CommonJS compatibility regression, hardens proxy and HTTP/2 handling, and modernises the build and test toolchain.

v1.13.6

Compare Source

This release adds React Native Blob support, fixes several enumeration and export regressions, and patches FormData detection for WeChat Mini Program environments.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.13.6 chore(deps): update dependency axios to v1.14.0 Mar 27, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch 2 times, most recently from f03fb3f to 3e16ce3 Compare March 31, 2026 00:30
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.14.0 chore(deps): update dependency axios to v1.14.1 Mar 31, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 3e16ce3 to c24ed36 Compare March 31, 2026 05:21
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.14.1 chore(deps): update dependency axios to v1.14.0 Mar 31, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from c24ed36 to c4f20bb Compare April 8, 2026 16:53
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.14.0 chore(deps): update dependency axios to v1.15.0 Apr 8, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from c4f20bb to 0835437 Compare April 19, 2026 17:18
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.15.0 chore(deps): update dependency axios to v1.15.1 Apr 19, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 0835437 to 6745fe7 Compare April 21, 2026 20:19
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.15.1 chore(deps): update dependency axios to v1.15.2 Apr 21, 2026
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.15.2 chore(deps): update dependency axios to v1.16.0 May 2, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 6745fe7 to abc911e Compare May 2, 2026 16:46
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.16.0 chore(deps): update dependency axios to v1.16.1 May 13, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from abc911e to b9dce47 Compare May 13, 2026 18:15
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch 3 times, most recently from 46c94bd to 7b4b93a Compare June 3, 2026 09:49
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.16.1 chore(deps): update dependency axios to v1.17.0 Jun 3, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 7b4b93a to 5c7f3ce Compare June 3, 2026 23:34
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 5c7f3ce to 5688b13 Compare June 14, 2026 21:04
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.17.0 chore(deps): update dependency axios to v1.18.0 Jun 14, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 5688b13 to 0b9934a Compare June 22, 2026 22:56
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.18.0 chore(deps): update dependency axios to v1.18.1 Jun 22, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 0b9934a to a2e305c Compare July 12, 2026 17:52
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from a2e305c to 8a25d31 Compare July 20, 2026 23:07
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 8a25d31 to 63d5dbb Compare July 29, 2026 19:03
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.18.1 chore(deps): update dependency axios to v1.19.0 Jul 29, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 63d5dbb to 29705c2 Compare August 26, 2026 19:54
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.19.0 chore(deps): update dependency axios to v1.20.0 Aug 26, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from 29705c2 to 3ae840c Compare October 5, 2026 16:41
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch 2 times, most recently from 79f9342 to cebaafb Compare October 27, 2026 09:40
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.20.0 chore(deps): update dependency axios to v1.21.0 Oct 27, 2026
@renovate
renovate Bot force-pushed the renovate/axios-1.x-lockfile branch from cebaafb to a6ac91a Compare November 9, 2026 22:01
@renovate renovate Bot changed the title chore(deps): update dependency axios to v1.21.0 chore(deps): update dependency axios to v1.21.1 Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants