@wiajs/req 1.7.7

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 (78) hide show
  1. package/CHANGELOG.md +1023 -0
  2. package/LICENSE +7 -0
  3. package/MIGRATION_GUIDE.md +3 -0
  4. package/README.md +1645 -0
  5. package/SECURITY.md +6 -0
  6. package/dist/node/req.cjs +4397 -0
  7. package/dist/node/req.mjs +3551 -0
  8. package/dist/web/req.mjs +2609 -0
  9. package/index.d.cts +545 -0
  10. package/index.d.ts +565 -0
  11. package/index.js +43 -0
  12. package/lib/adapters/README.md +37 -0
  13. package/lib/adapters/adapters.js +57 -0
  14. package/lib/adapters/fetch.js +229 -0
  15. package/lib/adapters/http.js +552 -0
  16. package/lib/adapters/xhr.js +200 -0
  17. package/lib/axios.js +89 -0
  18. package/lib/cancel/CancelToken.js +106 -0
  19. package/lib/cancel/CanceledError.js +20 -0
  20. package/lib/cancel/isCancel.js +4 -0
  21. package/lib/core/Axios.js +359 -0
  22. package/lib/core/AxiosError.js +89 -0
  23. package/lib/core/AxiosHeaders.js +243 -0
  24. package/lib/core/InterceptorManager.js +59 -0
  25. package/lib/core/README.md +8 -0
  26. package/lib/core/buildFullPath.js +18 -0
  27. package/lib/core/dispatchRequest.js +72 -0
  28. package/lib/core/mergeConfig.js +98 -0
  29. package/lib/core/settle.js +21 -0
  30. package/lib/core/transformData.js +22 -0
  31. package/lib/defaults/index.js +136 -0
  32. package/lib/defaults/transitional.js +6 -0
  33. package/lib/env/README.md +3 -0
  34. package/lib/env/classes/FormData.js +2 -0
  35. package/lib/env/data.js +1 -0
  36. package/lib/helpers/AxiosTransformStream.js +116 -0
  37. package/lib/helpers/AxiosURLSearchParams.js +50 -0
  38. package/lib/helpers/HttpStatusCode.js +69 -0
  39. package/lib/helpers/README.md +7 -0
  40. package/lib/helpers/ZlibHeaderTransformStream.js +22 -0
  41. package/lib/helpers/bind.js +6 -0
  42. package/lib/helpers/buildURL.js +42 -0
  43. package/lib/helpers/callbackify.js +14 -0
  44. package/lib/helpers/combineURLs.js +11 -0
  45. package/lib/helpers/composeSignals.js +37 -0
  46. package/lib/helpers/cookies.js +29 -0
  47. package/lib/helpers/deprecatedMethod.js +18 -0
  48. package/lib/helpers/formDataToJSON.js +78 -0
  49. package/lib/helpers/formDataToStream.js +77 -0
  50. package/lib/helpers/fromDataURI.js +44 -0
  51. package/lib/helpers/isAbsoluteURL.js +13 -0
  52. package/lib/helpers/isAxiosError.js +11 -0
  53. package/lib/helpers/isURLSameOrigin.js +50 -0
  54. package/lib/helpers/null.js +2 -0
  55. package/lib/helpers/parseHeaders.js +61 -0
  56. package/lib/helpers/parseProtocol.js +5 -0
  57. package/lib/helpers/progressEventReducer.js +54 -0
  58. package/lib/helpers/readBlob.js +13 -0
  59. package/lib/helpers/resolveConfig.js +45 -0
  60. package/lib/helpers/speedometer.js +40 -0
  61. package/lib/helpers/spread.js +26 -0
  62. package/lib/helpers/throttle.js +41 -0
  63. package/lib/helpers/toFormData.js +175 -0
  64. package/lib/helpers/toURLEncodedForm.js +15 -0
  65. package/lib/helpers/trackStream.js +75 -0
  66. package/lib/helpers/validator.js +84 -0
  67. package/lib/platform/browser/classes/Blob.js +2 -0
  68. package/lib/platform/browser/classes/FormData.js +2 -0
  69. package/lib/platform/browser/classes/URLSearchParams.js +3 -0
  70. package/lib/platform/browser/index.js +19 -0
  71. package/lib/platform/common/utils.js +37 -0
  72. package/lib/platform/index.js +6 -0
  73. package/lib/platform/node/classes/FormData.js +2 -0
  74. package/lib/platform/node/classes/URLSearchParams.js +3 -0
  75. package/lib/platform/node/index.js +16 -0
  76. package/lib/req.js +67 -0
  77. package/lib/utils.js +635 -0
  78. package/package.json +214 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,1023 @@
