Skip to content

fix(deps): update dependency axios to v1 - #91

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

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

Conversation

@renovate

@renovate renovate Bot commented Feb 11, 2024 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
axios (source) ^0.29.0 → ^1.0.0 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.

v1.13.5

Compare Source

This release patches a prototype pollution denial-of-service vulnerability, fixes a missing status field regression in AxiosError, adds interceptor ordering control, and introduces URL validation for isAbsoluteURL.

v1.13.4

Compare Source

Patch release fixing regressions introduced in v1.13.3, including TypeScript export compatibility and CI/build stability.

v1.13.3

Compare Source

Bug Fixes
  • http2: Use port 443 for HTTPS connections by default. (#​7256) (d7e6065)
  • interceptor: handle the error in the same interceptor (#​6269) (5945e40)
  • main field in package.json should correspond to cjs artifacts (#​5756) (7373fbf)
  • package.json: add 'bun' package.json 'exports' condition. Load the Node.js build in Bun instead of the browser build (#​5754) (b89217e)
  • silentJSONParsing=false should throw on invalid JSON (#​7253) (#​7257) (7d19335)
  • turn AxiosError into a native error (#​5394) (#​5558) (1c6a86d)
  • types: add handlers to AxiosInterceptorManager interface (#​5551) (8d1271b)
  • types: restore AxiosError.cause type from unknown to Error (#​7327) (d8233d9)
  • unclear error message is thrown when specifying an empty proxy authorization (#​6314) (6ef867e)
Features
Reverts
Contributors to this release

v1.13.2

Compare Source

Bug Fixes
  • http: fix 'socket hang up' bug for keep-alive requests when using timeouts; (#​7206) (8d37233)
  • http: use default export for http2 module to support stubs; (#​7196) (0588880)
Performance Improvements
Contributors to this release

v1.13.1

Compare Source

Bug Fixes
  • http: fixed a regression that caused the data stream to be interrupted for responses with non-OK HTTP statuses; (#​7193) (bcd5581)
Contributors to this release

v1.13.0

Compare Source

Bug Fixes
Features
Contributors to this release

1.12.2 (2025-09-14)

Bug Fixes
  • fetch: use current global fetch instead of cached one when env fetch is not specified to keep MSW support; (#​7030) (cf78825)
Contributors to this release

1.12.1 (2025-09-12)

Bug Fixes
Contributors to this release

v1.12.2

Compare Source

Bug Fixes
  • fetch: use current global fetch instead of cached one when env fetch is not specified to keep MSW support; (#​7030) (cf78825)
Contributors to this release

v1.12.1

Compare Source

Bug Fixes
Contributors to this release

v1.12.0

Compare Source

Bug Fixes
Features
  • adapter: surface low‑level network error details; attach original error via cause (#​6982) (78b290c)
  • fetch: add fetch, Request, Response env config variables for the adapter; (#​7003) (c959ff2)
  • support reviver on JSON.parse (#​5926) (2a97634), closes #​5924
  • types: extend AxiosResponse interface to include custom headers type (#​6782) (7960d34)
Contributors to this release

[!IMPORTANT]
✂ PR body was truncated to here.


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 added the renovate label Feb 11, 2024
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from a27fcf3 to c4f2d6e Compare February 11, 2024 13:34
@renovate renovate Bot changed the title fix(deps): update dependency axios to v1 fix(deps): update dependency axios to v1 - autoclosed Feb 12, 2024
@renovate renovate Bot closed this Feb 12, 2024
@renovate
renovate Bot deleted the renovate/axios-1.x branch February 12, 2024 19:05
@renovate renovate Bot changed the title fix(deps): update dependency axios to v1 - autoclosed fix(deps): update dependency axios to v1 Feb 12, 2024
@renovate renovate Bot reopened this Feb 12, 2024
@renovate
renovate Bot restored the renovate/axios-1.x branch February 12, 2024 21:37
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from c4f2d6e to 0f1001b Compare February 12, 2024 21:38
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 0f1001b to 80a78cd Compare March 28, 2024 22:39
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 80a78cd to 305765b Compare April 29, 2024 17:18
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 305765b to dcd06ef Compare December 15, 2024 21:52
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from dcd06ef to 996a74c Compare August 9, 2025 06:40
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch 2 times, most recently from 39995e2 to fabf91b Compare September 14, 2025 17:52
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from fabf91b to 389f7f9 Compare September 25, 2025 20:33
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch 2 times, most recently from 5893165 to 422cef4 Compare October 28, 2025 22:50
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 422cef4 to 7ff6864 Compare November 4, 2025 20:49
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 7ff6864 to dc62de8 Compare November 18, 2025 22:14
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch 2 times, most recently from 2ce1133 to ad3ba42 Compare January 27, 2026 21:02
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from ad3ba42 to 6f8a8ed Compare February 8, 2026 12:44
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 6f8a8ed to c44dcf0 Compare February 27, 2026 17:45
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch 3 times, most recently from 69a2f81 to 38858db Compare March 31, 2026 04:48
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 38858db to ff53b38 Compare April 8, 2026 17:49
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch 2 times, most recently from e2f1247 to 18f7e36 Compare April 21, 2026 23:12
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 18f7e36 to 891cc6b Compare May 2, 2026 17:56
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 891cc6b to 30daee2 Compare May 13, 2026 17:11
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch 3 times, most recently from f533bbf to 018435f Compare June 3, 2026 11:13
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 018435f to 5f18ad4 Compare June 14, 2026 20:31
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 5f18ad4 to b8281c0 Compare June 22, 2026 20:15
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from b8281c0 to 2008d8f Compare July 29, 2026 20:45
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 2008d8f to 636be97 Compare August 26, 2026 20:37
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 636be97 to bb8091c Compare October 5, 2026 14:38
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch 2 times, most recently from afabc95 to 993e885 Compare October 27, 2026 09:52
@renovate
renovate Bot force-pushed the renovate/axios-1.x branch from 993e885 to 443fde9 Compare November 9, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants