Skip to content

Commit 73a836d

Browse files
chore(release): v1.10.0 (#6943)
Co-authored-by: DigitalBrainJS <[email protected]>
1 parent 3d343b8 commit 73a836d

17 files changed

+67
-28
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
# [1.10.0](https://github.com/axios/axios/compare/v1.9.0...v1.10.0) (2025-06-14)
4+
5+
6+
### Bug Fixes
7+
8+
* **adapter:** pass fetchOptions to fetch function ([#6883](https://github.com/axios/axios/issues/6883)) ([0f50af8](https://github.com/axios/axios/commit/0f50af8e076b7fb403844789bd5e812dedcaf4ed))
9+
* **form-data:** convert boolean values to strings in FormData serialization ([#6917](https://github.com/axios/axios/issues/6917)) ([5064b10](https://github.com/axios/axios/commit/5064b108de336ff34862650709761b8a96d26be0))
10+
* **package:** add module entry point for React Native; ([#6933](https://github.com/axios/axios/issues/6933)) ([3d343b8](https://github.com/axios/axios/commit/3d343b86dc4fd0eea0987059c5af04327c7ae304))
11+
12+
13+
### Features
14+
15+
* **types:** improved fetchOptions interface ([#6867](https://github.com/axios/axios/issues/6867)) ([63f1fce](https://github.com/axios/axios/commit/63f1fce233009f5db1abf2586c145825ac98c3d7))
16+
17+
### Contributors to this release
18+
19+
- <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+30/-19 (#6933 #6920 #6893 #6892 )")
20+
- <img src="https://avatars.githubusercontent.com/u/189505037?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Noritaka Kobayashi](https://github.com/noritaka1166 "+2/-6 (#6922 #6923 )")
21+
- <img src="https://avatars.githubusercontent.com/u/48370490?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dimitrios Lazanas](https://github.com/dimitry-lzs "+4/-0 (#6917 )")
22+
- <img src="https://avatars.githubusercontent.com/u/71047946?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Adrian Knapp](https://github.com/AdrianKnapp "+2/-2 (#6867 )")
23+
- <img src="https://avatars.githubusercontent.com/u/16129206?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Howie Zhao](https://github.com/howiezhao "+3/-1 (#6872 )")
24+
- <img src="https://avatars.githubusercontent.com/u/6788611?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Uhyeon Park](https://github.com/warpdev "+1/-1 (#6883 )")
25+
- <img src="https://avatars.githubusercontent.com/u/20028934?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Sampo Silvennoinen](https://github.com/stscoundrel "+1/-1 (#6913 )")
26+
327
# [1.9.0](https://github.com/axios/axios/compare/v1.8.4...v1.9.0) (2025-04-24)
428

529

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "axios",
33
"main": "./dist/axios.js",
4-
"version": "1.9.0",
4+
"version": "1.10.0",
55
"homepage": "https://axios-http.com",
66
"authors": [
77
"Matt Zabriskie"

dist/axios.js

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/axios.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/axios.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/axios.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/browser/axios.cjs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */
1+
/*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
22
'use strict';
33

44
function bind(fn, thisArg) {
@@ -964,6 +964,10 @@ function toFormData(obj, formData, options) {
964964
return value.toISOString();
965965
}
966966

967+
if (utils$1.isBoolean(value)) {
968+
return value.toString();
969+
}
970+
967971
if (!useBlob && utils$1.isBlob(value)) {
968972
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
969973
}
@@ -2880,7 +2884,7 @@ var fetchAdapter = isFetchSupported && (async (config) => {
28802884
credentials: isCredentialsSupported ? withCredentials : undefined
28812885
});
28822886

2883-
let response = await fetch(request);
2887+
let response = await fetch(request, fetchOptions);
28842888

28852889
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
28862890

@@ -3086,7 +3090,7 @@ function dispatchRequest(config) {
30863090
});
30873091
}
30883092

3089-
const VERSION = "1.9.0";
3093+
const VERSION = "1.10.0";
30903094

30913095
const validators$1 = {};
30923096

dist/browser/axios.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/axios.js

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/axios.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/axios.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/axios.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node/axios.cjs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */
1+
/*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
22
'use strict';
33

44
const FormData$1 = require('form-data');
@@ -986,6 +986,10 @@ function toFormData(obj, formData, options) {
986986
return value.toISOString();
987987
}
988988

989+
if (utils$1.isBoolean(value)) {
990+
return value.toString();
991+
}
992+
989993
if (!useBlob && utils$1.isBlob(value)) {
990994
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
991995
}
@@ -2102,7 +2106,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
21022106
return requestedURL;
21032107
}
21042108

2105-
const VERSION = "1.9.0";
2109+
const VERSION = "1.10.0";
21062110

21072111
function parseProtocol(url) {
21082112
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -3939,7 +3943,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
39393943
credentials: isCredentialsSupported ? withCredentials : undefined
39403944
});
39413945

3942-
let response = await fetch(request);
3946+
let response = await fetch(request, fetchOptions);
39433947

39443948
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
39453949

dist/node/axios.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/env/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = "1.9.0";
1+
export const VERSION = "1.10.0";

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "axios",
3-
"version": "1.9.0",
3+
"version": "1.10.0",
44
"description": "Promise based HTTP client for the browser and node.js",
55
"main": "index.js",
66
"exports": {
@@ -225,4 +225,4 @@
225225
"@commitlint/config-conventional"
226226
]
227227
}
228-
}
228+
}

0 commit comments

Comments
 (0)