1
+ # Changelog
2
+
3
+ ## [1.7.7](https://github.com/axios/axios/compare/v1.7.6...v1.7.7) (2024-08-31)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **fetch:** fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; ([#6584](https://github.com/axios/axios/issues/6584)) ([d198085](https://github.com/axios/axios/commit/d1980854fee1765cd02fa0787adf5d6e34dd9dcf))
9
+ * **http:** fixed support for IPv6 literal strings in url ([#5731](https://github.com/axios/axios/issues/5731)) ([364993f](https://github.com/axios/axios/commit/364993f0d8bc6e0e06f76b8a35d2d0a35cab054c))
10
+
11
+ ### Contributors to this release
12
+
13
+ - <img src="https://avatars.githubusercontent.com/u/10539109?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Rishi556](https://github.com/Rishi556 "+39/-1 (#5731 )")
14
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+27/-7 (#6584 )")
15
+
16
+ ## [1.7.6](https://github.com/axios/axios/compare/v1.7.5...v1.7.6) (2024-08-30)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **fetch:** fix content length calculation for FormData payload; ([#6524](https://github.com/axios/axios/issues/6524)) ([085f568](https://github.com/axios/axios/commit/085f56861a83e9ac02c140ad9d68dac540dfeeaa))
22
+ * **fetch:** optimize signals composing logic; ([#6582](https://github.com/axios/axios/issues/6582)) ([df9889b](https://github.com/axios/axios/commit/df9889b83c2cc37e9e6189675a73ab70c60f031f))
23
+
24
+ ### Contributors to this release
25
+
26
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+98/-46 (#6582 )")
27
+ - <img src="https://avatars.githubusercontent.com/u/3534453?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jacques Germishuys](https://github.com/jacquesg "+5/-1 (#6524 )")
28
+ - <img src="https://avatars.githubusercontent.com/u/53894505?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [kuroino721](https://github.com/kuroino721 "+3/-1 (#6575 )")
29
+
30
+ ## [1.7.5](https://github.com/axios/axios/compare/v1.7.4...v1.7.5) (2024-08-23)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * **adapter:** fix undefined reference to hasBrowserEnv ([#6572](https://github.com/axios/axios/issues/6572)) ([7004707](https://github.com/axios/axios/commit/7004707c4180b416341863bd86913fe4fc2f1df1))
36
+ * **core:** add the missed implementation of AxiosError#status property; ([#6573](https://github.com/axios/axios/issues/6573)) ([6700a8a](https://github.com/axios/axios/commit/6700a8adac06942205f6a7a21421ecb36c4e0852))
37
+ * **core:** fix `ReferenceError: navigator is not defined` for custom environments; ([#6567](https://github.com/axios/axios/issues/6567)) ([fed1a4b](https://github.com/axios/axios/commit/fed1a4b2d78ed4a588c84e09d32749ed01dc2794))
38
+ * **fetch:** fix credentials handling in Cloudflare workers ([#6533](https://github.com/axios/axios/issues/6533)) ([550d885](https://github.com/axios/axios/commit/550d885eb90fd156add7b93bbdc54d30d2f9a98d))
39
+
40
+ ### Contributors to this release
41
+
42
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+187/-83 (#6573 #6567 #6566 #6564 #6563 #6557 #6556 #6555 #6554 #6552 )")
43
+ - <img src="https://avatars.githubusercontent.com/u/2495809?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Antonin Bas](https://github.com/antoninbas "+6/-6 (#6572 )")
44
+ - <img src="https://avatars.githubusercontent.com/u/5406212?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Hans Otto Wirtz](https://github.com/hansottowirtz "+4/-1 (#6533 )")
45
+
46
+ ## [1.7.4](https://github.com/axios/axios/compare/v1.7.3...v1.7.4) (2024-08-13)
47
+
48
+
49
+ ### Bug Fixes
50
+
51
+ * **sec:** CVE-2024-39338 ([#6539](https://github.com/axios/axios/issues/6539)) ([#6543](https://github.com/axios/axios/issues/6543)) ([6b6b605](https://github.com/axios/axios/commit/6b6b605eaf73852fb2dae033f1e786155959de3a))
52
+ * **sec:** disregard protocol-relative URL to remediate SSRF ([#6539](https://github.com/axios/axios/issues/6539)) ([07a661a](https://github.com/axios/axios/commit/07a661a2a6b9092c4aa640dcc7f724ec5e65bdda))
53
+
54
+ ### Contributors to this release
55
+
56
+ - <img src="https://avatars.githubusercontent.com/u/31389480?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Lev Pachmanov](https://github.com/levpachmanov "+47/-11 (#6543 )")
57
+ - <img src="https://avatars.githubusercontent.com/u/41283691?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Đỗ Trọng Hải](https://github.com/hainenber "+49/-4 (#6539 )")
58
+
59
+ ## [1.7.3](https://github.com/axios/axios/compare/v1.7.2...v1.7.3) (2024-08-01)
60
+
61
+
62
+ ### Bug Fixes
63
+
64
+ * **adapter:** fix progress event emitting; ([#6518](https://github.com/axios/axios/issues/6518)) ([e3c76fc](https://github.com/axios/axios/commit/e3c76fc9bdd03aa4d98afaf211df943e2031453f))
65
+ * **fetch:** fix withCredentials request config ([#6505](https://github.com/axios/axios/issues/6505)) ([85d4d0e](https://github.com/axios/axios/commit/85d4d0ea0aae91082f04e303dec46510d1b4e787))
66
+ * **xhr:** return original config on errors from XHR adapter ([#6515](https://github.com/axios/axios/issues/6515)) ([8966ee7](https://github.com/axios/axios/commit/8966ee7ea62ecbd6cfb39a905939bcdab5cf6388))
67
+
68
+ ### Contributors to this release
69
+
70
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+211/-159 (#6518 #6519 )")
71
+ - <img src="https://avatars.githubusercontent.com/u/10867286?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Valerii Sidorenko](https://github.com/ValeraS "+3/-3 (#6515 )")
72
+ - <img src="https://avatars.githubusercontent.com/u/8599535?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [prianYu](https://github.com/prianyu "+2/-2 (#6505 )")
73
+
74
+ ## [1.7.2](https://github.com/axios/axios/compare/v1.7.1...v1.7.2) (2024-05-21)
75
+
76
+
77
+ ### Bug Fixes
78
+
79
+ * **fetch:** enhance fetch API detection; ([#6413](https://github.com/axios/axios/issues/6413)) ([4f79aef](https://github.com/axios/axios/commit/4f79aef81b7c4644328365bfc33acf0a9ef595bc))
80
+
81
+ ### Contributors to this release
82
+
83
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+3/-3 (#6413 )")
84
+
85
+ ## [1.7.1](https://github.com/axios/axios/compare/v1.7.0...v1.7.1) (2024-05-20)
86
+
87
+
88
+ ### Bug Fixes
89
+
90
+ * **fetch:** fixed ReferenceError issue when TextEncoder is not available in the environment; ([#6410](https://github.com/axios/axios/issues/6410)) ([733f15f](https://github.com/axios/axios/commit/733f15fe5bd2d67e1fadaee82e7913b70d45dc5e))
91
+
92
+ ### Contributors to this release
93
+
94
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+14/-9 (#6410 )")
95
+
96
+ # [1.7.0](https://github.com/axios/axios/compare/v1.7.0-beta.2...v1.7.0) (2024-05-19)
97
+
98
+
99
+ ### Features
100
+
101
+ * **adapter:** add fetch adapter; ([#6371](https://github.com/axios/axios/issues/6371)) ([a3ff99b](https://github.com/axios/axios/commit/a3ff99b59d8ec2ab5dd049e68c043617a4072e42))
102
+
103
+ ### Bug Fixes
104
+
105
+ * **core/axios:** handle un-writable error stack ([#6362](https://github.com/axios/axios/issues/6362)) ([81e0455](https://github.com/axios/axios/commit/81e0455b7b57fbaf2be16a73ebe0e6591cc6d8f9))
106
+
107
+ ### Contributors to this release
108
+
109
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+1015/-127 (#6371 )")
110
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+30/-14 ()")
111
+ - <img src="https://avatars.githubusercontent.com/u/16711696?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Alexandre ABRIOUX](https://github.com/alexandre-abrioux "+56/-6 (#6362 )")
112
+
113
+ # [1.7.0-beta.2](https://github.com/axios/axios/compare/v1.7.0-beta.1...v1.7.0-beta.2) (2024-05-19)
114
+
115
+
116
+ ### Bug Fixes
117
+
118
+ * **fetch:** capitalize HTTP method names; ([#6395](https://github.com/axios/axios/issues/6395)) ([ad3174a](https://github.com/axios/axios/commit/ad3174a3515c3c2573f4bcb94818d582826f3914))
119
+ * **fetch:** fix & optimize progress capturing for cases when the request data has a nullish value or zero data length ([#6400](https://github.com/axios/axios/issues/6400)) ([95a3e8e](https://github.com/axios/axios/commit/95a3e8e346cfd6a5548e171f2341df3235d0e26b))
120
+ * **fetch:** fix headers getting from a stream response; ([#6401](https://github.com/axios/axios/issues/6401)) ([870e0a7](https://github.com/axios/axios/commit/870e0a76f60d0094774a6a63fa606eec52a381af))
121
+
122
+ ### Contributors to this release
123
+
124
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+99/-46 (#6405 #6404 #6401 #6400 #6395 )")
125
+
126
+ # [1.7.0-beta.1](https://github.com/axios/axios/compare/v1.7.0-beta.0...v1.7.0-beta.1) (2024-05-07)
127
+
128
+
129
+ ### Bug Fixes
130
+
131
+ * **core/axios:** handle un-writable error stack ([#6362](https://github.com/axios/axios/issues/6362)) ([81e0455](https://github.com/axios/axios/commit/81e0455b7b57fbaf2be16a73ebe0e6591cc6d8f9))
132
+ * **fetch:** fix cases when ReadableStream or Response.body are not available; ([#6377](https://github.com/axios/axios/issues/6377)) ([d1d359d](https://github.com/axios/axios/commit/d1d359da347704e8b28d768e61515a3e96c5b072))
133
+ * **fetch:** treat fetch-related TypeError as an AxiosError.ERR_NETWORK error; ([#6380](https://github.com/axios/axios/issues/6380)) ([bb5f9a5](https://github.com/axios/axios/commit/bb5f9a5ab768452de9e166dc28d0ffc234245ef1))
134
+
135
+ ### Contributors to this release
136
+
137
+ - <img src="https://avatars.githubusercontent.com/u/16711696?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Alexandre ABRIOUX](https://github.com/alexandre-abrioux "+56/-6 (#6362 )")
138
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+42/-17 (#6380 #6377 )")
139
+
140
+ # [1.7.0-beta.0](https://github.com/axios/axios/compare/v1.6.8...v1.7.0-beta.0) (2024-04-28)
141
+
142
+
143
+ ### Features
144
+
145
+ * **adapter:** add fetch adapter; ([#6371](https://github.com/axios/axios/issues/6371)) ([a3ff99b](https://github.com/axios/axios/commit/a3ff99b59d8ec2ab5dd049e68c043617a4072e42))
146
+
147
+ ### Contributors to this release
148
+
149
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+1015/-127 (#6371 )")
150
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+30/-14 ()")
151
+
152
+ ## [1.6.8](https://github.com/axios/axios/compare/v1.6.7...v1.6.8) (2024-03-15)
153
+
154
+
155
+ ### Bug Fixes
156
+
157
+ * **AxiosHeaders:** fix AxiosHeaders conversion to an object during config merging ([#6243](https://github.com/axios/axios/issues/6243)) ([2656612](https://github.com/axios/axios/commit/2656612bc10fe2757e9832b708ed773ab340b5cb))
158
+ * **import:** use named export for EventEmitter; ([7320430](https://github.com/axios/axios/commit/7320430aef2e1ba2b89488a0eaf42681165498b1))
159
+ * **vulnerability:** update follow-redirects to 1.15.6 ([#6300](https://github.com/axios/axios/issues/6300)) ([8786e0f](https://github.com/axios/axios/commit/8786e0ff55a8c68d4ca989801ad26df924042e27))
160
+
161
+ ### Contributors to this release
162
+
163
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+4572/-3446 (#6238 )")
164
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+30/-0 (#6231 )")
165
+ - <img src="https://avatars.githubusercontent.com/u/68230846?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Mitchell](https://github.com/Creaous "+9/-9 (#6300 )")
166
+ - <img src="https://avatars.githubusercontent.com/u/53797821?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Emmanuel](https://github.com/mannoeu "+2/-2 (#6196 )")
167
+ - <img src="https://avatars.githubusercontent.com/u/44109284?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Lucas Keller](https://github.com/ljkeller "+3/-0 (#6194 )")
168
+ - <img src="https://avatars.githubusercontent.com/u/72791488?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Aditya Mogili](https://github.com/ADITYA-176 "+1/-1 ()")
169
+ - <img src="https://avatars.githubusercontent.com/u/46135319?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Miroslav Petrov](https://github.com/petrovmiroslav "+1/-1 (#6243 )")
170
+
171
+ ## [1.6.7](https://github.com/axios/axios/compare/v1.6.6...v1.6.7) (2024-01-25)
172
+
173
+
174
+ ### Bug Fixes
175
+
176
+ * capture async stack only for rejections with native error objects; ([#6203](https://github.com/axios/axios/issues/6203)) ([1a08f90](https://github.com/axios/axios/commit/1a08f90f402336e4d00e9ee82f211c6adb1640b0))
177
+
178
+ ### Contributors to this release
179
+
180
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+30/-26 (#6203 )")
181
+ - <img src="https://avatars.githubusercontent.com/u/73059627?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [zhoulixiang](https://github.com/zh-lx "+0/-3 (#6186 )")
182
+
183
+ ## [1.6.6](https://github.com/axios/axios/compare/v1.6.5...v1.6.6) (2024-01-24)
184
+
185
+
186
+ ### Bug Fixes
187
+
188
+ * fixed missed dispatchBeforeRedirect argument ([#5778](https://github.com/axios/axios/issues/5778)) ([a1938ff](https://github.com/axios/axios/commit/a1938ff073fcb0f89011f001dfbc1fa1dc995e39))
189
+ * wrap errors to improve async stack trace ([#5987](https://github.com/axios/axios/issues/5987)) ([123f354](https://github.com/axios/axios/commit/123f354b920f154a209ea99f76b7b2ef3d9ebbab))
190
+
191
+ ### Contributors to this release
192
+
193
+ - <img src="https://avatars.githubusercontent.com/u/1186084?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Ilya Priven](https://github.com/ikonst "+91/-8 (#5987 )")
194
+ - <img src="https://avatars.githubusercontent.com/u/1884246?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Zao Soula](https://github.com/zaosoula "+6/-6 (#5778 )")
195
+
196
+ ## [1.6.5](https://github.com/axios/axios/compare/v1.6.4...v1.6.5) (2024-01-05)
197
+
198
+
199
+ ### Bug Fixes
200
+
201
+ * **ci:** refactor notify action as a job of publish action; ([#6176](https://github.com/axios/axios/issues/6176)) ([0736f95](https://github.com/axios/axios/commit/0736f95ce8776366dc9ca569f49ba505feb6373c))
202
+ * **dns:** fixed lookup error handling; ([#6175](https://github.com/axios/axios/issues/6175)) ([f4f2b03](https://github.com/axios/axios/commit/f4f2b039dd38eb4829e8583caede4ed6d2dd59be))
203
+
204
+ ### Contributors to this release
205
+
206
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+41/-6 (#6176 #6175 )")
207
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+6/-1 ()")
208
+
209
+ ## [1.6.4](https://github.com/axios/axios/compare/v1.6.3...v1.6.4) (2024-01-03)
210
+
211
+
212
+ ### Bug Fixes
213
+
214
+ * **security:** fixed formToJSON prototype pollution vulnerability; ([#6167](https://github.com/axios/axios/issues/6167)) ([3c0c11c](https://github.com/axios/axios/commit/3c0c11cade045c4412c242b5727308cff9897a0e))
215
+ * **security:** fixed security vulnerability in follow-redirects ([#6163](https://github.com/axios/axios/issues/6163)) ([75af1cd](https://github.com/axios/axios/commit/75af1cdff5b3a6ca3766d3d3afbc3115bb0811b8))
216
+
217
+ ### Contributors to this release
218
+
219
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+34/-6 ()")
220
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+34/-3 (#6172 #6167 )")
221
+ - <img src="https://avatars.githubusercontent.com/u/1402060?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Guy Nesher](https://github.com/gnesher "+10/-10 (#6163 )")
222
+
223
+ ## [1.6.3](https://github.com/axios/axios/compare/v1.6.2...v1.6.3) (2023-12-26)
224
+
225
+
226
+ ### Bug Fixes
227
+
228
+ * Regular Expression Denial of Service (ReDoS) ([#6132](https://github.com/axios/axios/issues/6132)) ([5e7ad38](https://github.com/axios/axios/commit/5e7ad38fb0f819fceb19fb2ee5d5d38f56aa837d))
229
+
230
+ ### Contributors to this release
231
+
232
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+15/-6 (#6145 )")
233
+ - <img src="https://avatars.githubusercontent.com/u/22686401?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Willian Agostini](https://github.com/WillianAgostini "+17/-2 (#6132 )")
234
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+3/-0 (#6084 )")
235
+
236
+ ## [1.6.2](https://github.com/axios/axios/compare/v1.6.1...v1.6.2) (2023-11-14)
237
+
238
+
239
+ ### Features
240
+
241
+ * **withXSRFToken:** added withXSRFToken option as a workaround to achieve the old `withCredentials` behavior; ([#6046](https://github.com/axios/axios/issues/6046)) ([cff9967](https://github.com/axios/axios/commit/cff996779b272a5e94c2b52f5503ccf668bc42dc))
242
+
243
+ ### PRs
244
+ - feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old &#x60;withCredentials&#x60; behavior; ( [#6046](https://api.github.com/repos/axios/axios/pulls/6046) )
245
+ ```
246
+
247
+ 📢 This PR added &#x27;withXSRFToken&#x27; option as a replacement for old withCredentials behaviour.
248
+ You should now use withXSRFToken along with withCredential to get the old behavior.
249
+ This functionality is considered as a fix.
250
+ ```
251
+
252
+ ### Contributors to this release
253
+
254
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+271/-146 (#6081 #6080 #6079 #6078 #6046 #6064 #6063 )")
255
+ - <img src="https://avatars.githubusercontent.com/u/79681367?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Ng Choon Khon (CK)](https://github.com/ckng0221 "+4/-4 (#6073 )")
256
+ - <img src="https://avatars.githubusercontent.com/u/9162827?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Muhammad Noman](https://github.com/mnomanmemon "+2/-2 (#6048 )")
257
+
258
+ ## [1.6.1](https://github.com/axios/axios/compare/v1.6.0...v1.6.1) (2023-11-08)
259
+
260
+
261
+ ### Bug Fixes
262
+
263
+ * **formdata:** fixed content-type header normalization for non-standard browser environments; ([#6056](https://github.com/axios/axios/issues/6056)) ([dd465ab](https://github.com/axios/axios/commit/dd465ab22bbfa262c6567be6574bf46a057d5288))
264
+ * **platform:** fixed emulated browser detection in node.js environment; ([#6055](https://github.com/axios/axios/issues/6055)) ([3dc8369](https://github.com/axios/axios/commit/3dc8369e505e32a4e12c22f154c55fd63ac67fbb))
265
+
266
+ ### Contributors to this release
267
+
268
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+432/-65 (#6059 #6056 #6055 )")
269
+ - <img src="https://avatars.githubusercontent.com/u/3982806?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Fabian Meyer](https://github.com/meyfa "+5/-2 (#5835 )")
270
+
271
+ ### PRs
272
+ - feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old &#x60;withCredentials&#x60; behavior; ( [#6046](https://api.github.com/repos/axios/axios/pulls/6046) )
273
+ ```
274
+
275
+ 📢 This PR added &#x27;withXSRFToken&#x27; option as a replacement for old withCredentials behaviour.
276
+ You should now use withXSRFToken along with withCredential to get the old behavior.
277
+ This functionality is considered as a fix.
278
+ ```
279
+
280
+ # [1.6.0](https://github.com/axios/axios/compare/v1.5.1...v1.6.0) (2023-10-26)
281
+
282
+
283
+ ### Bug Fixes
284
+
285
+ * **CSRF:** fixed CSRF vulnerability CVE-2023-45857 ([#6028](https://github.com/axios/axios/issues/6028)) ([96ee232](https://github.com/axios/axios/commit/96ee232bd3ee4de2e657333d4d2191cd389e14d0))
286
+ * **dns:** fixed lookup function decorator to work properly in node v20; ([#6011](https://github.com/axios/axios/issues/6011)) ([5aaff53](https://github.com/axios/axios/commit/5aaff532a6b820bb9ab6a8cd0f77131b47e2adb8))
287
+ * **types:** fix AxiosHeaders types; ([#5931](https://github.com/axios/axios/issues/5931)) ([a1c8ad0](https://github.com/axios/axios/commit/a1c8ad008b3c13d53e135bbd0862587fb9d3fc09))
288
+
289
+ ### PRs
290
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
291
+ ```
292
+
293
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
294
+ ```
295
+
296
+ ### Contributors to this release
297
+
298
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+449/-114 (#6032 #6021 #6011 #5932 #5931 )")
299
+ - <img src="https://avatars.githubusercontent.com/u/63700910?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Valentin Panov](https://github.com/valentin-panov "+4/-4 (#6028 )")
300
+ - <img src="https://avatars.githubusercontent.com/u/76877078?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Rinku Chaudhari](https://github.com/therealrinku "+1/-1 (#5889 )")
301
+
302
+ ## [1.5.1](https://github.com/axios/axios/compare/v1.5.0...v1.5.1) (2023-09-26)
303
+
304
+
305
+ ### Bug Fixes
306
+
307
+ * **adapters:** improved adapters loading logic to have clear error messages; ([#5919](https://github.com/axios/axios/issues/5919)) ([e410779](https://github.com/axios/axios/commit/e4107797a7a1376f6209fbecfbbce73d3faa7859))
308
+ * **formdata:** fixed automatic addition of the `Content-Type` header for FormData in non-browser environments; ([#5917](https://github.com/axios/axios/issues/5917)) ([bc9af51](https://github.com/axios/axios/commit/bc9af51b1886d1b3529617702f2a21a6c0ed5d92))
309
+ * **headers:** allow `content-encoding` header to handle case-insensitive values ([#5890](https://github.com/axios/axios/issues/5890)) ([#5892](https://github.com/axios/axios/issues/5892)) ([4c89f25](https://github.com/axios/axios/commit/4c89f25196525e90a6e75eda9cb31ae0a2e18acd))
310
+ * **types:** removed duplicated code ([9e62056](https://github.com/axios/axios/commit/9e6205630e1c9cf863adf141c0edb9e6d8d4b149))
311
+
312
+ ### Contributors to this release
313
+
314
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+89/-18 (#5919 #5917 )")
315
+ - <img src="https://avatars.githubusercontent.com/u/110460234?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [David Dallas](https://github.com/DavidJDallas "+11/-5 ()")
316
+ - <img src="https://avatars.githubusercontent.com/u/71556073?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Sean Sattler](https://github.com/fb-sean "+2/-8 ()")
317
+ - <img src="https://avatars.githubusercontent.com/u/4294069?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Mustafa Ateş Uzun](https://github.com/0o001 "+4/-4 ()")
318
+ - <img src="https://avatars.githubusercontent.com/u/132928043?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Przemyslaw Motacki](https://github.com/sfc-gh-pmotacki "+2/-1 (#5892 )")
319
+ - <img src="https://avatars.githubusercontent.com/u/5492927?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Michael Di Prisco](https://github.com/Cadienvan "+1/-1 ()")
320
+
321
+ ### PRs
322
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
323
+ ```
324
+
325
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
326
+ ```
327
+
328
+ # [1.5.0](https://github.com/axios/axios/compare/v1.4.0...v1.5.0) (2023-08-26)
329
+
330
+
331
+ ### Bug Fixes
332
+
333
+ * **adapter:** make adapter loading error more clear by using platform-specific adapters explicitly ([#5837](https://github.com/axios/axios/issues/5837)) ([9a414bb](https://github.com/axios/axios/commit/9a414bb6c81796a95c6c7fe668637825458e8b6d))
334
+ * **dns:** fixed `cacheable-lookup` integration; ([#5836](https://github.com/axios/axios/issues/5836)) ([b3e327d](https://github.com/axios/axios/commit/b3e327dcc9277bdce34c7ef57beedf644b00d628))
335
+ * **headers:** added support for setting header names that overlap with class methods; ([#5831](https://github.com/axios/axios/issues/5831)) ([d8b4ca0](https://github.com/axios/axios/commit/d8b4ca0ea5f2f05efa4edfe1e7684593f9f68273))
336
+ * **headers:** fixed common Content-Type header merging; ([#5832](https://github.com/axios/axios/issues/5832)) ([8fda276](https://github.com/axios/axios/commit/8fda2766b1e6bcb72c3fabc146223083ef13ce17))
337
+
338
+
339
+ ### Features
340
+
341
+ * export getAdapter function ([#5324](https://github.com/axios/axios/issues/5324)) ([ca73eb8](https://github.com/axios/axios/commit/ca73eb878df0ae2dace81fe3a7f1fb5986231bf1))
342
+ * **export:** export adapters without `unsafe` prefix ([#5839](https://github.com/axios/axios/issues/5839)) ([1601f4a](https://github.com/axios/axios/commit/1601f4a27a81ab47fea228f1e244b2c4e3ce28bf))
343
+
344
+ ### Contributors to this release
345
+
346
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+66/-29 (#5839 #5837 #5836 #5832 #5831 )")
347
+ - <img src="https://avatars.githubusercontent.com/u/102841186?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [夜葬](https://github.com/geekact "+42/-0 (#5324 )")
348
+ - <img src="https://avatars.githubusercontent.com/u/65978976?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jonathan Budiman](https://github.com/JBudiman00 "+30/-0 (#5788 )")
349
+ - <img src="https://avatars.githubusercontent.com/u/5492927?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Michael Di Prisco](https://github.com/Cadienvan "+3/-5 (#5791 )")
350
+
351
+ ### PRs
352
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
353
+ ```
354
+
355
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
356
+ ```
357
+
358
+ # [1.4.0](https://github.com/axios/axios/compare/v1.3.6...v1.4.0) (2023-04-27)
359
+
360
+
361
+ ### Bug Fixes
362
+
363
+ * **formdata:** add `multipart/form-data` content type for FormData payload on custom client environments; ([#5678](https://github.com/axios/axios/issues/5678)) ([bbb61e7](https://github.com/axios/axios/commit/bbb61e70cb1185adfb1cbbb86eaf6652c48d89d1))
364
+ * **package:** export package internals with unsafe path prefix; ([#5677](https://github.com/axios/axios/issues/5677)) ([df38c94](https://github.com/axios/axios/commit/df38c949f26414d88ba29ec1e353c4d4f97eaf09))
365
+
366
+
367
+ ### Features
368
+
369
+ * **dns:** added support for a custom lookup function; ([#5339](https://github.com/axios/axios/issues/5339)) ([2701911](https://github.com/axios/axios/commit/2701911260a1faa5cc5e1afe437121b330a3b7bb))
370
+ * **types:** export `AxiosHeaderValue` type. ([#5525](https://github.com/axios/axios/issues/5525)) ([726f1c8](https://github.com/axios/axios/commit/726f1c8e00cffa0461a8813a9bdcb8f8b9d762cf))
371
+
372
+
373
+ ### Performance Improvements
374
+
375
+ * **merge-config:** optimize mergeConfig performance by avoiding duplicate key visits; ([#5679](https://github.com/axios/axios/issues/5679)) ([e6f7053](https://github.com/axios/axios/commit/e6f7053bf1a3e87cf1f9da8677e12e3fe829d68e))
376
+
377
+ ### Contributors to this release
378
+
379
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+151/-16 (#5684 #5339 #5679 #5678 #5677 )")
380
+ - <img src="https://avatars.githubusercontent.com/u/47537704?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Arthur Fiorette](https://github.com/arthurfiorette "+19/-19 (#5525 )")
381
+ - <img src="https://avatars.githubusercontent.com/u/43876655?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [PIYUSH NEGI](https://github.com/npiyush97 "+2/-18 (#5670 )")
382
+
383
+ ### PRs
384
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
385
+ ```
386
+
387
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
388
+ ```
389
+
390
+ ## [1.3.6](https://github.com/axios/axios/compare/v1.3.5...v1.3.6) (2023-04-19)
391
+
392
+
393
+ ### Bug Fixes
394
+
395
+ * **types:** added transport to RawAxiosRequestConfig ([#5445](https://github.com/axios/axios/issues/5445)) ([6f360a2](https://github.com/axios/axios/commit/6f360a2531d8d70363fd9becef6a45a323f170e2))
396
+ * **utils:** make isFormData detection logic stricter to avoid unnecessary calling of the `toString` method on the target; ([#5661](https://github.com/axios/axios/issues/5661)) ([aa372f7](https://github.com/axios/axios/commit/aa372f7306295dfd1100c1c2c77ce95c95808e76))
397
+
398
+ ### Contributors to this release
399
+
400
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+48/-10 (#5665 #5661 #5663 )")
401
+ - <img src="https://avatars.githubusercontent.com/u/5492927?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Michael Di Prisco](https://github.com/Cadienvan "+2/-0 (#5445 )")
402
+
403
+ ### PRs
404
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
405
+ ```
406
+
407
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
408
+ ```
409
+
410
+ ## [1.3.5](https://github.com/axios/axios/compare/v1.3.4...v1.3.5) (2023-04-05)
411
+
412
+
413
+ ### Bug Fixes
414
+
415
+ * **headers:** fixed isValidHeaderName to support full list of allowed characters; ([#5584](https://github.com/axios/axios/issues/5584)) ([e7decef](https://github.com/axios/axios/commit/e7decef6a99f4627e27ed9ea5b00ce8e201c3841))
416
+ * **params:** re-added the ability to set the function as `paramsSerializer` config; ([#5633](https://github.com/axios/axios/issues/5633)) ([a56c866](https://github.com/axios/axios/commit/a56c8661209d5ce5a645a05f294a0e08a6c1f6b3))
417
+
418
+ ### Contributors to this release
419
+
420
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+28/-10 (#5633 #5584 )")
421
+
422
+ ### PRs
423
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
424
+ ```
425
+
426
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
427
+ ```
428
+
429
+ ## [1.3.4](https://github.com/axios/axios/compare/v1.3.3...v1.3.4) (2023-02-22)
430
+
431
+
432
+ ### Bug Fixes
433
+
434
+ * **blob:** added a check to make sure the Blob class is available in the browser's global scope; ([#5548](https://github.com/axios/axios/issues/5548)) ([3772c8f](https://github.com/axios/axios/commit/3772c8fe74112a56e3e9551f894d899bc3a9443a))
435
+ * **http:** fixed regression bug when handling synchronous errors inside the adapter; ([#5564](https://github.com/axios/axios/issues/5564)) ([a3b246c](https://github.com/axios/axios/commit/a3b246c9de5c3bc4b5a742e15add55b375479451))
436
+
437
+ ### Contributors to this release
438
+
439
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+38/-26 (#5564 )")
440
+ - <img src="https://avatars.githubusercontent.com/u/19550000?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [lcysgsg](https://github.com/lcysgsg "+4/-0 (#5548 )")
441
+ - <img src="https://avatars.githubusercontent.com/u/5492927?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Michael Di Prisco](https://github.com/Cadienvan "+3/-0 (#5444 )")
442
+
443
+ ### PRs
444
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
445
+ ```
446
+
447
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
448
+ ```
449
+
450
+ ## [1.3.3](https://github.com/axios/axios/compare/v1.3.2...v1.3.3) (2023-02-13)
451
+
452
+
453
+ ### Bug Fixes
454
+
455
+ * **formdata:** added a check to make sure the FormData class is available in the browser's global scope; ([#5545](https://github.com/axios/axios/issues/5545)) ([a6dfa72](https://github.com/axios/axios/commit/a6dfa72010db5ad52db8bd13c0f98e537e8fd05d))
456
+ * **formdata:** fixed setting NaN as Content-Length for form payload in some cases; ([#5535](https://github.com/axios/axios/issues/5535)) ([c19f7bf](https://github.com/axios/axios/commit/c19f7bf770f90ae8307f4ea3104f227056912da1))
457
+ * **headers:** fixed the filtering logic of the clear method; ([#5542](https://github.com/axios/axios/issues/5542)) ([ea87ebf](https://github.com/axios/axios/commit/ea87ebfe6d1699af072b9e7cd40faf8f14b0ab93))
458
+
459
+ ### Contributors to this release
460
+
461
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+11/-7 (#5545 #5535 #5542 )")
462
+ - <img src="https://avatars.githubusercontent.com/u/19842213?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [陈若枫](https://github.com/ruofee "+2/-2 (#5467 )")
463
+
464
+ ### PRs
465
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
466
+ ```
467
+
468
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
469
+ ```
470
+
471
+ ## [1.3.2](https://github.com/axios/axios/compare/v1.3.1...v1.3.2) (2023-02-03)
472
+
473
+
474
+ ### Bug Fixes
475
+
476
+ * **http:** treat http://localhost as base URL for relative paths to avoid `ERR_INVALID_URL` error; ([#5528](https://github.com/axios/axios/issues/5528)) ([128d56f](https://github.com/axios/axios/commit/128d56f4a0fb8f5f2ed6e0dd80bc9225fee9538c))
477
+ * **http:** use explicit import instead of TextEncoder global; ([#5530](https://github.com/axios/axios/issues/5530)) ([6b3c305](https://github.com/axios/axios/commit/6b3c305fc40c56428e0afabedc6f4d29c2830f6f))
478
+
479
+ ### Contributors to this release
480
+
481
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+2/-1 (#5530 #5528 )")
482
+
483
+ ### PRs
484
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
485
+ ```
486
+
487
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
488
+ ```
489
+
490
+ ## [1.3.1](https://github.com/axios/axios/compare/v1.3.0...v1.3.1) (2023-02-01)
491
+
492
+
493
+ ### Bug Fixes
494
+
495
+ * **formdata:** add hotfix to use the asynchronous API to compute the content-length header value; ([#5521](https://github.com/axios/axios/issues/5521)) ([96d336f](https://github.com/axios/axios/commit/96d336f527619f21da012fe1f117eeb53e5a2120))
496
+ * **serializer:** fixed serialization of array-like objects; ([#5518](https://github.com/axios/axios/issues/5518)) ([08104c0](https://github.com/axios/axios/commit/08104c028c0f9353897b1b6691d74c440fd0c32d))
497
+
498
+ ### Contributors to this release
499
+
500
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+27/-8 (#5521 #5518 )")
501
+
502
+ ### PRs
503
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
504
+ ```
505
+
506
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
507
+ ```
508
+
509
+ # [1.3.0](https://github.com/axios/axios/compare/v1.2.6...v1.3.0) (2023-01-31)
510
+
511
+
512
+ ### Bug Fixes
513
+
514
+ * **headers:** fixed & optimized clear method; ([#5507](https://github.com/axios/axios/issues/5507)) ([9915635](https://github.com/axios/axios/commit/9915635c69d0ab70daca5738488421f67ca60959))
515
+ * **http:** add zlib headers if missing ([#5497](https://github.com/axios/axios/issues/5497)) ([65e8d1e](https://github.com/axios/axios/commit/65e8d1e28ce829f47a837e45129730e541950d3c))
516
+
517
+
518
+ ### Features
519
+
520
+ * **fomdata:** added support for spec-compliant FormData & Blob types; ([#5316](https://github.com/axios/axios/issues/5316)) ([6ac574e](https://github.com/axios/axios/commit/6ac574e00a06731288347acea1e8246091196953))
521
+
522
+ ### Contributors to this release
523
+
524
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+352/-67 (#5514 #5512 #5510 #5509 #5508 #5316 #5507 )")
525
+ - <img src="https://avatars.githubusercontent.com/u/35015993?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [ItsNotGoodName](https://github.com/ItsNotGoodName "+43/-2 (#5497 )")
526
+
527
+ ### PRs
528
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
529
+ ```
530
+
531
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
532
+ ```
533
+
534
+ ## [1.2.6](https://github.com/axios/axios/compare/v1.2.5...v1.2.6) (2023-01-28)
535
+
536
+
537
+ ### Bug Fixes
538
+
539
+ * **headers:** added missed Authorization accessor; ([#5502](https://github.com/axios/axios/issues/5502)) ([342c0ba](https://github.com/axios/axios/commit/342c0ba9a16ea50f5ed7d2366c5c1a2c877e3f26))
540
+ * **types:** fixed `CommonRequestHeadersList` & `CommonResponseHeadersList` types to be private in commonJS; ([#5503](https://github.com/axios/axios/issues/5503)) ([5a3d0a3](https://github.com/axios/axios/commit/5a3d0a3234d77361a1bc7cedee2da1e11df08e2c))
541
+
542
+ ### Contributors to this release
543
+
544
+ - ![avatar](https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+24/-9 (#5503 #5502 )")
545
+
546
+ ### PRs
547
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
548
+ ```
549
+
550
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
551
+ ```
552
+
553
+ ## [1.2.5](https://github.com/axios/axios/compare/v1.2.4...v1.2.5) (2023-01-26)
554
+
555
+
556
+ ### Bug Fixes
557
+
558
+ * **types:** fixed AxiosHeaders to handle spread syntax by making all methods non-enumerable; ([#5499](https://github.com/axios/axios/issues/5499)) ([580f1e8](https://github.com/axios/axios/commit/580f1e8033a61baa38149d59fd16019de3932c22))
559
+
560
+ ### Contributors to this release
561
+
562
+ - ![avatar](https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+82/-54 (#5499 )")
563
+ - ![avatar](https://avatars.githubusercontent.com/u/20516159?v&#x3D;4&amp;s&#x3D;16) [Elliot Ford](https://github.com/EFord36 "+1/-1 (#5462 )")
564
+
565
+ ### PRs
566
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
567
+ ```
568
+
569
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
570
+ ```
571
+
572
+ ## [1.2.4](https://github.com/axios/axios/compare/v1.2.3...v1.2.4) (2023-01-22)
573
+
574
+
575
+ ### Bug Fixes
576
+
577
+ * **types:** renamed `RawAxiosRequestConfig` back to `AxiosRequestConfig`; ([#5486](https://github.com/axios/axios/issues/5486)) ([2a71f49](https://github.com/axios/axios/commit/2a71f49bc6c68495fa419003a3107ed8bd703ad0))
578
+ * **types:** fix `AxiosRequestConfig` generic; ([#5478](https://github.com/axios/axios/issues/5478)) ([9bce81b](https://github.com/axios/axios/commit/186ea062da8b7d578ae78b1a5c220986b9bce81b))
579
+
580
+ ### Contributors to this release
581
+
582
+ - ![avatar](https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+242/-108 (#5486 #5482 )")
583
+ - ![avatar](https://avatars.githubusercontent.com/u/9430821?v&#x3D;4&amp;s&#x3D;16) [Daniel Hillmann](https://github.com/hilleer "+1/-1 (#5478 )")
584
+
585
+ ### PRs
586
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
587
+ ```
588
+
589
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
590
+ ```
591
+
592
+ ## [1.2.3](https://github.com/axios/axios/compare/1.2.2...1.2.3) (2023-01-10)
593
+
594
+
595
+ ### Bug Fixes
596
+
597
+ * **types:** fixed AxiosRequestConfig header interface by refactoring it to RawAxiosRequestConfig; ([#5420](https://github.com/axios/axios/issues/5420)) ([0811963](https://github.com/axios/axios/commit/08119634a22f1d5b19f5c9ea0adccb6d3eebc3bc))
598
+
599
+ ### Contributors to this release
600
+
601
+ - ![avatar](https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+938/-442 (#5456 #5455 #5453 #5451 #5449 #5447 #5446 #5443 #5442 #5439 #5420 )")
602
+
603
+ ### PRs
604
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
605
+ ```
606
+
607
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
608
+ ```
609
+
610
+ ## [1.2.2] - 2022-12-29
611
+
612
+ ### Fixed
613
+ - fix(ci): fix release script inputs [#5392](https://github.com/axios/axios/pull/5392)
614
+ - fix(ci): prerelease scipts [#5377](https://github.com/axios/axios/pull/5377)
615
+ - fix(ci): release scripts [#5376](https://github.com/axios/axios/pull/5376)
616
+ - fix(ci): typescript tests [#5375](https://github.com/axios/axios/pull/5375)
617
+ - fix: Brotli decompression [#5353](https://github.com/axios/axios/pull/5353)
618
+ - fix: add missing HttpStatusCode [#5345](https://github.com/axios/axios/pull/5345)
619
+
620
+ ### Chores
621
+ - chore(ci): set conventional-changelog header config [#5406](https://github.com/axios/axios/pull/5406)
622
+ - chore(ci): fix automatic contributors resolving [#5403](https://github.com/axios/axios/pull/5403)
623
+ - chore(ci): improved logging for the contributors list generator [#5398](https://github.com/axios/axios/pull/5398)
624
+ - chore(ci): fix release action [#5397](https://github.com/axios/axios/pull/5397)
625
+ - chore(ci): fix version bump script by adding bump argument for target version [#5393](https://github.com/axios/axios/pull/5393)
626
+ - chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 [#5342](https://github.com/axios/axios/pull/5342)
627
+ - chore(ci): GitHub Actions Release script [#5384](https://github.com/axios/axios/pull/5384)
628
+ - chore(ci): release scripts [#5364](https://github.com/axios/axios/pull/5364)
629
+
630
+ ### Contributors to this release
631
+ - ![avatar](https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
632
+ - ![avatar](https://avatars.githubusercontent.com/u/1652293?v&#x3D;4&amp;s&#x3D;16) [Winnie](https://github.com/winniehell)
633
+
634
+ ## [1.2.1] - 2022-12-05
635
+
636
+ ### Changed
637
+ - feat(exports): export mergeConfig [#5151](https://github.com/axios/axios/pull/5151)
638
+
639
+ ### Fixed
640
+ - fix(CancelledError): include config [#4922](https://github.com/axios/axios/pull/4922)
641
+ - fix(general): removing multiple/trailing/leading whitespace [#5022](https://github.com/axios/axios/pull/5022)
642
+ - fix(headers): decompression for responses without Content-Length header [#5306](https://github.com/axios/axios/pull/5306)
643
+ - fix(webWorker): exception to sending form data in web worker [#5139](https://github.com/axios/axios/pull/5139)
644
+
645
+ ### Refactors
646
+ - refactor(types): AxiosProgressEvent.event type to any [#5308](https://github.com/axios/axios/pull/5308)
647
+ - refactor(types): add missing types for static AxiosError.from method [#4956](https://github.com/axios/axios/pull/4956)
648
+
649
+ ### Chores
650
+ - chore(docs): remove README link to non-existent upgrade guide [#5307](https://github.com/axios/axios/pull/5307)
651
+ - chore(docs): typo in issue template name [#5159](https://github.com/axios/axios/pull/5159)
652
+
653
+ ### Contributors to this release
654
+
655
+ - [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
656
+ - [Zachary Lysobey](https://github.com/zachlysobey)
657
+ - [Kevin Ennis](https://github.com/kevincennis)
658
+ - [Philipp Loose](https://github.com/phloose)
659
+ - [secondl1ght](https://github.com/secondl1ght)
660
+ - [wenzheng](https://github.com/0x30)
661
+ - [Ivan Barsukov](https://github.com/ovarn)
662
+ - [Arthur Fiorette](https://github.com/arthurfiorette)
663
+
664
+ ### PRs
665
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
666
+ ```
667
+
668
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
669
+ ```
670
+
671
+ ## [1.2.0] - 2022-11-10
672
+
673
+ ### Changed
674
+
675
+ - changed: refactored module exports [#5162](https://github.com/axios/axios/pull/5162)
676
+ - change: re-added support for loading Axios with require('axios').default [#5225](https://github.com/axios/axios/pull/5225)
677
+
678
+ ### Fixed
679
+
680
+ - fix: improve AxiosHeaders class [#5224](https://github.com/axios/axios/pull/5224)
681
+ - fix: TypeScript type definitions for commonjs [#5196](https://github.com/axios/axios/pull/5196)
682
+ - fix: type definition of use method on AxiosInterceptorManager to match the the README [#5071](https://github.com/axios/axios/pull/5071)
683
+ - fix: __dirname is not defined in the sandbox [#5269](https://github.com/axios/axios/pull/5269)
684
+ - fix: AxiosError.toJSON method to avoid circular references [#5247](https://github.com/axios/axios/pull/5247)
685
+ - fix: Z_BUF_ERROR when content-encoding is set but the response body is empty [#5250](https://github.com/axios/axios/pull/5250)
686
+
687
+ ### Refactors
688
+ - refactor: allowing adapters to be loaded by name [#5277](https://github.com/axios/axios/pull/5277)
689
+
690
+ ### Chores
691
+
692
+ - chore: force CI restart [#5243](https://github.com/axios/axios/pull/5243)
693
+ - chore: update ECOSYSTEM.md [#5077](https://github.com/axios/axios/pull/5077)
694
+ - chore: update get/index.html [#5116](https://github.com/axios/axios/pull/5116)
695
+ - chore: update Sandbox UI/UX [#5205](https://github.com/axios/axios/pull/5205)
696
+ - chore:(actions): remove git credentials after checkout [#5235](https://github.com/axios/axios/pull/5235)
697
+ - chore(actions): bump actions/dependency-review-action from 2 to 3 [#5266](https://github.com/axios/axios/pull/5266)
698
+ - chore(packages): bump loader-utils from 1.4.1 to 1.4.2 [#5295](https://github.com/axios/axios/pull/5295)
699
+ - chore(packages): bump engine.io from 6.2.0 to 6.2.1 [#5294](https://github.com/axios/axios/pull/5294)
700
+ - chore(packages): bump socket.io-parser from 4.0.4 to 4.0.5 [#5241](https://github.com/axios/axios/pull/5241)
701
+ - chore(packages): bump loader-utils from 1.4.0 to 1.4.1 [#5245](https://github.com/axios/axios/pull/5245)
702
+ - chore(docs): update Resources links in README [#5119](https://github.com/axios/axios/pull/5119)
703
+ - chore(docs): update the link for JSON url [#5265](https://github.com/axios/axios/pull/5265)
704
+ - chore(docs): fix broken links [#5218](https://github.com/axios/axios/pull/5218)
705
+ - chore(docs): update and rename UPGRADE_GUIDE.md to MIGRATION_GUIDE.md [#5170](https://github.com/axios/axios/pull/5170)
706
+ - chore(docs): typo fix line #856 and #920 [#5194](https://github.com/axios/axios/pull/5194)
707
+ - chore(docs): typo fix #800 [#5193](https://github.com/axios/axios/pull/5193)
708
+ - chore(docs): fix typos [#5184](https://github.com/axios/axios/pull/5184)
709
+ - chore(docs): fix punctuation in README.md [#5197](https://github.com/axios/axios/pull/5197)
710
+ - chore(docs): update readme in the Handling Errors section - issue reference #5260 [#5261](https://github.com/axios/axios/pull/5261)
711
+ - chore: remove \b from filename [#5207](https://github.com/axios/axios/pull/5207)
712
+ - chore(docs): update CHANGELOG.md [#5137](https://github.com/axios/axios/pull/5137)
713
+ - chore: add sideEffects false to package.json [#5025](https://github.com/axios/axios/pull/5025)
714
+
715
+ ### Contributors to this release
716
+
717
+ - [Maddy Miller](https://github.com/me4502)
718
+ - [Amit Saini](https://github.com/amitsainii)
719
+ - [ecyrbe](https://github.com/ecyrbe)
720
+ - [Ikko Ashimine](https://github.com/eltociear)
721
+ - [Geeth Gunnampalli](https://github.com/thetechie7)
722
+ - [Shreem Asati](https://github.com/shreem-123)
723
+ - [Frieder Bluemle](https://github.com/friederbluemle)
724
+ - [윤세영](https://github.com/yunseyeong)
725
+ - [Claudio Busatto](https://github.com/cjcbusatto)
726
+ - [Remco Haszing](https://github.com/remcohaszing)
727
+ - [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
728
+ - [Csaba Maulis](https://github.com/om4csaba)
729
+ - [MoPaMo](https://github.com/MoPaMo)
730
+ - [Daniel Fjeldstad](https://github.com/w3bdesign)
731
+ - [Adrien Brunet](https://github.com/adrien-may)
732
+ - [Frazer Smith](https://github.com/Fdawgs)
733
+ - [HaiTao](https://github.com/836334258)
734
+ - [AZM](https://github.com/aziyatali)
735
+ - [relbns](https://github.com/relbns)
736
+
737
+ ### PRs
738
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
739
+ ```
740
+
741
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
742
+ ```
743
+
744
+ ## [1.1.3] - 2022-10-15
745
+
746
+ ### Added
747
+
748
+ - Added custom params serializer support [#5113](https://github.com/axios/axios/pull/5113)
749
+
750
+ ### Fixed
751
+
752
+ - Fixed top-level export to keep them in-line with static properties [#5109](https://github.com/axios/axios/pull/5109)
753
+ - Stopped including null values to query string. [#5108](https://github.com/axios/axios/pull/5108)
754
+ - Restored proxy config backwards compatibility with 0.x [#5097](https://github.com/axios/axios/pull/5097)
755
+ - Added back AxiosHeaders in AxiosHeaderValue [#5103](https://github.com/axios/axios/pull/5103)
756
+ - Pin CDN install instructions to a specific version [#5060](https://github.com/axios/axios/pull/5060)
757
+ - Handling of array values fixed for AxiosHeaders [#5085](https://github.com/axios/axios/pull/5085)
758
+
759
+ ### Chores
760
+
761
+ - docs: match badge style, add link to them [#5046](https://github.com/axios/axios/pull/5046)
762
+ - chore: fixing comments typo [#5054](https://github.com/axios/axios/pull/5054)
763
+ - chore: update issue template [#5061](https://github.com/axios/axios/pull/5061)
764
+ - chore: added progress capturing section to the docs; [#5084](https://github.com/axios/axios/pull/5084)
765
+
766
+ ### Contributors to this release
767
+
768
+ - [Jason Saayman](https://github.com/jasonsaayman)
769
+ - [scarf](https://github.com/scarf005)
770
+ - [Lenz Weber-Tronic](https://github.com/phryneas)
771
+ - [Arvindh](https://github.com/itsarvindh)
772
+ - [Félix Legrelle](https://github.com/FelixLgr)
773
+ - [Patrick Petrovic](https://github.com/ppati000)
774
+ - [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
775
+ - [littledian](https://github.com/littledian)
776
+ - [ChronosMasterOfAllTime](https://github.com/ChronosMasterOfAllTime)
777
+
778
+ ### PRs
779
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
780
+ ```
781
+
782
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
783
+ ```
784
+
785
+ ## [1.1.2] - 2022-10-07
786
+
787
+ ### Fixed
788
+
789
+ - Fixed broken exports for UMD builds.
790
+
791
+ ### Contributors to this release
792
+
793
+ - [Jason Saayman](https://github.com/jasonsaayman)
794
+
795
+ ### PRs
796
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
797
+ ```
798
+
799
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
800
+ ```
801
+
802
+ ## [1.1.1] - 2022-10-07
803
+
804
+ ### Fixed
805
+
806
+ - Fixed broken exports for common js. This fix breaks a prior fix, I will fix both issues ASAP but the commonJS use is more impactful.
807
+
808
+ ### Contributors to this release
809
+
810
+ - [Jason Saayman](https://github.com/jasonsaayman)
811
+
812
+ ### PRs
813
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
814
+ ```
815
+
816
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
817
+ ```
818
+
819
+ ## [1.1.0] - 2022-10-06
820
+
821
+ ### Fixed
822
+
823
+ - Fixed missing exports in type definition index.d.ts [#5003](https://github.com/axios/axios/pull/5003)
824
+ - Fixed query params composing [#5018](https://github.com/axios/axios/pull/5018)
825
+ - Fixed GenericAbortSignal interface by making it more generic [#5021](https://github.com/axios/axios/pull/5021)
826
+ - Fixed adding "clear" to AxiosInterceptorManager [#5010](https://github.com/axios/axios/pull/5010)
827
+ - Fixed commonjs & umd exports [#5030](https://github.com/axios/axios/pull/5030)
828
+ - Fixed inability to access response headers when using axios 1.x with Jest [#5036](https://github.com/axios/axios/pull/5036)
829
+
830
+ ### Contributors to this release
831
+
832
+ - [Trim21](https://github.com/trim21)
833
+ - [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
834
+ - [shingo.sasaki](https://github.com/s-sasaki-0529)
835
+ - [Ivan Pepelko](https://github.com/ivanpepelko)
836
+ - [Richard Kořínek](https://github.com/risa)
837
+
838
+ ### PRs
839
+ - CVE 2023 45857 ( [#6028](https://api.github.com/repos/axios/axios/pulls/6028) )
840
+ ```
841
+
842
+ ⚠️ Critical vulnerability fix. See https://security.snyk.io/vuln/SNYK-JS-AXIOS-6032459
843
+ ```
844
+
845
+ ## [1.0.0] - 2022-10-04
846
+
847
+ ### Added
848
+
849
+ - Added stack trace to AxiosError [#4624](https://github.com/axios/axios/pull/4624)
850
+ - Add AxiosError to AxiosStatic [#4654](https://github.com/axios/axios/pull/4654)
851
+ - Replaced Rollup as our build runner [#4596](https://github.com/axios/axios/pull/4596)
852
+ - Added generic TS types for the exposed toFormData helper [#4668](https://github.com/axios/axios/pull/4668)
853
+ - Added listen callback function [#4096](https://github.com/axios/axios/pull/4096)
854
+ - Added instructions for installing using PNPM [#4207](https://github.com/axios/axios/pull/4207)
855
+ - Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill [#4229](https://github.com/axios/axios/pull/4229)
856
+ - Added axios-url-template in ECOSYSTEM.md [#4238](https://github.com/axios/axios/pull/4238)
857
+ - 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 [#4248](https://github.com/axios/axios/pull/4248)
858
+ - Added react hook plugin [#4319](https://github.com/axios/axios/pull/4319)
859
+ - Adding HTTP status code for transformResponse [#4580](https://github.com/axios/axios/pull/4580)
860
+ - Added blob to the list of protocols supported by the browser [#4678](https://github.com/axios/axios/pull/4678)
861
+ - Resolving proxy from env on redirect [#4436](https://github.com/axios/axios/pull/4436)
862
+ - Added enhanced toFormData implementation with additional options [4704](https://github.com/axios/axios/pull/4704)
863
+ - Adding Canceler parameters config and request [#4711](https://github.com/axios/axios/pull/4711)
864
+ - Added automatic payload serialization to application/x-www-form-urlencoded [#4714](https://github.com/axios/axios/pull/4714)
865
+ - Added the ability for webpack users to overwrite built-ins [#4715](https://github.com/axios/axios/pull/4715)
866
+ - Added string[] to AxiosRequestHeaders type [#4322](https://github.com/axios/axios/pull/4322)
867
+ - Added the ability for the url-encoded-form serializer to respect the formSerializer config [#4721](https://github.com/axios/axios/pull/4721)
868
+ - Added isCancel type assert [#4293](https://github.com/axios/axios/pull/4293)
869
+ - Added data URL support for node.js [#4725](https://github.com/axios/axios/pull/4725)
870
+ - Adding types for progress event callbacks [#4675](https://github.com/axios/axios/pull/4675)
871
+ - URL params serializer [#4734](https://github.com/axios/axios/pull/4734)
872
+ - Added axios.formToJSON method [#4735](https://github.com/axios/axios/pull/4735)
873
+ - Bower platform add data protocol [#4804](https://github.com/axios/axios/pull/4804)
874
+ - Use WHATWG URL API instead of url.parse() [#4852](https://github.com/axios/axios/pull/4852)
875
+ - Add ENUM containing Http Status Codes to typings [#4903](https://github.com/axios/axios/pull/4903)
876
+ - Improve typing of timeout in index.d.ts [#4934](https://github.com/axios/axios/pull/4934)
877
+
878
+ ### Changed
879
+
880
+ - Updated AxiosError.config to be optional in the type definition [#4665](https://github.com/axios/axios/pull/4665)
881
+ - Updated README emphasizing the URLSearchParam built-in interface over other solutions [#4590](https://github.com/axios/axios/pull/4590)
882
+ - Include request and config when creating a CanceledError instance [#4659](https://github.com/axios/axios/pull/4659)
883
+ - Changed func-names eslint rule to as-needed [#4492](https://github.com/axios/axios/pull/4492)
884
+ - Replacing deprecated substr() with slice() as substr() is deprecated [#4468](https://github.com/axios/axios/pull/4468)
885
+ - Updating HTTP links in README.md to use HTTPS [#4387](https://github.com/axios/axios/pull/4387)
886
+ - Updated to a better trim() polyfill [#4072](https://github.com/axios/axios/pull/4072)
887
+ - Updated types to allow specifying partial default headers on instance create [#4185](https://github.com/axios/axios/pull/4185)
888
+ - Expanded isAxiosError types [#4344](https://github.com/axios/axios/pull/4344)
889
+ - Updated type definition for axios instance methods [#4224](https://github.com/axios/axios/pull/4224)
890
+ - Updated eslint config [#4722](https://github.com/axios/axios/pull/4722)
891
+ - Updated Docs [#4742](https://github.com/axios/axios/pull/4742)
892
+ - Refactored Axios to use ES2017 [#4787](https://github.com/axios/axios/pull/4787)
893
+
894
+
895
+ ### Deprecated
896
+ - There are multiple deprecations, refactors and fixes provided in this release. Please read through the full release notes to see how this may impact your project and use case.
897
+
898
+ ### Removed
899
+
900
+ - Removed incorrect argument for NetworkError constructor [#4656](https://github.com/axios/axios/pull/4656)
901
+ - Removed Webpack [#4596](https://github.com/axios/axios/pull/4596)
902
+ - Removed function that transform arguments to array [#4544](https://github.com/axios/axios/pull/4544)
903
+
904
+ ### Fixed
905
+
906
+ - Fixed grammar in README [#4649](https://github.com/axios/axios/pull/4649)
907
+ - Fixed code error in README [#4599](https://github.com/axios/axios/pull/4599)
908
+ - Optimized the code that checks cancellation [#4587](https://github.com/axios/axios/pull/4587)
909
+ - Fix url pointing to defaults.js in README [#4532](https://github.com/axios/axios/pull/4532)
910
+ - Use type alias instead of interface for AxiosPromise [#4505](https://github.com/axios/axios/pull/4505)
911
+ - Fix some word spelling and lint style in code comments [#4500](https://github.com/axios/axios/pull/4500)
912
+ - Edited readme with 3 updated browser icons of Chrome, FireFox and Safari [#4414](https://github.com/axios/axios/pull/4414)
913
+ - Bump follow-redirects from 1.14.9 to 1.15.0 [#4673](https://github.com/axios/axios/pull/4673)
914
+ - Fixing http tests to avoid hanging when assertions fail [#4435](https://github.com/axios/axios/pull/4435)
915
+ - Fix TS definition for AxiosRequestTransformer [#4201](https://github.com/axios/axios/pull/4201)
916
+ - Fix grammatical issues in README [#4232](https://github.com/axios/axios/pull/4232)
917
+ - Fixing instance.defaults.headers type [#4557](https://github.com/axios/axios/pull/4557)
918
+ - Fixed race condition on immediate requests cancellation [#4261](https://github.com/axios/axios/pull/4261)
919
+ - Fixing Z_BUF_ERROR when no content [#4701](https://github.com/axios/axios/pull/4701)
920
+ - Fixing proxy beforeRedirect regression [#4708](https://github.com/axios/axios/pull/4708)
921
+ - Fixed AxiosError status code type [#4717](https://github.com/axios/axios/pull/4717)
922
+ - Fixed AxiosError stack capturing [#4718](https://github.com/axios/axios/pull/4718)
923
+ - Fixing AxiosRequestHeaders typings [#4334](https://github.com/axios/axios/pull/4334)
924
+ - Fixed max body length defaults [#4731](https://github.com/axios/axios/pull/4731)
925
+ - Fixed toFormData Blob issue on node>v17 [#4728](https://github.com/axios/axios/pull/4728)
926
+ - Bump grunt from 1.5.2 to 1.5.3 [#4743](https://github.com/axios/axios/pull/4743)
927
+ - Fixing content-type header repeated [#4745](https://github.com/axios/axios/pull/4745)
928
+ - Fixed timeout error message for http [4738](https://github.com/axios/axios/pull/4738)
929
+ - Request ignores false, 0 and empty string as body values [#4785](https://github.com/axios/axios/pull/4785)
930
+ - Added back missing minified builds [#4805](https://github.com/axios/axios/pull/4805)
931
+ - Fixed a type error [#4815](https://github.com/axios/axios/pull/4815)
932
+ - Fixed a regression bug with unsubscribing from cancel token; [#4819](https://github.com/axios/axios/pull/4819)
933
+ - Remove repeated compression algorithm [#4820](https://github.com/axios/axios/pull/4820)
934
+ - The error of calling extend to pass parameters [#4857](https://github.com/axios/axios/pull/4857)
935
+ - SerializerOptions.indexes allows boolean | null | undefined [#4862](https://github.com/axios/axios/pull/4862)
936
+ - Require interceptors to return values [#4874](https://github.com/axios/axios/pull/4874)
937
+ - Removed unused imports [#4949](https://github.com/axios/axios/pull/4949)
938
+ - Allow null indexes on formSerializer and paramsSerializer [#4960](https://github.com/axios/axios/pull/4960)
939
+
940
+ ### Chores
941
+ - Set permissions for GitHub actions [#4765](https://github.com/axios/axios/pull/4765)
942
+ - Included githubactions in the dependabot config [#4770](https://github.com/axios/axios/pull/4770)
943
+ - Included dependency review [#4771](https://github.com/axios/axios/pull/4771)
944
+ - Update security.md [#4784](https://github.com/axios/axios/pull/4784)
945
+ - Remove unnecessary spaces [#4854](https://github.com/axios/axios/pull/4854)
946
+ - Simplify the import path of AxiosError [#4875](https://github.com/axios/axios/pull/4875)
947
+ - Fix Gitpod dead link [#4941](https://github.com/axios/axios/pull/4941)
948
+ - Enable syntax highlighting for a code block [#4970](https://github.com/axios/axios/pull/4970)
949
+ - Using Logo Axios in Readme.md [#4993](https://github.com/axios/axios/pull/4993)
950
+ - Fix markup for note in README [#4825](https://github.com/axios/axios/pull/4825)
951
+ - Fix typo and formatting, add colons [#4853](https://github.com/axios/axios/pull/4853)
952
+ - Fix typo in readme [#4942](https://github.com/axios/axios/pull/4942)
953
+
954
+ ### Security
955
+
956
+ - Update SECURITY.md [#4687](https://github.com/axios/axios/pull/4687)
957
+
958
+ ### Contributors to this release
959
+
960
+ - [Bertrand Marron](https://github.com/tusbar)
961
+ - [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
962
+ - [Dan Mooney](https://github.com/danmooney)
963
+ - [Michael Li](https://github.com/xiaoyu-tamu)
964
+ - [aong](https://github.com/yxwzaxns)
965
+ - [Des Preston](https://github.com/despreston)
966
+ - [Ted Robertson](https://github.com/tredondo)
967
+ - [zhoulixiang](https://github.com/zh-lx)
968
+ - [Arthur Fiorette](https://github.com/arthurfiorette)
969
+ - [Kumar Shanu](https://github.com/Kr-Shanu)
970
+ - [JALAL](https://github.com/JLL32)
971
+ - [Jingyi Lin](https://github.com/MageeLin)
972
+ - [Philipp Loose](https://github.com/phloose)
973
+ - [Alexander Shchukin](https://github.com/sashsvamir)
974
+ - [Dave Cardwell](https://github.com/davecardwell)
975
+ - [Cat Scarlet](https://github.com/catscarlet)
976
+ - [Luca Pizzini](https://github.com/lpizzinidev)
977
+ - [Kai](https://github.com/Schweinepriester)
978
+ - [Maxime Bargiel](https://github.com/mbargiel)
979
+ - [Brian Helba](https://github.com/brianhelba)
980
+ - [reslear](https://github.com/reslear)
981
+ - [Jamie Slome](https://github.com/JamieSlome)
982
+ - [Landro3](https://github.com/Landro3)
983
+ - [rafw87](https://github.com/rafw87)
984
+ - [Afzal Sayed](https://github.com/afzalsayed96)
985
+ - [Koki Oyatsu](https://github.com/kaishuu0123)
986
+ - [Dave](https://github.com/wangcch)
987
+ - [暴走老七](https://github.com/baozouai)
988
+ - [Spencer](https://github.com/spalger)
989
+ - [Adrian Wieprzkowicz](https://github.com/Argeento)
990
+ - [Jamie Telin](https://github.com/lejahmie)
991
+ - [毛呆](https://github.com/aweikalee)
992
+ - [Kirill Shakirov](https://github.com/turisap)
993
+ - [Rraji Abdelbari](https://github.com/estarossa0)
994
+ - [Jelle Schutter](https://github.com/jelleschutter)
995
+ - [Tom Ceuppens](https://github.com/KyorCode)
996
+ - [Johann Cooper](https://github.com/JohannCooper)
997
+ - [Dimitris Halatsis](https://github.com/mitsos1os)
998
+ - [chenjigeng](https://github.com/chenjigeng)
999
+ - [João Gabriel Quaresma](https://github.com/joaoGabriel55)
1000
+ - [Victor Augusto](https://github.com/VictorAugDB)
1001
+ - [neilnaveen](https://github.com/neilnaveen)
1002
+ - [Pavlos](https://github.com/psmoros)
1003
+ - [Kiryl Valkovich](https://github.com/visortelle)
1004
+ - [Naveen](https://github.com/naveensrinivasan)
1005
+ - [wenzheng](https://github.com/0x30)
1006
+ - [hcwhan](https://github.com/hcwhan)
1007
+ - [Bassel Rachid](https://github.com/basselworkforce)
1008
+ - [Grégoire Pineau](https://github.com/lyrixx)
1009
+ - [felipedamin](https://github.com/felipedamin)
1010
+ - [Karl Horky](https://github.com/karlhorky)
1011
+ - [Yue JIN](https://github.com/kingyue737)
1012
+ - [Usman Ali Siddiqui](https://github.com/usman250994)
1013
+ - [WD](https://github.com/techbirds)
1014
+ - [Günther Foidl](https://github.com/gfoidl)
1015
+ - [Stephen Jennings](https://github.com/jennings)
1016
+ - [C.T.Lin](https://github.com/chentsulin)
1017
+ - [mia-z](https://github.com/mia-z)
1018
+ - [Parth Banathia](https://github.com/Parth0105)
1019
+ - [parth0105pluang](https://github.com/parth0105pluang)
1020
+ - [Marco Weber](https://github.com/mrcwbr)
1021
+ - [Luca Pizzini](https://github.com/lpizzinidev)
1022
+ - [Willian Agostini](https://github.com/WillianAgostini)
1023
+ - [Huyen Nguyen](https://github.com/huyenltnguyen)