axios 0.27.2 → 0.28.0
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/CHANGELOG.md +121 -58
- package/README.md +271 -80
- package/SECURITY.md +3 -3
- package/UPGRADE_GUIDE.md +16 -15
- package/bin/check-build-version.js +19 -0
- package/bin/ssl_hotfix.js +22 -0
- package/dist/axios.js +1993 -2226
- package/dist/axios.js.map +1 -0
- package/dist/axios.min.js +2 -3
- package/dist/axios.min.js.map +1 -0
- package/dist/esm/axios.js +2354 -0
- package/dist/esm/axios.js.map +1 -0
- package/dist/esm/axios.min.js +2 -0
- package/dist/esm/axios.min.js.map +1 -0
- package/index.d.ts +104 -19
- package/lib/adapters/http.js +153 -114
- package/lib/adapters/xhr.js +14 -10
- package/lib/axios.js +5 -1
- package/lib/cancel/CancelToken.js +4 -5
- package/lib/cancel/CanceledError.js +4 -2
- package/lib/core/Axios.js +6 -1
- package/lib/core/AxiosError.js +12 -1
- package/lib/core/InterceptorManager.js +9 -0
- package/lib/core/dispatchRequest.js +7 -0
- package/lib/core/mergeConfig.js +3 -0
- package/lib/core/transformData.js +3 -2
- package/lib/defaults/index.js +42 -13
- package/lib/env/data.js +1 -1
- package/lib/helpers/AxiosURLSearchParams.js +42 -0
- package/lib/helpers/bind.js +1 -5
- package/lib/helpers/buildURL.js +14 -37
- package/lib/helpers/formDataToJSON.js +71 -0
- package/lib/helpers/fromDataURI.js +51 -0
- package/lib/helpers/isURLSameOrigin.js +12 -12
- package/lib/helpers/parseHeaders.js +2 -2
- package/lib/helpers/toFormData.js +141 -34
- package/lib/helpers/toURLEncodedForm.js +18 -0
- package/lib/platform/browser/classes/FormData.js +3 -0
- package/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/lib/platform/browser/index.js +11 -0
- package/lib/platform/index.js +3 -0
- package/lib/platform/node/classes/FormData.js +3 -0
- package/lib/platform/node/classes/URLSearchParams.js +5 -0
- package/lib/platform/node/index.js +11 -0
- package/lib/utils.js +68 -16
- package/package.json +19 -6
- package/rollup.config.js +60 -0
- package/dist/axios.map +0 -1
- package/dist/axios.min.map +0 -1
- /package/lib/{defaults/env → env/classes}/FormData.js +0 -0
package/CHANGELOG.md
CHANGED
@@ -1,21 +1,65 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
|
3
|
+
## [0.28.0](https://github.com/axios/axios/compare/v0.27.2...v0.28.0) (2024-02-12)
|
4
|
+
|
5
|
+
## Release notes:
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* fix(security): fixed CVE-2023-45857 by backporting `withXSRFToken` option to v0.x (#6091)
|
9
|
+
|
10
|
+
### Backports from v1.x:
|
11
|
+
|
12
|
+
* Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
|
13
|
+
* Fixing content-type header repeated #4745
|
14
|
+
* Fixed timeout error message for HTTP 4738
|
15
|
+
* Added `axios.formToJSON` method (#4735)
|
16
|
+
* URL params serializer (#4734)
|
17
|
+
* Fixed toFormData Blob issue on node>v17 #4728
|
18
|
+
* Adding types for progress event callbacks #4675
|
19
|
+
* Fixed max body length defaults #4731
|
20
|
+
* Added data URL support for node.js (#4725)
|
21
|
+
* Added isCancel type assert (#4293)
|
22
|
+
* Added the ability for the `url-encoded-form` serializer to respect the `formSerializer` config (#4721)
|
23
|
+
* Add `string[]` to `AxiosRequestHeaders` type (#4322)
|
24
|
+
* Allow type definition for axios instance methods (#4224)
|
25
|
+
* Fixed `AxiosError` stack capturing; (#4718)
|
26
|
+
* Fixed `AxiosError` status code type; (#4717)
|
27
|
+
* Adding Canceler parameters config and request (#4711)
|
28
|
+
* fix(types): allow to specify partial default headers for instance creation (#4185)
|
29
|
+
* Added `blob` to the list of protocols supported by the browser (#4678)
|
30
|
+
* Fixing Z_BUF_ERROR when no content (#4701)
|
31
|
+
* Fixed race condition on immediate requests cancellation (#4261)
|
32
|
+
* 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
|
33
|
+
* Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill (#4229)
|
34
|
+
* Fix TS definition for AxiosRequestTransformer (#4201)
|
35
|
+
* Use type alias instead of interface for AxiosPromise (#4505)
|
36
|
+
* Include request and config when creating a CanceledError instance (#4659)
|
37
|
+
* Added generic TS types for the exposed toFormData helper (#4668)
|
38
|
+
* Optimized the code that checks cancellation (#4587)
|
39
|
+
* Replaced webpack with rollup (#4596)
|
40
|
+
* Added stack trace to AxiosError (#4624)
|
41
|
+
* Updated AxiosError.config to be optional in the type definition (#4665)
|
42
|
+
* Removed incorrect argument for NetworkError constructor (#4656)
|
43
|
+
|
44
|
+
## 0.27.2 (April 27, 2022)
|
4
45
|
|
5
46
|
Fixes and Functionality:
|
47
|
+
|
6
48
|
- Fixed FormData posting in browser environment by reverting #3785 ([#4640](https://github.com/axios/axios/pull/4640))
|
7
49
|
- Enhanced protocol parsing implementation ([#4639](https://github.com/axios/axios/pull/4639))
|
8
50
|
- Fixed bundle size
|
9
51
|
|
10
|
-
|
52
|
+
## 0.27.1 (April 26, 2022)
|
11
53
|
|
12
54
|
Fixes and Functionality:
|
55
|
+
|
13
56
|
- Removed import of url module in browser build due to huge size overhead and builds being broken ([#4594](https://github.com/axios/axios/pull/4594))
|
14
57
|
- Bumped follow-redirects to ^1.14.9 ([#4615](https://github.com/axios/axios/pull/4615))
|
15
58
|
|
16
|
-
|
59
|
+
## 0.27.0 (April 25, 2022)
|
17
60
|
|
18
61
|
Breaking changes:
|
62
|
+
|
19
63
|
- 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))
|
20
64
|
- Removed functionality that removed the the `Content-Type` request header when passing FormData ([#3785](https://github.com/axios/axios/pull/3785))
|
21
65
|
- **(*)** 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))
|
@@ -23,29 +67,36 @@ Breaking changes:
|
|
23
67
|
- **(*)** Improved and fixed multiple issues with FormData support ([#4448](https://github.com/axios/axios/pull/4448))
|
24
68
|
|
25
69
|
QOL and DevX improvements:
|
70
|
+
|
26
71
|
- Added a multipart/form-data testing playground allowing contributors to debug changes easily ([#4465](https://github.com/axios/axios/pull/4465))
|
27
72
|
|
28
73
|
Fixes and Functionality:
|
74
|
+
|
29
75
|
- Refactored project file structure to avoid circular imports ([#4515](https://github.com/axios/axios/pull/4516)) & ([#4516](https://github.com/axios/axios/pull/4516))
|
30
76
|
- Bumped follow-redirects to ^1.14.9 ([#4562](https://github.com/axios/axios/pull/4562))
|
31
77
|
|
32
78
|
Internal and Tests:
|
79
|
+
|
33
80
|
- Updated dev dependencies to latest version
|
34
81
|
|
35
82
|
Documentation:
|
83
|
+
|
36
84
|
- Fixing incorrect link in changelog ([#4551](https://github.com/axios/axios/pull/4551))
|
37
85
|
|
38
86
|
Notes:
|
87
|
+
|
39
88
|
- **(*)** Please read these pull requests before updating, these changes are very impactful and far reaching.
|
40
89
|
|
41
|
-
|
90
|
+
## 0.26.1 (March 9, 2022)
|
42
91
|
|
43
92
|
Fixes and Functionality:
|
93
|
+
|
44
94
|
- Refactored project file structure to avoid circular imports ([#4220](https://github.com/axios/axios/pull/4220))
|
45
95
|
|
46
|
-
|
96
|
+
## 0.26.0 (February 13, 2022)
|
47
97
|
|
48
98
|
Fixes and Functionality:
|
99
|
+
|
49
100
|
- Fixed The timeoutErrorMessage property in config not work with Node.js ([#3581](https://github.com/axios/axios/pull/3581))
|
50
101
|
- Added errors to be displayed when the query parsing process itself fails ([#3961](https://github.com/axios/axios/pull/3961))
|
51
102
|
- Fix/remove url required ([#4426](https://github.com/axios/axios/pull/4426))
|
@@ -53,9 +104,10 @@ Fixes and Functionality:
|
|
53
104
|
- Bump karma from 6.3.11 to 6.3.14 ([#4461](https://github.com/axios/axios/pull/4461))
|
54
105
|
- Bump follow-redirects from 1.14.7 to 1.14.8 ([#4473](https://github.com/axios/axios/pull/4473))
|
55
106
|
|
56
|
-
|
107
|
+
## 0.25.0 (January 18, 2022)
|
57
108
|
|
58
109
|
Breaking changes:
|
110
|
+
|
59
111
|
- Fixing maxBodyLength enforcement ([#3786](https://github.com/axios/axios/pull/3786))
|
60
112
|
- Don't rely on strict mode behavior for arguments ([#3470](https://github.com/axios/axios/pull/3470))
|
61
113
|
- Adding error handling when missing url ([#3791](https://github.com/axios/axios/pull/3791))
|
@@ -64,6 +116,7 @@ Breaking changes:
|
|
64
116
|
- Adding error handling inside stream end callback ([#3967](https://github.com/axios/axios/pull/3967))
|
65
117
|
|
66
118
|
Fixes and Functionality:
|
119
|
+
|
67
120
|
- Added aborted even handler ([#3916](https://github.com/axios/axios/pull/3916))
|
68
121
|
- Header types expanded allowing `boolean` and `number` types ([#4144](https://github.com/axios/axios/pull/4144))
|
69
122
|
- Fix cancel signature allowing cancel message to be `undefined` ([#3153](https://github.com/axios/axios/pull/3153))
|
@@ -74,12 +127,14 @@ Fixes and Functionality:
|
|
74
127
|
- Adding responseEncoding prop type in AxiosRequestConfig ([#3918](https://github.com/axios/axios/pull/3918))
|
75
128
|
|
76
129
|
Internal and Tests:
|
130
|
+
|
77
131
|
- Adding axios-test-instance to ecosystem ([#3496](https://github.com/axios/axios/pull/3496))
|
78
132
|
- Optimize the logic of isAxiosError ([#3546](https://github.com/axios/axios/pull/3546))
|
79
133
|
- Add tests and documentation to display how multiple inceptors work ([#3564](https://github.com/axios/axios/pull/3564))
|
80
134
|
- Updating follow-redirects to version 1.14.7 ([#4379](https://github.com/axios/axios/pull/4379))
|
81
135
|
|
82
136
|
Documentation:
|
137
|
+
|
83
138
|
- Fixing changelog to show correct pull request ([#4219](https://github.com/axios/axios/pull/4219))
|
84
139
|
- Update upgrade guide for https proxy setting ([#3604](https://github.com/axios/axios/pull/3604))
|
85
140
|
|
@@ -107,9 +162,10 @@ Huge thanks to everyone who contributed to this release via code (authors listed
|
|
107
162
|
- [Daniel](https://github.com/djs113)
|
108
163
|
- [Gustavo Sales](https://github.com/gussalesdev)
|
109
164
|
|
110
|
-
|
165
|
+
## 0.24.0 (October 25, 2021)
|
111
166
|
|
112
167
|
Breaking changes:
|
168
|
+
|
113
169
|
- Revert: change type of AxiosResponse to any, please read lengthy discussion here: ([#4141](https://github.com/axios/axios/issues/4141)) pull request: ([#4186](https://github.com/axios/axios/pull/4186))
|
114
170
|
|
115
171
|
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
|
@@ -119,25 +175,29 @@ Huge thanks to everyone who contributed to this release via code (authors listed
|
|
119
175
|
- [Remco Haszing](https://github.com/remcohaszing)
|
120
176
|
- [Isaiah Thomason](https://github.com/ITenthusiasm)
|
121
177
|
|
122
|
-
|
178
|
+
## 0.23.0 (October 12, 2021)
|
123
179
|
|
124
180
|
Breaking changes:
|
181
|
+
|
125
182
|
- Distinguish request and response data types ([#4116](https://github.com/axios/axios/pull/4116))
|
126
183
|
- Change never type to unknown ([#4142](https://github.com/axios/axios/pull/4142))
|
127
184
|
- Fixed TransitionalOptions typings ([#4147](https://github.com/axios/axios/pull/4147))
|
128
185
|
|
129
186
|
Fixes and Functionality:
|
187
|
+
|
130
188
|
- Adding globalObject: 'this' to webpack config ([#3176](https://github.com/axios/axios/pull/3176))
|
131
189
|
- Adding insecureHTTPParser type to AxiosRequestConfig ([#4066](https://github.com/axios/axios/pull/4066))
|
132
190
|
- Fix missing semicolon in typings ([#4115](https://github.com/axios/axios/pull/4115))
|
133
191
|
- Fix response headers types ([#4136](https://github.com/axios/axios/pull/4136))
|
134
192
|
|
135
193
|
Internal and Tests:
|
194
|
+
|
136
195
|
- Improve timeout error when timeout is browser default ([#3209](https://github.com/axios/axios/pull/3209))
|
137
196
|
- Fix node version on CI ([#4069](https://github.com/axios/axios/pull/4069))
|
138
197
|
- Added testing to TypeScript portion of project ([#4140](https://github.com/axios/axios/pull/4140))
|
139
198
|
|
140
199
|
Documentation:
|
200
|
+
|
141
201
|
- Rename Angular to AngularJS ([#4114](https://github.com/axios/axios/pull/4114))
|
142
202
|
|
143
203
|
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
|
@@ -151,9 +211,10 @@ Huge thanks to everyone who contributed to this release via code (authors listed
|
|
151
211
|
- [Evgeniy](https://github.com/egmen)
|
152
212
|
- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
|
153
213
|
|
154
|
-
|
214
|
+
## 0.22.0 (October 01, 2021)
|
155
215
|
|
156
216
|
Fixes and Functionality:
|
217
|
+
|
157
218
|
- Caseless header comparing in HTTP adapter ([#2880](https://github.com/axios/axios/pull/2880))
|
158
219
|
- Avoid package.json import fixing issues and warnings related to this ([#4041](https://github.com/axios/axios/pull/4041)), ([#4065](https://github.com/axios/axios/pull/4065))
|
159
220
|
- Fixed cancelToken leakage and added AbortController support ([#3305](https://github.com/axios/axios/pull/3305))
|
@@ -168,9 +229,10 @@ Huge thanks to everyone who contributed to this release via code (authors listed
|
|
168
229
|
- [Xianming Zhong](https://github.com/chinesedfan)
|
169
230
|
- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
|
170
231
|
|
171
|
-
|
232
|
+
## 0.21.4 (September 6, 2021)
|
172
233
|
|
173
234
|
Fixes and Functionality:
|
235
|
+
|
174
236
|
- Fixing JSON transform when data is stringified. Providing backward compatibility and complying to the JSON RFC standard ([#4020](https://github.com/axios/axios/pull/4020))
|
175
237
|
|
176
238
|
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
|
@@ -180,9 +242,10 @@ Huge thanks to everyone who contributed to this release via code (authors listed
|
|
180
242
|
- [Yusuke Kawasaki](https://github.com/kawanet)
|
181
243
|
- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
|
182
244
|
|
183
|
-
|
245
|
+
## 0.21.3 (September 4, 2021)
|
184
246
|
|
185
247
|
Fixes and Functionality:
|
248
|
+
|
186
249
|
- Fixing response interceptor not being called when request interceptor is attached ([#4013](https://github.com/axios/axios/pull/4013))
|
187
250
|
|
188
251
|
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
|
@@ -190,7 +253,7 @@ Huge thanks to everyone who contributed to this release via code (authors listed
|
|
190
253
|
- [Jay](mailto:jasonsaayman@gmail.com)
|
191
254
|
- [Julian Hollmann](https://github.com/nerdbeere)
|
192
255
|
|
193
|
-
|
256
|
+
## 0.21.2 (September 4, 2021)
|
194
257
|
|
195
258
|
Fixes and Functionality:
|
196
259
|
|
@@ -259,7 +322,7 @@ Huge thanks to everyone who contributed to this release via code (authors listed
|
|
259
322
|
- [Matt Czapliński](https://github.com/MattCCC)
|
260
323
|
- [Ziding Zhang](https://github.com/zidingz)
|
261
324
|
|
262
|
-
|
325
|
+
## 0.21.1 (December 21, 2020)
|
263
326
|
|
264
327
|
Fixes and Functionality:
|
265
328
|
|
@@ -282,7 +345,7 @@ Huge thanks to everyone who contributed to this release via code (authors listed
|
|
282
345
|
- Remco Haszing <remcohaszing@gmail.com>
|
283
346
|
- Xianming Zhong <chinesedfan@qq.com>
|
284
347
|
|
285
|
-
|
348
|
+
## 0.21.0 (October 23, 2020)
|
286
349
|
|
287
350
|
Fixes and Functionality:
|
288
351
|
|
@@ -312,11 +375,11 @@ Huge thanks to everyone who contributed to this release via code (authors listed
|
|
312
375
|
- Tim Gates <tim.gates@iress.com>
|
313
376
|
- Xianming Zhong <chinesedfan@qq.com>
|
314
377
|
|
315
|
-
|
378
|
+
## 0.20.0 (August 20, 2020)
|
316
379
|
|
317
380
|
Release of 0.20.0-pre as a full release with no other changes.
|
318
381
|
|
319
|
-
|
382
|
+
## 0.20.0-pre (July 15, 2020)
|
320
383
|
|
321
384
|
Fixes and Functionality:
|
322
385
|
|
@@ -531,11 +594,11 @@ below) or via reviews and triaging on GitHub:
|
|
531
594
|
- Yasu Flores <carlosyasu91@gmail.com>
|
532
595
|
- Zac Delventhal <delventhalz@gmail.com>
|
533
596
|
|
534
|
-
|
597
|
+
## 0.19.2 (Jan 20, 2020)
|
535
598
|
|
536
599
|
- Remove unnecessary XSS check ([#2679](https://github.com/axios/axios/pull/2679)) (see ([#2646](https://github.com/axios/axios/issues/2646)) for discussion)
|
537
600
|
|
538
|
-
|
601
|
+
## 0.19.1 (Jan 7, 2020)
|
539
602
|
|
540
603
|
Fixes and Functionality:
|
541
604
|
|
@@ -591,7 +654,7 @@ Documentation:
|
|
591
654
|
- Fix grammar in README.md ([#2271](https://github.com/axios/axios/pull/2271))
|
592
655
|
- Doc fixes, minor examples cleanup ([#2198](https://github.com/axios/axios/pull/2198))
|
593
656
|
|
594
|
-
|
657
|
+
## 0.19.0 (May 30, 2019)
|
595
658
|
|
596
659
|
Fixes and Functionality:
|
597
660
|
|
@@ -630,11 +693,11 @@ Documentation:
|
|
630
693
|
- Add react-hooks-axios to Libraries section of ECOSYSTEM.md ([#1925](https://github.com/axios/axios/pull/1925)) - Cody Chan
|
631
694
|
- Clarify in README that default timeout is 0 (no timeout) ([#1750](https://github.com/axios/axios/pull/1750)) - Ben Standefer
|
632
695
|
|
633
|
-
|
696
|
+
## 0.19.0-beta.1 (Aug 9, 2018)
|
634
697
|
|
635
698
|
**NOTE:** This is a beta version of this release. There may be functionality that is broken in
|
636
699
|
certain browsers, though we suspect that builds are hanging and not erroring. See
|
637
|
-
https://saucelabs.com/u/axios for the most up-to-date information.
|
700
|
+
<https://saucelabs.com/u/axios> for the most up-to-date information.
|
638
701
|
|
639
702
|
New Functionality:
|
640
703
|
|
@@ -699,7 +762,7 @@ below) or via reviews and triaging on GitHub:
|
|
699
762
|
- Tim Johns <timjohns@yahoo.com>
|
700
763
|
- Yutaro Miyazaki <yutaro@studio-rubbish.com>
|
701
764
|
|
702
|
-
|
765
|
+
## 0.18.0 (Feb 19, 2018)
|
703
766
|
|
704
767
|
- Adding support for UNIX Sockets when running with Node.js ([#1070](https://github.com/axios/axios/pull/1070))
|
705
768
|
- Fixing typings ([#1177](https://github.com/axios/axios/pull/1177)):
|
@@ -709,32 +772,32 @@ below) or via reviews and triaging on GitHub:
|
|
709
772
|
- Allowing maxContentLength to pass through to redirected calls as maxBodyLength in follow-redirects config ([#1287](https://github.com/axios/axios/pull/1287))
|
710
773
|
- Fixing configuration when using an instance - method can now be set ([#1342](https://github.com/axios/axios/pull/1342))
|
711
774
|
|
712
|
-
|
775
|
+
## 0.17.1 (Nov 11, 2017)
|
713
776
|
|
714
777
|
- Fixing issue with web workers ([#1160](https://github.com/axios/axios/pull/1160))
|
715
778
|
- Allowing overriding transport ([#1080](https://github.com/axios/axios/pull/1080))
|
716
779
|
- Updating TypeScript typings ([#1165](https://github.com/axios/axios/pull/1165), [#1125](https://github.com/axios/axios/pull/1125), [#1131](https://github.com/axios/axios/pull/1131))
|
717
780
|
|
718
|
-
|
781
|
+
## 0.17.0 (Oct 21, 2017)
|
719
782
|
|
720
783
|
- **BREAKING** Fixing issue with `baseURL` and interceptors ([#950](https://github.com/axios/axios/pull/950))
|
721
784
|
- **BREAKING** Improving handing of duplicate headers ([#874](https://github.com/axios/axios/pull/874))
|
722
785
|
- Adding support for disabling proxies ([#691](https://github.com/axios/axios/pull/691))
|
723
786
|
- Updating TypeScript typings with generic type parameters ([#1061](https://github.com/axios/axios/pull/1061))
|
724
787
|
|
725
|
-
|
788
|
+
## 0.16.2 (Jun 3, 2017)
|
726
789
|
|
727
790
|
- Fixing issue with including `buffer` in bundle ([#887](https://github.com/axios/axios/pull/887))
|
728
791
|
- Including underlying request in errors ([#830](https://github.com/axios/axios/pull/830))
|
729
792
|
- Convert `method` to lowercase ([#930](https://github.com/axios/axios/pull/930))
|
730
793
|
|
731
|
-
|
794
|
+
## 0.16.1 (Apr 8, 2017)
|
732
795
|
|
733
796
|
- Improving HTTP adapter to return last request in case of redirects ([#828](https://github.com/axios/axios/pull/828))
|
734
797
|
- Updating `follow-redirects` dependency ([#829](https://github.com/axios/axios/pull/829))
|
735
798
|
- Adding support for passing `Buffer` in node ([#773](https://github.com/axios/axios/pull/773))
|
736
799
|
|
737
|
-
|
800
|
+
## 0.16.0 (Mar 31, 2017)
|
738
801
|
|
739
802
|
- **BREAKING** Removing `Promise` from axios typings in favor of built-in type declarations ([#480](https://github.com/axios/axios/issues/480))
|
740
803
|
- Adding `options` shortcut method ([#461](https://github.com/axios/axios/pull/461))
|
@@ -743,7 +806,7 @@ below) or via reviews and triaging on GitHub:
|
|
743
806
|
- Fixing `combineURLs` to support empty `relativeURL` ([#581](https://github.com/axios/axios/pull/581))
|
744
807
|
- Removing `PROTECTION_PREFIX` support ([#561](https://github.com/axios/axios/pull/561))
|
745
808
|
|
746
|
-
|
809
|
+
## 0.15.3 (Nov 27, 2016)
|
747
810
|
|
748
811
|
- Fixing issue with custom instances and global defaults ([#443](https://github.com/axios/axios/issues/443))
|
749
812
|
- Renaming `axios.d.ts` to `index.d.ts` ([#519](https://github.com/axios/axios/issues/519))
|
@@ -753,22 +816,22 @@ below) or via reviews and triaging on GitHub:
|
|
753
816
|
- Improving HTTP adapter to use `http` protocol by default ([#493](https://github.com/axios/axios/pull/493))
|
754
817
|
- Fixing proxy issues ([#491](https://github.com/axios/axios/pull/491))
|
755
818
|
|
756
|
-
|
819
|
+
## 0.15.2 (Oct 17, 2016)
|
757
820
|
|
758
821
|
- Fixing issue with calling `cancel` after response has been received ([#482](https://github.com/axios/axios/issues/482))
|
759
822
|
|
760
|
-
|
823
|
+
## 0.15.1 (Oct 14, 2016)
|
761
824
|
|
762
825
|
- Fixing issue with UMD ([#485](https://github.com/axios/axios/issues/485))
|
763
826
|
|
764
|
-
|
827
|
+
## 0.15.0 (Oct 10, 2016)
|
765
828
|
|
766
829
|
- Adding cancellation support ([#452](https://github.com/axios/axios/pull/452))
|
767
830
|
- Moving default adapter to global defaults ([#437](https://github.com/axios/axios/pull/437))
|
768
831
|
- Fixing issue with `file` URI scheme ([#440](https://github.com/axios/axios/pull/440))
|
769
832
|
- Fixing issue with `params` objects that have no prototype ([#445](https://github.com/axios/axios/pull/445))
|
770
833
|
|
771
|
-
|
834
|
+
## 0.14.0 (Aug 27, 2016)
|
772
835
|
|
773
836
|
- **BREAKING** Updating TypeScript definitions ([#419](https://github.com/axios/axios/pull/419))
|
774
837
|
- **BREAKING** Replacing `agent` option with `httpAgent` and `httpsAgent` ([#387](https://github.com/axios/axios/pull/387))
|
@@ -777,11 +840,11 @@ below) or via reviews and triaging on GitHub:
|
|
777
840
|
- Fixing issue with `auth` config option and `Authorization` header ([#397](https://github.com/axios/axios/pull/397))
|
778
841
|
- Don't set XSRF header if `xsrfCookieName` is `null` ([#406](https://github.com/axios/axios/pull/406))
|
779
842
|
|
780
|
-
|
843
|
+
## 0.13.1 (Jul 16, 2016)
|
781
844
|
|
782
845
|
- Fixing issue with response data not being transformed on error ([#378](https://github.com/axios/axios/issues/378))
|
783
846
|
|
784
|
-
|
847
|
+
## 0.13.0 (Jul 13, 2016)
|
785
848
|
|
786
849
|
- **BREAKING** Improved error handling ([#345](https://github.com/axios/axios/pull/345))
|
787
850
|
- **BREAKING** Response transformer now invoked in dispatcher not adapter ([10eb238](https://github.com/axios/axios/commit/10eb23865101f9347570552c04e9d6211376e25e))
|
@@ -791,24 +854,24 @@ below) or via reviews and triaging on GitHub:
|
|
791
854
|
- Fixing custom instance defaults ([#341](https://github.com/axios/axios/issues/341))
|
792
855
|
- Fixing instances created from `axios.create` to have same API as default axios ([#217](https://github.com/axios/axios/issues/217))
|
793
856
|
|
794
|
-
|
857
|
+
## 0.12.0 (May 31, 2016)
|
795
858
|
|
796
859
|
- Adding support for `URLSearchParams` ([#317](https://github.com/axios/axios/pull/317))
|
797
860
|
- Adding `maxRedirects` option ([#307](https://github.com/axios/axios/pull/307))
|
798
861
|
|
799
|
-
|
862
|
+
## 0.11.1 (May 17, 2016)
|
800
863
|
|
801
864
|
- Fixing IE CORS support ([#313](https://github.com/axios/axios/pull/313))
|
802
865
|
- Fixing detection of `FormData` ([#325](https://github.com/axios/axios/pull/325))
|
803
866
|
- Adding `Axios` class to exports ([#321](https://github.com/axios/axios/pull/321))
|
804
867
|
|
805
|
-
|
868
|
+
## 0.11.0 (Apr 26, 2016)
|
806
869
|
|
807
870
|
- Adding support for Stream with HTTP adapter ([#296](https://github.com/axios/axios/pull/296))
|
808
871
|
- Adding support for custom HTTP status code error ranges ([#308](https://github.com/axios/axios/pull/308))
|
809
872
|
- Fixing issue with ArrayBuffer ([#299](https://github.com/axios/axios/pull/299))
|
810
873
|
|
811
|
-
|
874
|
+
## 0.10.0 (Apr 20, 2016)
|
812
875
|
|
813
876
|
- Fixing issue with some requests sending `undefined` instead of `null` ([#250](https://github.com/axios/axios/pull/250))
|
814
877
|
- Fixing basic auth for HTTP adapter ([#252](https://github.com/axios/axios/pull/252))
|
@@ -819,14 +882,14 @@ below) or via reviews and triaging on GitHub:
|
|
819
882
|
- Fixing XHR support for WebWorker environment ([#279](https://github.com/axios/axios/pull/279))
|
820
883
|
- Adding request instance to response ([#200](https://github.com/axios/axios/pull/200))
|
821
884
|
|
822
|
-
|
885
|
+
## 0.9.1 (Jan 24, 2016)
|
823
886
|
|
824
887
|
- Improving handling of request timeout in node ([#124](https://github.com/axios/axios/issues/124))
|
825
888
|
- Fixing network errors not rejecting ([#205](https://github.com/axios/axios/pull/205))
|
826
889
|
- Fixing issue with IE rejecting on HTTP 204 ([#201](https://github.com/axios/axios/issues/201))
|
827
890
|
- Fixing host/port when following redirects ([#198](https://github.com/axios/axios/pull/198))
|
828
891
|
|
829
|
-
|
892
|
+
## 0.9.0 (Jan 18, 2016)
|
830
893
|
|
831
894
|
- Adding support for custom adapters
|
832
895
|
- Fixing Content-Type header being removed when data is false ([#195](https://github.com/axios/axios/pull/195))
|
@@ -834,13 +897,13 @@ below) or via reviews and triaging on GitHub:
|
|
834
897
|
- Improving config merging and order of precedence ([#183](https://github.com/axios/axios/pull/183))
|
835
898
|
- Fixing XDomainRequest support for only <= IE9 ([#182](https://github.com/axios/axios/pull/182))
|
836
899
|
|
837
|
-
|
900
|
+
## 0.8.1 (Dec 14, 2015)
|
838
901
|
|
839
902
|
- Adding support for passing XSRF token for cross domain requests when using `withCredentials` ([#168](https://github.com/axios/axios/pull/168))
|
840
903
|
- Fixing error with format of basic auth header ([#178](https://github.com/axios/axios/pull/173))
|
841
904
|
- Fixing error with JSON payloads throwing `InvalidStateError` in some cases ([#174](https://github.com/axios/axios/pull/174))
|
842
905
|
|
843
|
-
|
906
|
+
## 0.8.0 (Dec 11, 2015)
|
844
907
|
|
845
908
|
- Adding support for creating instances of axios ([#123](https://github.com/axios/axios/pull/123))
|
846
909
|
- Fixing http adapter to use `Buffer` instead of `String` in case of `responseType === 'arraybuffer'` ([#128](https://github.com/axios/axios/pull/128))
|
@@ -852,7 +915,7 @@ below) or via reviews and triaging on GitHub:
|
|
852
915
|
- Adding support for HTTP basic auth via Authorization header ([#167](https://github.com/axios/axios/pull/167))
|
853
916
|
- Adding support for baseURL option ([#160](https://github.com/axios/axios/pull/160))
|
854
917
|
|
855
|
-
|
918
|
+
## 0.7.0 (Sep 29, 2015)
|
856
919
|
|
857
920
|
- Fixing issue with minified bundle in IE8 ([#87](https://github.com/axios/axios/pull/87))
|
858
921
|
- Adding support for passing agent in node ([#102](https://github.com/axios/axios/pull/102))
|
@@ -862,7 +925,7 @@ below) or via reviews and triaging on GitHub:
|
|
862
925
|
- Adding support for use in web workers, and react-native ([#70](https://github.com/axios/axios/issue/70)), ([#98](https://github.com/axios/axios/pull/98))
|
863
926
|
- Adding support for fetch like API `axios(url[, config])` ([#116](https://github.com/axios/axios/issues/116))
|
864
927
|
|
865
|
-
|
928
|
+
## 0.6.0 (Sep 21, 2015)
|
866
929
|
|
867
930
|
- Removing deprecated success/error aliases
|
868
931
|
- Fixing issue with array params not being properly encoded ([#49](https://github.com/axios/axios/pull/49))
|
@@ -873,40 +936,40 @@ below) or via reviews and triaging on GitHub:
|
|
873
936
|
- Fixing issue with IE8 ([#85](https://github.com/axios/axios/pull/85))
|
874
937
|
- Converting build to UMD
|
875
938
|
|
876
|
-
|
939
|
+
## 0.5.4 (Apr 08, 2015)
|
877
940
|
|
878
941
|
- Fixing issue with FormData not being sent ([#53](https://github.com/axios/axios/issues/53))
|
879
942
|
|
880
|
-
|
943
|
+
## 0.5.3 (Apr 07, 2015)
|
881
944
|
|
882
945
|
- Using JSON.parse unconditionally when transforming response string ([#55](https://github.com/axios/axios/issues/55))
|
883
946
|
|
884
|
-
|
947
|
+
## 0.5.2 (Mar 13, 2015)
|
885
948
|
|
886
949
|
- Adding support for `statusText` in response ([#46](https://github.com/axios/axios/issues/46))
|
887
950
|
|
888
|
-
|
951
|
+
## 0.5.1 (Mar 10, 2015)
|
889
952
|
|
890
953
|
- Fixing issue using strict mode ([#45](https://github.com/axios/axios/issues/45))
|
891
954
|
- Fixing issue with standalone build ([#47](https://github.com/axios/axios/issues/47))
|
892
955
|
|
893
|
-
|
956
|
+
## 0.5.0 (Jan 23, 2015)
|
894
957
|
|
895
958
|
- Adding support for intercepetors ([#14](https://github.com/axios/axios/issues/14))
|
896
959
|
- Updating es6-promise dependency
|
897
960
|
|
898
|
-
|
961
|
+
## 0.4.2 (Dec 10, 2014)
|
899
962
|
|
900
963
|
- Fixing issue with `Content-Type` when using `FormData` ([#22](https://github.com/axios/axios/issues/22))
|
901
964
|
- Adding support for TypeScript ([#25](https://github.com/axios/axios/issues/25))
|
902
965
|
- Fixing issue with standalone build ([#29](https://github.com/axios/axios/issues/29))
|
903
966
|
- Fixing issue with verbs needing to be capitalized in some browsers ([#30](https://github.com/axios/axios/issues/30))
|
904
967
|
|
905
|
-
|
968
|
+
## 0.4.1 (Oct 15, 2014)
|
906
969
|
|
907
970
|
- Adding error handling to request for node.js ([#18](https://github.com/axios/axios/issues/18))
|
908
971
|
|
909
|
-
|
972
|
+
## 0.4.0 (Oct 03, 2014)
|
910
973
|
|
911
974
|
- Adding support for `ArrayBuffer` and `ArrayBufferView` ([#10](https://github.com/axios/axios/issues/10))
|
912
975
|
- Adding support for utf-8 for node.js ([#13](https://github.com/axios/axios/issues/13))
|
@@ -915,29 +978,29 @@ below) or via reviews and triaging on GitHub:
|
|
915
978
|
- Adding standalone build without bundled es6-promise ([#11](https://github.com/axios/axios/issues/11))
|
916
979
|
- Deprecating `success`/`error` in favor of `then`/`catch`
|
917
980
|
|
918
|
-
|
981
|
+
## 0.3.1 (Sep 16, 2014)
|
919
982
|
|
920
983
|
- Fixing missing post body when using node.js ([#3](https://github.com/axios/axios/issues/3))
|
921
984
|
|
922
|
-
|
985
|
+
## 0.3.0 (Sep 16, 2014)
|
923
986
|
|
924
987
|
- Fixing `success` and `error` to properly receive response data as individual arguments ([#8](https://github.com/axios/axios/issues/8))
|
925
988
|
- Updating `then` and `catch` to receive response data as a single object ([#6](https://github.com/axios/axios/issues/6))
|
926
989
|
- Fixing issue with `all` not working ([#7](https://github.com/axios/axios/issues/7))
|
927
990
|
|
928
|
-
|
991
|
+
## 0.2.2 (Sep 14, 2014)
|
929
992
|
|
930
993
|
- Fixing bundling with browserify ([#4](https://github.com/axios/axios/issues/4))
|
931
994
|
|
932
|
-
|
995
|
+
## 0.2.1 (Sep 12, 2014)
|
933
996
|
|
934
997
|
- Fixing build problem causing ridiculous file sizes
|
935
998
|
|
936
|
-
|
999
|
+
## 0.2.0 (Sep 12, 2014)
|
937
1000
|
|
938
1001
|
- Adding support for `all` and `spread`
|
939
1002
|
- Adding support for node.js ([#1](https://github.com/axios/axios/issues/1))
|
940
1003
|
|
941
|
-
|
1004
|
+
## 0.1.0 (Aug 29, 2014)
|
942
1005
|
|
943
1006
|
- Initial release
|