You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(security): fixed CVE-2023-45857 by backporting `withXSRFToken` option to v0.x (#6091)
29
+
- fix(security): fixed CVE-2023-45857 by backporting `withXSRFToken` option to v0.x (#6091)
17
30
18
31
### Backports from v1.x:
19
32
20
-
* Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
21
-
* Fixing content-type header repeated #4745
22
-
* Fixed timeout error message for HTTP 4738
23
-
* Added `axios.formToJSON` method (#4735)
24
-
* URL params serializer (#4734)
25
-
* Fixed toFormData Blob issue on node>v17 #4728
26
-
* Adding types for progress event callbacks #4675
27
-
* Fixed max body length defaults #4731
28
-
* Added data URL support for node.js (#4725)
29
-
* Added isCancel type assert (#4293)
30
-
* Added the ability for the `url-encoded-form` serializer to respect the `formSerializer` config (#4721)
31
-
* Add `string[]` to `AxiosRequestHeaders` type (#4322)
32
-
* Allow type definition for axios instance methods (#4224)
33
-
* Fixed `AxiosError` stack capturing; (#4718)
34
-
* Fixed `AxiosError` status code type; (#4717)
35
-
* Adding Canceler parameters config and request (#4711)
36
-
* fix(types): allow to specify partial default headers for instance creation (#4185)
37
-
* Added `blob` to the list of protocols supported by the browser (#4678)
38
-
* Fixing Z_BUF_ERROR when no content (#4701)
39
-
* Fixed race condition on immediate requests cancellation (#4261)
40
-
* Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance https://github.com/axios/axios/pull/4248
* Fix TS definition for AxiosRequestTransformer (#4201)
43
-
* Use type alias instead of interface for AxiosPromise (#4505)
44
-
* Include request and config when creating a CanceledError instance (#4659)
45
-
* Added generic TS types for the exposed toFormData helper (#4668)
46
-
* Optimized the code that checks cancellation (#4587)
47
-
* Replaced webpack with rollup (#4596)
48
-
* Added stack trace to AxiosError (#4624)
49
-
* Updated AxiosError.config to be optional in the type definition (#4665)
50
-
* Removed incorrect argument for NetworkError constructor (#4656)
33
+
- Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
34
+
- Fixing content-type header repeated #4745
35
+
- Fixed timeout error message for HTTP 4738
36
+
- Added `axios.formToJSON` method (#4735)
37
+
- URL params serializer (#4734)
38
+
- Fixed toFormData Blob issue on node>v17 #4728
39
+
- Adding types for progress event callbacks #4675
40
+
- Fixed max body length defaults #4731
41
+
- Added data URL support for node.js (#4725)
42
+
- Added isCancel type assert (#4293)
43
+
- Added the ability for the `url-encoded-form` serializer to respect the `formSerializer` config (#4721)
44
+
- Add `string[]` to `AxiosRequestHeaders` type (#4322)
45
+
- Allow type definition for axios instance methods (#4224)
46
+
- Fixed `AxiosError` stack capturing; (#4718)
47
+
- Fixed `AxiosError` status code type; (#4717)
48
+
- Adding Canceler parameters config and request (#4711)
49
+
- fix(types): allow to specify partial default headers for instance creation (#4185)
50
+
- Added `blob` to the list of protocols supported by the browser (#4678)
51
+
- Fixing Z_BUF_ERROR when no content (#4701)
52
+
- Fixed race condition on immediate requests cancellation (#4261)
53
+
- Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance https://github.com/axios/axios/pull/4248
- Fix TS definition for AxiosRequestTransformer (#4201)
56
+
- Use type alias instead of interface for AxiosPromise (#4505)
57
+
- Include request and config when creating a CanceledError instance (#4659)
58
+
- Added generic TS types for the exposed toFormData helper (#4668)
59
+
- Optimized the code that checks cancellation (#4587)
60
+
- Replaced webpack with rollup (#4596)
61
+
- Added stack trace to AxiosError (#4624)
62
+
- Updated AxiosError.config to be optional in the type definition (#4665)
63
+
- Removed incorrect argument for NetworkError constructor (#4656)
51
64
52
65
## 0.27.2 (April 27, 2022)
53
66
@@ -70,9 +83,9 @@ Breaking changes:
70
83
71
84
- New toFormData helper function that allows the implementor to pass an object and allow axios to convert it to FormData ([#3757](https://github.com/axios/axios/pull/3757))
72
85
- Removed functionality that removed the the `Content-Type` request header when passing FormData ([#3785](https://github.com/axios/axios/pull/3785))
73
-
-**(*)** Refactored error handling implementing AxiosError as a constructor, this is a large change to error handling on the whole ([#3645](https://github.com/axios/axios/pull/3645))
86
+
-**(\*)** Refactored error handling implementing AxiosError as a constructor, this is a large change to error handling on the whole ([#3645](https://github.com/axios/axios/pull/3645))
74
87
- Separated responsibility for FormData instantiation between `transformRequest` and `toFormData` ([#4470](https://github.com/axios/axios/pull/4470))
75
-
-**(*)** Improved and fixed multiple issues with FormData support ([#4448](https://github.com/axios/axios/pull/4448))
88
+
-**(\*)** Improved and fixed multiple issues with FormData support ([#4448](https://github.com/axios/axios/pull/4448))
76
89
77
90
QOL and DevX improvements:
78
91
@@ -93,7 +106,7 @@ Documentation:
93
106
94
107
Notes:
95
108
96
-
-**(*)** Please read these pull requests before updating, these changes are very impactful and far reaching.
109
+
-**(\*)** Please read these pull requests before updating, these changes are very impactful and far reaching.
0 commit comments