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