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