clawpro-diagnostics-metrics-cls 3.0.2-beta.2 → 3.0.2-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/axios/CHANGELOG.md +49 -214
- package/node_modules/axios/README.md +25 -426
- package/node_modules/axios/dist/axios.js +1053 -1422
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +3 -3
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +1173 -1594
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +1175 -1597
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +909 -1443
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +13 -26
- package/node_modules/axios/index.d.ts +4 -22
- package/node_modules/axios/index.js +0 -2
- package/node_modules/axios/lib/adapters/adapters.js +2 -4
- package/node_modules/axios/lib/adapters/fetch.js +11 -131
- package/node_modules/axios/lib/adapters/http.js +76 -352
- package/node_modules/axios/lib/adapters/xhr.js +3 -8
- package/node_modules/axios/lib/core/Axios.js +3 -7
- package/node_modules/axios/lib/core/AxiosError.js +1 -86
- package/node_modules/axios/lib/core/AxiosHeaders.js +33 -4
- package/node_modules/axios/lib/core/dispatchRequest.js +7 -19
- package/node_modules/axios/lib/core/mergeConfig.js +1 -16
- package/node_modules/axios/lib/core/settle.js +11 -7
- package/node_modules/axios/lib/defaults/index.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +1 -1
- package/node_modules/axios/lib/helpers/composeSignals.js +47 -48
- package/node_modules/axios/lib/helpers/cookies.js +2 -14
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +1 -28
- package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +1 -1
- package/node_modules/axios/lib/helpers/fromDataURI.js +5 -18
- package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
- package/node_modules/axios/lib/helpers/progressEventReducer.js +0 -3
- package/node_modules/axios/lib/helpers/resolveConfig.js +18 -46
- package/node_modules/axios/lib/helpers/shouldBypassProxy.js +1 -26
- package/node_modules/axios/lib/helpers/validator.js +1 -3
- package/node_modules/axios/lib/utils.js +22 -35
- package/node_modules/axios/package.json +24 -19
- package/package.json +41 -4
- package/node_modules/agent-base/README.md +0 -145
- package/node_modules/agent-base/dist/src/index.d.ts +0 -78
- package/node_modules/agent-base/dist/src/index.js +0 -203
- package/node_modules/agent-base/dist/src/index.js.map +0 -1
- package/node_modules/agent-base/dist/src/promisify.d.ts +0 -4
- package/node_modules/agent-base/dist/src/promisify.js +0 -18
- package/node_modules/agent-base/dist/src/promisify.js.map +0 -1
- package/node_modules/agent-base/package.json +0 -64
- package/node_modules/agent-base/src/index.ts +0 -345
- package/node_modules/agent-base/src/promisify.ts +0 -33
- package/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
- package/node_modules/debug/LICENSE +0 -20
- package/node_modules/debug/README.md +0 -481
- package/node_modules/debug/package.json +0 -64
- package/node_modules/debug/src/browser.js +0 -272
- package/node_modules/debug/src/common.js +0 -292
- package/node_modules/debug/src/index.js +0 -10
- package/node_modules/debug/src/node.js +0 -263
- package/node_modules/https-proxy-agent/README.md +0 -137
- package/node_modules/https-proxy-agent/dist/agent.d.ts +0 -30
- package/node_modules/https-proxy-agent/dist/agent.js +0 -177
- package/node_modules/https-proxy-agent/dist/agent.js.map +0 -1
- package/node_modules/https-proxy-agent/dist/index.d.ts +0 -23
- package/node_modules/https-proxy-agent/dist/index.js +0 -14
- package/node_modules/https-proxy-agent/dist/index.js.map +0 -1
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +0 -7
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +0 -66
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +0 -1
- package/node_modules/https-proxy-agent/package.json +0 -56
- package/node_modules/ms/index.js +0 -162
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -38
- package/node_modules/ms/readme.md +0 -59
- /package/node_modules/{form-data → axios/node_modules/form-data}/CHANGELOG.md +0 -0
- /package/node_modules/{form-data → axios/node_modules/form-data}/License +0 -0
- /package/node_modules/{form-data → axios/node_modules/form-data}/README.md +0 -0
- /package/node_modules/{form-data → axios/node_modules/form-data}/index.d.ts +0 -0
- /package/node_modules/{form-data → axios/node_modules/form-data}/lib/browser.js +0 -0
- /package/node_modules/{form-data → axios/node_modules/form-data}/lib/form_data.js +0 -0
- /package/node_modules/{form-data → axios/node_modules/form-data}/lib/populate.js +0 -0
- /package/node_modules/{form-data → axios/node_modules/form-data}/package.json +0 -0
|
@@ -1,331 +1,166 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## v1.
|
|
4
|
-
|
|
5
|
-
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.
|
|
6
|
-
|
|
7
|
-
## ⚠️ Notable Changes
|
|
8
|
-
|
|
9
|
-
A handful of fixes in this release are either security-adjacent or change observable behaviour. Please review before upgrading:
|
|
10
|
-
|
|
11
|
-
- **Fetch adapter now enforces `maxBodyLength` and `maxContentLength`.** These limits were silently ignored on the fetch adapter prior to 1.16.0 — anyone relying on them as a safety net (DoS protection, accidental large uploads) had no protection. (**#10795**)
|
|
12
|
-
- **Proxy requests now preserve user-supplied `Host` headers.** Previously, the proxy path could overwrite a custom `Host`. Virtual-host-style routing through a proxy will now behave correctly. (**#10822**)
|
|
13
|
-
- **Basic auth credentials embedded in URLs are now URL-decoded.** If you have percent-encoded credentials in a URL (e.g. `https://user:p%40ss@host`), the decoded value is what now goes on the wire. (**#10825**)
|
|
14
|
-
- **`parseProtocol` now strictly requires a colon in the protocol separator.** Strings that loosely parsed as protocols before may no longer match. (**#10729**)
|
|
15
|
-
- **Deprecated `unescape()` replaced with modern UTF-8 encoding.** Non-ASCII URL handling is now spec-correct; consumers depending on legacy `unescape()` quirks may see different output bytes. (**#7378**)
|
|
16
|
-
- **`transformRequest` input typing change was reverted.** The typing change introduced in #10745 was reverted in #10810 after follow-up review — net behavior is unchanged from 1.15.2. (**#10745**, **#10810**)
|
|
17
|
-
|
|
18
|
-
## 🚀 New Features
|
|
19
|
-
|
|
20
|
-
- **QUERY HTTP Method:** Added support for the QUERY HTTP method across adapters and type definitions. (**#10802**)
|
|
21
|
-
- **ECONNREFUSED Error Constant:** Exposed `ECONNREFUSED` as a constant on `AxiosError` so callers can match connection-refused failures without comparing string literals (closes #6485). (**#10680**)
|
|
22
|
-
- **Encode Helper Export:** Exported the internal `encode` helper from `buildURL` so userland param serializers can reuse the same encoding logic that axios uses internally. (**#6897**)
|
|
23
|
-
|
|
24
|
-
## 🐛 Bug Fixes
|
|
25
|
-
|
|
26
|
-
- **HTTP Adapter — Redirects & Headers:** Cleared stale headers when a redirect targets a no-proxy host, fixed the redirect listener chain so listeners no longer stack across hops, restored the missing `requestDetails` argument on `beforeRedirect`, preserved user-supplied `Host` headers when forwarding through a proxy, and properly URL-decoded basic auth credentials. (**#10794**, **#10800**, **#6241**, **#10822**, **#10825**)
|
|
27
|
-
- **HTTP Adapter — Streams & Timeouts:** Preserved the partial response object on `AxiosError` when a stream is aborted after headers arrive, honoured the `timeout` option during the connect phase when redirects are disabled, and resolved an unsettled-promise hang when an aborted request was combined with compression and `maxRedirects: 0`. (**#10708**, **#10819**, **#7149**)
|
|
28
|
-
- **Fetch Adapter:** Enforced `maxBodyLength` / `maxContentLength` in the fetch adapter, set the `User-Agent` header to match the HTTP adapter, preserved the original abort reason instead of replacing it with a generic error, and deferred global access so importing the module no longer throws a `TypeError` in restricted environments. (**#10795**, **#10772**, **#10806**, **#7260**)
|
|
29
|
-
- **XHR Adapter:** Unsubscribed the `cancelToken` and `AbortSignal` listeners on the error, timeout, and abort code paths to prevent leaked subscriptions. (**#10787**)
|
|
30
|
-
- **Error Handling:** Attached the parsed response to `AxiosError` when `JSON.parse` fails inside `dispatchRequest`, prevented `settle` from emitting `undefined` error codes, and tightened the `parseProtocol` regex to require a colon in the protocol separator. (**#10724**, **#7276**, **#10729**)
|
|
31
|
-
- **Types & Exports:** Aligned the CommonJS `CancelToken` typings with the ESM build, fixed a compiler error caused by `RawAxiosHeaders`, and re-exported `create` from the package index. (**#7414**, **#6389**, **#6460**)
|
|
32
|
-
- **UTF-8 Encoding:** Replaced the deprecated `unescape()` call with a modern UTF-8 encoding implementation. (**#7378**)
|
|
33
|
-
- **Misc Cleanup:** Resolved a batch of small inconsistencies and gadget-level issues across the codebase. (**#10833**)
|
|
34
|
-
|
|
35
|
-
## 🔧 Maintenance & Chores
|
|
36
|
-
|
|
37
|
-
- **Refactor — ES6 Modernisation:** Modernised the `utils` module and XHR adapter to use ES6 features, and tidied the multipart boundary error message. (**#10588**, **#7419**)
|
|
38
|
-
- **Tests:** Hardened the HTTP test server lifecycle to fix flaky `FormData` EPIPE failures, fixed Win32 platform support for the pipe tests, and corrected an incorrect test assumption. (**#10820**, **#10791**, **#10796**)
|
|
39
|
-
- **Docs:** Documented `paramsSerializer.encode` for strict RFC 3986 query encoding, updated the `parseReviver` TypeScript definitions and configuration docs for ES2023, added timeout guidance to the README's first async example, and expanded notes around the recent type changes. (**#10821**, **#10782**, **#10759**, **#10804**)
|
|
40
|
-
- **Reverted:** Reverted the `transformRequest` input typing change from #10745 after follow-up review. (**#10745**, **#10810**)
|
|
41
|
-
- **Dependencies:** Bumped `actions/setup-node`, the `github-actions` group, and `postcss` (in `/docs`) to their latest versions. (**#10785**, **#10813**, **#10814**)
|
|
42
|
-
- **Release:** Updated changelog and packages, and prepared the 1.16.0 release. (**#10790**, **#10834**)
|
|
43
|
-
|
|
44
|
-
## 🌟 New Contributors
|
|
45
|
-
|
|
46
|
-
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
|
|
47
|
-
|
|
48
|
-
- **@singhankit001** (**#10588**)
|
|
49
|
-
- **@cuiweixie** (**#7419**)
|
|
50
|
-
- **@iruizsalinas** (**#10787**)
|
|
51
|
-
- **@MarcosNocetti** (**#10680**)
|
|
52
|
-
- **@deepview-autofix** (**#10729**)
|
|
53
|
-
- **@atharvasingh7007** (**#10745**)
|
|
54
|
-
- **@OfekDanny** (**#10772**)
|
|
55
|
-
- **@mnahkies** (**#7414**)
|
|
56
|
-
- **@tboyila** (**#10759**)
|
|
57
|
-
- **@Kingo64** (**#6897**)
|
|
58
|
-
- **@ramram1048** (**#6389**)
|
|
59
|
-
- **@FLNacif** (**#6460**)
|
|
60
|
-
- **@zozo123** (**#10806**)
|
|
61
|
-
- **@pierluigilenoci** (**#10802**)
|
|
62
|
-
- **@afurm** (**#10708**)
|
|
63
|
-
- **@karan-lrn** (**#7378**)
|
|
64
|
-
- **@ebeigarts** (**#7149**)
|
|
65
|
-
- **@Raymondo97** (**#10782**)
|
|
66
|
-
- **@mixelburg** (**#10821**)
|
|
67
|
-
- **@ashishkr96** (**#10822**)
|
|
68
|
-
- **@cyphercodes** (**#10819**)
|
|
69
|
-
- **@Jye10032** (**#7260**)
|
|
70
|
-
- **@VeerShah41** (**#7276**)
|
|
71
|
-
|
|
72
|
-
[Full Changelog](https://github.com/axios/axios/compare/v1.15.2...v1.16.0)
|
|
73
|
-
|
|
74
|
-
## v1.15.2 - April 21, 2026
|
|
75
|
-
|
|
76
|
-
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.
|
|
77
|
-
|
|
78
|
-
## 🔒 Security Fixes
|
|
79
|
-
|
|
80
|
-
- **Prototype Pollution Hardening (HTTP Adapter):** Hardened the Node HTTP adapter and `resolveConfig`/`mergeConfig`/validator paths to read only own properties and use null-prototype config objects, preventing polluted `auth`, `baseURL`, `socketPath`, `beforeRedirect`, and `insecureHTTPParser` from influencing requests. (**#10779**)
|
|
81
|
-
- **SSRF via `socketPath`:** Rejects non-string `socketPath` values and adds an opt-in `allowedSocketPaths` config option to restrict permitted Unix domain socket paths, returning `AxiosError` `ERR_BAD_OPTION_VALUE` on mismatch. (**#10777**)
|
|
82
|
-
- **Supply-chain Hardening:** Added `.npmrc` with `ignore-scripts=true`, lockfile lint CI, non-blocking reproducible build diff, scoped CODEOWNERS, expanded `SECURITY.md`/`THREATMODEL.md` with provenance verification (`npm audit signatures`), 60-day resolution policy, and maintainer incident-response runbook. (**#10776**)
|
|
83
|
-
|
|
84
|
-
## 🚀 New Features
|
|
85
|
-
|
|
86
|
-
- **`allowedSocketPaths` Config Option:** New request config option (and TypeScript types) to allowlist Unix domain socket paths used by the Node http adapter; backwards compatible when unset. (**#10777**)
|
|
87
|
-
|
|
88
|
-
## 🐛 Bug Fixes
|
|
89
|
-
|
|
90
|
-
- **Keep-alive Socket Memory Leak:** Installs a single per-socket `error` listener tracking the active request via `kAxiosSocketListener`/`kAxiosCurrentReq`, eliminating per-request listener accumulation, `MaxListenersExceededWarning`, and linear heap growth under concurrent or long-running keep-alive workloads (fixes #10780). (**#10788**)
|
|
91
|
-
|
|
92
|
-
## 🔧 Maintenance & Chores
|
|
93
|
-
|
|
94
|
-
- **Changelog:** Updated `CHANGELOG.md` with v1.15.1 release notes. (**#10781**)
|
|
95
|
-
|
|
96
|
-
[Full Changelog](https://github.com/axios/axios/compare/v1.15.1...v1.15.2)
|
|
97
|
-
|
|
98
|
-
---
|
|
99
|
-
|
|
100
|
-
## v1.15.1 - April 19, 2026
|
|
101
|
-
|
|
102
|
-
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.
|
|
103
|
-
|
|
104
|
-
## 🔒 Security Fixes
|
|
105
|
-
|
|
106
|
-
- **Header Injection Hardening:** Tightened validation and sanitisation across request header construction to close the header-injection attack surface. (**#10749**)
|
|
107
|
-
|
|
108
|
-
- **CRLF Stripping in Multipart Headers:** Correctly strips CR/LF from multipart header values to prevent injection via field names and filenames. (**#10758**)
|
|
109
|
-
|
|
110
|
-
- **Prototype Pollution / Auth Bypass:** Replaced unsafe `in` checks with `hasOwnProperty` to prevent authentication bypass via prototype pollution on config objects, with additional regression tests. (**#10761**, **#10760**)
|
|
111
|
-
|
|
112
|
-
- **`withXSRFToken` Truthy Bypass:** Short-circuits on any truthy non-boolean value, so an ambiguous config no longer silently leaks the XSRF token cross-origin. (**#10762**)
|
|
113
|
-
|
|
114
|
-
- **`maxBodyLength` With Zero Redirects:** Enforces `maxBodyLength` even when `maxRedirects` is set to `0`, closing a bypass path for oversized request bodies. (**#10753**)
|
|
115
|
-
|
|
116
|
-
- **Streamed Response `maxContentLength` Bypass:** Applies `maxContentLength` to streamed responses that previously bypassed the cap. (**#10754**)
|
|
117
|
-
|
|
118
|
-
- **Follow-up CVE Completion:** Completes an earlier incomplete CVE fix to fully close the regression window. (**#10755**)
|
|
119
|
-
|
|
120
|
-
## 🚀 New Features
|
|
121
|
-
|
|
122
|
-
- **AI-Based Docs Translations:** Initial scaffold for AI-assisted translations of the documentation site. (**#10705**)
|
|
123
|
-
|
|
124
|
-
- **`Location` Request Header Type:** Adds `Location` to `CommonRequestHeadersList` for accurate typing of redirect-aware requests. (**#7528**)
|
|
125
|
-
|
|
126
|
-
## 🐛 Bug Fixes
|
|
127
|
-
|
|
128
|
-
- **FormData Handling:** Removes `Content-Type` when no boundary is present on `FormData` fetch requests, supports multi-select fields, cancels `request.body` instead of the source stream on fetch abort, and fixes a recursion bug in form-data serialisation. (**#7314**, **#10676**, **#10702**, **#10726**)
|
|
129
|
-
|
|
130
|
-
- **HTTP Adapter:** Handles socket-only request errors without leaking keep-alive listeners. (**#10576**)
|
|
131
|
-
|
|
132
|
-
- **Progress Events:** Clamps `loaded` to `total` for computable upload/download progress events. (**#7458**)
|
|
133
|
-
|
|
134
|
-
- **Types:** Aligns `runWhen` type with the runtime behaviour in `InterceptorManager` and makes response header keys case-insensitive. (**#7529**, **#10677**)
|
|
135
|
-
|
|
136
|
-
- **`buildFullPath`:** Uses strict equality in the base/relative URL check. (**#7252**)
|
|
137
|
-
|
|
138
|
-
- **`AxiosURLSearchParams` Regex:** Improves the regex used for param serialisation to avoid edge-case mismatches. (**#10736**)
|
|
139
|
-
|
|
140
|
-
- **Resilient Value Parsing:** Parses out header/config values instead of throwing on malformed input. (**#10687**)
|
|
141
|
-
|
|
142
|
-
- **Docs Artefact Cleanup:** Removes the docs content that was incorrectly committed. (**#10727**)
|
|
143
|
-
|
|
144
|
-
## 🔧 Maintenance & Chores
|
|
145
|
-
|
|
146
|
-
- **Threat Model & Security Docs:** Ongoing refinement of `THREATMODEL.md`, including Hopper security update, TLS and tag-replay wording, mitigation descriptions, decompression-bomb guidance, and further cleanup. (**#10672**, **#10715**, **#10718**, **#10722**, **#10763**, **#10765**)
|
|
147
|
-
|
|
148
|
-
- **Test Coverage & Migration:** Expanded `shouldBypassProxy` coverage for wildcard/IPv6/edge cases, documented and tested `AxiosError.status`, and migrated `progressEventReducer` tests to Vitest. (**#10723**, **#10725**, **#10741**)
|
|
149
|
-
|
|
150
|
-
- **Type Refactor:** Uses TypeScript utility types to deduplicate literal unions. (**#7520**)
|
|
151
|
-
|
|
152
|
-
- **Repo & CI:** Adds `CODEOWNERS`, switches v1.x releases to an ephemeral release branch, and removes orphaned Bower support. (**#10739**, **#10738**, **#10746**)
|
|
153
|
-
|
|
154
|
-
## 🌟 New Contributors
|
|
155
|
-
|
|
156
|
-
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
|
|
157
|
-
|
|
158
|
-
- **@curiouscoder-cmd** (**#7252**)
|
|
159
|
-
- **@tryonelove** (**#7520**)
|
|
160
|
-
- **@darwin808** (**#7314**)
|
|
161
|
-
- **@zoontek** (**#10702**)
|
|
162
|
-
- **@AKIB473** (**#10725**)
|
|
163
|
-
|
|
164
|
-
[Full Changelog](https://github.com/axios/axios/compare/v1.15.0...v1.15.1)
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
## v1.15.0 - April 7, 2026
|
|
3
|
+
## v1.15.0 — April 7, 2026
|
|
169
4
|
|
|
170
5
|
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.
|
|
171
6
|
|
|
172
7
|
## 🔒 Security Fixes
|
|
173
8
|
|
|
174
|
-
|
|
9
|
+
* **Header Injection (CRLF):** Rejects any header value containing `\r` or `\n` characters to block CRLF injection chains that could be used to exfiltrate cloud metadata (IMDS). Behavior change: headers with CR/LF now throw `"Invalid character in header content"`. (__#10660__)
|
|
175
10
|
|
|
176
|
-
|
|
11
|
+
* **SSRF via `no_proxy` Bypass:** Introduces a `shouldBypassProxy` helper that normalises hostnames (strips trailing dots, handles bracketed IPv6) before evaluating `no_proxy`/`NO_PROXY` rules, closing a gap that could cause loopback or internal hosts to be inadvertently proxied. (__#10661__)
|
|
177
12
|
|
|
178
13
|
## 🚀 New Features
|
|
179
14
|
|
|
180
|
-
|
|
15
|
+
* **Deno & Bun Runtime Support:** Added full smoke test suites for Deno and Bun, with CI workflows that run both runtimes before any release is cut. (__#10652__)
|
|
181
16
|
|
|
182
17
|
## 🐛 Bug Fixes
|
|
183
18
|
|
|
184
|
-
|
|
19
|
+
* **Node.js v22 Compatibility:** Replaced deprecated `url.parse()` calls with the WHATWG `URL`/`URLSearchParams` API across examples, sandbox, and tests, eliminating `DEP0169` deprecation warnings on Node.js v22+. (__#10625__)
|
|
185
20
|
|
|
186
21
|
## 🔧 Maintenance & Chores
|
|
187
22
|
|
|
188
|
-
|
|
23
|
+
* **CI Security Hardening:** Added [zizmor](https://github.com/zizmorcore/zizmor) GitHub Actions security scanner; switched npm publish to OIDC Trusted Publishing (removing the long-lived `NODE_AUTH_TOKEN`); pinned all action references to full commit SHAs; narrowed workflow permissions to least privilege; gated the publish step behind a dedicated `npm-publish` environment; and blocked the sponsor-block workflow from running on forks. (__#10618__, __#10619__, __#10627__, __#10637__, __#10641__, __#10666__)
|
|
189
24
|
|
|
190
|
-
|
|
25
|
+
* **Docs:** Clarified HTTP/2 support and the unsupported `httpVersion` option; added documentation for header case preservation; improved the `beforeRedirect` example to prevent accidental credential leakage. (__#10644__, __#10654__, __#10624__)
|
|
191
26
|
|
|
192
|
-
|
|
27
|
+
* **Dependencies:** Bumped `picomatch`, `handlebars`, `serialize-javascript`, `vite` (×3), `denoland/setup-deno`, and 4 additional dev dependencies to latest versions. (__#10564__, __#10565__, __#10567__, __#10568__, __#10572__, __#10574__, __#10663__, __#10664__, __#10665__, __#10669__, __#10670__)
|
|
193
28
|
|
|
194
29
|
## 🌟 New Contributors
|
|
195
30
|
|
|
196
31
|
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
|
|
197
32
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
33
|
+
* **@Kilros0817** (__#10625__)
|
|
34
|
+
* **@shaanmajid** (__#10616__, __#10617__, __#10618__, __#10619__, __#10637__, __#10641__, __#10666__)
|
|
35
|
+
* **@ashstrc** (__#10624__, __#10644__)
|
|
36
|
+
* **@Abhi3975** (__#10589__)
|
|
37
|
+
* **@raashish1601** (__#10573__)
|
|
203
38
|
|
|
204
39
|
[Full Changelog](https://github.com/axios/axios/compare/v1.14.0...v1.15.0)
|
|
205
40
|
|
|
206
41
|
---
|
|
207
42
|
|
|
208
|
-
## v1.14.0
|
|
43
|
+
## v1.14.0 — March 27, 2026
|
|
209
44
|
|
|
210
45
|
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.
|
|
211
46
|
|
|
212
47
|
## 🔒 Security Fixes
|
|
213
48
|
|
|
214
|
-
|
|
49
|
+
* **Formidable Vulnerability:** Upgraded `formidable` from v2 to v3 to address a reported arbitrary-file vulnerability. Updated test server and assertions to align with the v3 API. (__#7533__)
|
|
215
50
|
|
|
216
51
|
## 🐛 Bug Fixes
|
|
217
52
|
|
|
218
|
-
|
|
53
|
+
* **CommonJS Compatibility:** Restored `require('axios')` in Node.js by correcting the `main` field in `package.json` to point to the built CJS bundle. (__#7532__)
|
|
219
54
|
|
|
220
|
-
|
|
55
|
+
* **Fetch Adapter:** Cancel the `ReadableStream` body after the request stream capability probe to prevent resource leaks. (__#7515__)
|
|
221
56
|
|
|
222
|
-
|
|
57
|
+
* **Proxy:** Upgraded `proxy-from-env` to v2 and switched to the named `getProxyForUrl` export, fixing proxy detection from environment variables and resolving CJS bundling errors. (__#7499__)
|
|
223
58
|
|
|
224
|
-
|
|
59
|
+
* **HTTP/2:** Close detached HTTP/2 sessions on timeout to free resources when no new requests arrive. (__#7457__)
|
|
225
60
|
|
|
226
|
-
|
|
61
|
+
* **Headers:** Trim trailing CRLF characters from normalised header values. (__#7456__)
|
|
227
62
|
|
|
228
63
|
## 🔧 Maintenance & Chores
|
|
229
64
|
|
|
230
|
-
|
|
65
|
+
* **Toolchain Modernisation:** Migrated test suite to Vitest, updated ESLint to v10, upgraded Rollup and `@rollup/plugin-babel`, migrated to Husky 9, upgraded TypeScript to latest, and modernised the Express test harness. (__#7484__, __#7489__, __#7498__, __#7505__, __#7506__, __#7507__, __#7508__, __#7509__, __#7510__, __#7516__, __#7522__)
|
|
231
66
|
|
|
232
|
-
|
|
67
|
+
* **Dependencies:** Bumped `multer` to v2, `minimatch`, `tar`, `pacote`, `@babel/preset-env`, and additional dev dependencies. (__#7453__, __#7480__, __#7491__, __#7504__, __#7517__, __#7531__)
|
|
233
68
|
|
|
234
69
|
## 🌟 New Contributors
|
|
235
70
|
|
|
236
71
|
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
|
|
237
72
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
73
|
+
* **@penkzhou** (__#7515__)
|
|
74
|
+
* **@aviu16** (__#7456__)
|
|
75
|
+
* **@fedotov** (__#7457__)
|
|
241
76
|
|
|
242
77
|
[Full Changelog](https://github.com/axios/axios/compare/v1.13.6...v1.14.0)
|
|
243
78
|
|
|
244
79
|
---
|
|
245
80
|
|
|
246
|
-
## v1.13.6
|
|
81
|
+
## v1.13.6 — February 27, 2026
|
|
247
82
|
|
|
248
83
|
This release adds React Native Blob support, fixes several enumeration and export regressions, and patches FormData detection for WeChat Mini Program environments.
|
|
249
84
|
|
|
250
85
|
## 🚀 New Features
|
|
251
86
|
|
|
252
|
-
|
|
87
|
+
* **React Native Blob Support:** Axios now correctly handles native Blob objects in React Native environments. (__#5764__)
|
|
253
88
|
|
|
254
89
|
## 🐛 Bug Fixes
|
|
255
90
|
|
|
256
|
-
|
|
91
|
+
* **AxiosError:** Fixed `AxiosError.from` not copying the `status` field from the source error. (__#7403__)
|
|
257
92
|
|
|
258
|
-
|
|
93
|
+
* **AxiosError:** Made the `message` property enumerable so it appears in `JSON.stringify` output and `Object.keys`. (__#7392__)
|
|
259
94
|
|
|
260
|
-
|
|
95
|
+
* **FormData Detection:** Corrected safe FormData detection for WeChat Mini Program environments. (__#7324__)
|
|
261
96
|
|
|
262
|
-
|
|
97
|
+
* **React Native / Browserify Export:** Fixed broken module export that caused import failures in React Native and Browserify. (__#7386__)
|
|
263
98
|
|
|
264
99
|
## 🔧 Maintenance & Chores
|
|
265
100
|
|
|
266
|
-
|
|
101
|
+
* **Dependencies:** Migrated `@rollup/plugin-babel` from v5 to v6 and bumped the development dependencies group. (__#7424__, __#7432__)
|
|
267
102
|
|
|
268
103
|
## 🌟 New Contributors
|
|
269
104
|
|
|
270
105
|
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
|
|
271
106
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
107
|
+
* **@moh3n9595** (__#5764__)
|
|
108
|
+
* **@skrtheboss** (__#7403__)
|
|
109
|
+
* **@ybbus** (__#7392__)
|
|
110
|
+
* **@Shiwaangee** (__#7324__)
|
|
111
|
+
* **@Gudahtt** (__#7386__)
|
|
277
112
|
|
|
278
113
|
[Full Changelog](https://github.com/axios/axios/compare/v1.13.5...v1.13.6)
|
|
279
114
|
|
|
280
115
|
---
|
|
281
116
|
|
|
282
|
-
## v1.13.5
|
|
117
|
+
## v1.13.5 — February 8, 2026
|
|
283
118
|
|
|
284
119
|
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`.
|
|
285
120
|
|
|
286
121
|
## 🔒 Security Fixes
|
|
287
122
|
|
|
288
|
-
|
|
123
|
+
* **Prototype Pollution (DoS):** Hardened `mergeConfig` to ignore `__proto__`, `constructor`, and `prototype` keys, preventing denial-of-service via prototype pollution when merging user-supplied config. (__#7369__)
|
|
289
124
|
|
|
290
125
|
## 🚀 New Features
|
|
291
126
|
|
|
292
|
-
|
|
127
|
+
* **`isAbsoluteURL` Validation:** Added input validation to `isAbsoluteURL` to handle malformed or unexpected input gracefully. (__#7326__)
|
|
293
128
|
|
|
294
129
|
## 🐛 Bug Fixes
|
|
295
130
|
|
|
296
|
-
|
|
131
|
+
* **AxiosError `status`:** Restored the `status` field on `AxiosError` instances, which was missing in v1.13.3 and later. (__#7368__)
|
|
297
132
|
|
|
298
|
-
|
|
133
|
+
* **Interceptor Ordering:** Added a `useLegacyInterceptorOrder` option to restore pre-v1.13 interceptor execution order for applications relying on the previous behaviour. ([569f028](https://github.com/axios/axios/commit/569f028a5878faaec8d7d138ba686aac407bda4c))
|
|
299
134
|
|
|
300
135
|
## 🔧 Maintenance & Chores
|
|
301
136
|
|
|
302
|
-
|
|
137
|
+
* **CI:** Fixed run conditions and updated workflow YAMLs. (__#7372__, __#7373__)
|
|
303
138
|
|
|
304
|
-
|
|
139
|
+
* **Dependencies:** Bumped `karma-sourcemap-loader` and minor package versions. (__#7356__, __#7360__)
|
|
305
140
|
|
|
306
141
|
## 🌟 New Contributors
|
|
307
142
|
|
|
308
143
|
We are thrilled to welcome our new contributors. Thank you for helping improve axios:
|
|
309
144
|
|
|
310
|
-
|
|
145
|
+
* **@asmitha-16** (__#7326__)
|
|
311
146
|
|
|
312
147
|
[Full Changelog](https://github.com/axios/axios/compare/v1.13.4...v1.13.5)
|
|
313
148
|
|
|
314
149
|
---
|
|
315
150
|
|
|
316
|
-
## v1.13.4
|
|
151
|
+
## v1.13.4 — January 27, 2026
|
|
317
152
|
|
|
318
153
|
Patch release fixing regressions introduced in v1.13.3, including TypeScript export compatibility and CI/build stability.
|
|
319
154
|
|
|
320
155
|
## 🐛 Bug Fixes
|
|
321
156
|
|
|
322
|
-
|
|
157
|
+
* **v1.13.3 Regressions:** Fixed multiple issues introduced by the v1.13.3 release, including broken merge configs. (__#7352__)
|
|
323
158
|
|
|
324
|
-
|
|
159
|
+
* **TypeScript Exports:** Corrected TypeScript export declarations to restore proper type resolution. (__#4884__)
|
|
325
160
|
|
|
326
161
|
## 🔧 Maintenance & Chores
|
|
327
162
|
|
|
328
|
-
|
|
163
|
+
* **CI & Build:** Refactored CI pipeline and build configuration for stability. (__#7340__)
|
|
329
164
|
|
|
330
165
|
[Full Changelog](https://github.com/axios/axios/compare/v1.13.3...v1.13.4)
|
|
331
166
|
|