You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 38KB

4 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685
  1. # Changelog
  2. ### 0.21.1 (December 21, 2020)
  3. Fixes and Functionality:
  4. - Hotfix: Prevent SSRF (#3410)
  5. - Protocol not parsed when setting proxy config from env vars (#3070)
  6. - Updating axios in types to be lower case (#2797)
  7. - Adding a type guard for `AxiosError` (#2949)
  8. Internal and Tests:
  9. - Remove the skipping of the `socket` http test (#3364)
  10. - Use different socket for Win32 test (#3375)
  11. Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
  12. - Daniel Lopretto <timemachine3030@users.noreply.github.com>
  13. - Jason Kwok <JasonHK@users.noreply.github.com>
  14. - Jay <jasonsaayman@gmail.com>
  15. - Jonathan Foster <jonathan@jonathanfoster.io>
  16. - Remco Haszing <remcohaszing@gmail.com>
  17. - Xianming Zhong <chinesedfan@qq.com>
  18. ### 0.21.0 (October 23, 2020)
  19. Fixes and Functionality:
  20. - Fixing requestHeaders.Authorization ([#3287](https://github.com/axios/axios/pull/3287))
  21. - Fixing node types ([#3237](https://github.com/axios/axios/pull/3237))
  22. - Fixing axios.delete ignores config.data ([#3282](https://github.com/axios/axios/pull/3282))
  23. - Revert "Fixing overwrite Blob/File type as Content-Type in browser. (#1773)" ([#3289](https://github.com/axios/axios/pull/3289))
  24. - Fixing an issue that type 'null' and 'undefined' is not assignable to validateStatus when typescript strict option is enabled ([#3200](https://github.com/axios/axios/pull/3200))
  25. Internal and Tests:
  26. - Lock travis to not use node v15 ([#3361](https://github.com/axios/axios/pull/3361))
  27. Documentation:
  28. - Fixing simple typo, existant -> existent ([#3252](https://github.com/axios/axios/pull/3252))
  29. - Fixing typos ([#3309](https://github.com/axios/axios/pull/3309))
  30. Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
  31. - Allan Cruz <57270969+Allanbcruz@users.noreply.github.com>
  32. - George Cheng <Gerhut@GMail.com>
  33. - Jay <jasonsaayman@gmail.com>
  34. - Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
  35. - Remco Haszing <remcohaszing@gmail.com>
  36. - Taemin Shin <cprayer13@gmail.com>
  37. - Tim Gates <tim.gates@iress.com>
  38. - Xianming Zhong <chinesedfan@qq.com>
  39. ### 0.20.0 (August 20, 2020)
  40. Release of 0.20.0-pre as a full release with no other changes.
  41. ### 0.20.0-pre (July 15, 2020)
  42. Fixes and Functionality:
  43. - Fixing response with utf-8 BOM can not parse to json ([#2419](https://github.com/axios/axios/pull/2419))
  44. - fix: remove byte order marker (UTF-8 BOM) when transform response
  45. - fix: remove BOM only utf-8
  46. - test: utf-8 BOM
  47. - fix: incorrect param name
  48. - Refactor mergeConfig without utils.deepMerge ([#2844](https://github.com/axios/axios/pull/2844))
  49. - Adding failing test
  50. - Fixing #2587 default custom config persisting
  51. - Adding Concat keys and filter duplicates
  52. - Fixed value from CPE
  53. - update for review feedbacks
  54. - no deepMerge
  55. - only merge between plain objects
  56. - fix rename
  57. - always merge config by mergeConfig
  58. - extract function mergeDeepProperties
  59. - refactor mergeConfig with all keys, and add special logic for validateStatus
  60. - add test for resetting headers
  61. - add lots of tests and fix a bug
  62. - should not inherit `data`
  63. - use simple toString
  64. - Fixing overwrite Blob/File type as Content-Type in browser. ([#1773](https://github.com/axios/axios/pull/1773))
  65. - Fixing an issue that type 'null' is not assignable to validateStatus ([#2773](https://github.com/axios/axios/pull/2773))
  66. - Fixing special char encoding ([#1671](https://github.com/axios/axios/pull/1671))
  67. - removing @ character from replacement list since it is a reserved character
  68. - Updating buildURL test to not include the @ character
  69. - Removing console logs
  70. - Fixing password encoding with special characters in basic authentication ([#1492](https://github.com/axios/axios/pull/1492))
  71. - Fixing password encoding with special characters in basic authentication
  72. - Adding test to check if password with non-Latin1 characters pass
  73. - Fixing 'Network Error' in react native android ([#1487](https://github.com/axios/axios/pull/1487))
  74. There is a bug in react native Android platform when using get method. It will trigger a 'Network Error' when passing the requestData which is an empty string to request.send function. So if the requestData is an empty string we can set it to null as well to fix the bug.
  75. - Fixing Cookie Helper with Asyc Components ([#1105](https://github.com/axios/axios/pull/1105)) ([#1107](https://github.com/axios/axios/pull/1107))
  76. - Fixing 'progressEvent' type ([#2851](https://github.com/axios/axios/pull/2851))
  77. - Fix 'progressEvent' type
  78. - Update axios.ts
  79. - Fixing getting local files (file://) failed ([#2470](https://github.com/axios/axios/pull/2470))
  80. - fix issue #2416, #2396
  81. - fix Eslint warn
  82. - Modify judgment conditions
  83. - add unit test
  84. - update unit test
  85. - update unit test
  86. - Allow PURGE method in typings ([#2191](https://github.com/axios/axios/pull/2191))
  87. - Adding option to disable automatic decompression ([#2661](https://github.com/axios/axios/pull/2661))
  88. - Adding ability to disable auto decompression
  89. - Updating decompress documentation in README
  90. - Fixing test\unit\adapters\http.js lint errors
  91. - Adding test for disabling auto decompression
  92. - Removing changes that fixed lint errors in tests
  93. - Removing formatting change to unit test
  94. - Add independent `maxBodyLength` option ([#2781](https://github.com/axios/axios/pull/2781))
  95. - Add independent option to set the maximum size of the request body
  96. - Remove maxBodyLength check
  97. - Update README
  98. - Assert for error code and message
  99. - Adding responseEncoding to mergeConfig ([#1745](https://github.com/axios/axios/pull/1745))
  100. - Compatible with follow-redirect aborts the request ([#2689](https://github.com/axios/axios/pull/2689))
  101. - Compatible with follow-redirect aborts the request
  102. - Use the error code
  103. - Fix merging of params ([#2656](https://github.com/axios/axios/pull/2656))
  104. - Name function to avoid ESLint func-names warning
  105. - Switch params config to merge list and update tests
  106. - Restore testing of both false and null
  107. - Restore test cases for keys without defaults
  108. - Include test for non-object values that aren't false-y.
  109. - Revert `finally` as `then` ([#2683](https://github.com/axios/axios/pull/2683))
  110. Internal and Tests:
  111. - Fix stale bot config ([#3049](https://github.com/axios/axios/pull/3049))
  112. - fix stale bot config
  113. - fix multiple lines
  114. - Add days and change name to work ([#3035](https://github.com/axios/axios/pull/3035))
  115. - Update close-issues.yml ([#3031](https://github.com/axios/axios/pull/3031))
  116. - Update close-issues.yml
  117. Update close message to read better 😄
  118. - Fix use of quotations
  119. Use single quotes as per other .yml files
  120. - Remove user name form message
  121. - Add GitHub actions to close stale issues/prs ([#3029](https://github.com/axios/axios/pull/3029))
  122. - prepare stale actions
  123. - update messages
  124. - Add exempt labels and lighten up comments
  125. - Add GitHub actions to close invalid issues ([#3022](https://github.com/axios/axios/pull/3022))
  126. - add close actions
  127. - fix with checkout
  128. - update issue templates
  129. - add reminder
  130. - update close message
  131. - Add test with Node.js 12 ([#2860](https://github.com/axios/axios/pull/2860))
  132. - test with Node.js 12
  133. - test with latest
  134. - Adding console log on sandbox server startup ([#2210](https://github.com/axios/axios/pull/2210))
  135. - Adding console log on sandbox server startup
  136. - Update server.js
  137. Add server error handling
  138. - Update server.js
  139. Better error message, remove retry.
  140. - Adding tests for method `options` type definitions ([#1996](https://github.com/axios/axios/pull/1996))
  141. Update tests.
  142. - Add test for redirecting with too large response ([#2695](https://github.com/axios/axios/pull/2695))
  143. - Fixing unit test failure in Windows OS ([#2601](https://github.com/axios/axios/pull/2601))
  144. - Fixing issue for HEAD method and gzipped response ([#2666](https://github.com/axios/axios/pull/2666))
  145. - Fix tests in browsers ([#2748](https://github.com/axios/axios/pull/2748))
  146. - chore: add `jsdelivr` and `unpkg` support ([#2443](https://github.com/axios/axios/pull/2443))
  147. Documentation:
  148. - Adding support for URLSearchParams in node ([#1900](https://github.com/axios/axios/pull/1900))
  149. - Adding support for URLSearchParams in node
  150. - Remove un-needed code
  151. - Update utils.js
  152. - Make changes as suggested
  153. - Adding table of content (preview) ([#3050](https://github.com/axios/axios/pull/3050))
  154. - add toc (preview)
  155. - remove toc in toc
  156. Signed-off-by: Moni <usmoni@gmail.com>
  157. - fix sublinks
  158. - fix indentation
  159. - remove redundant table links
  160. - update caps and indent
  161. - remove axios
  162. - Replace 'blacklist' with 'blocklist' ([#3006](https://github.com/axios/axios/pull/3006))
  163. - docs(): Detailed config options environment. ([#2088](https://github.com/axios/axios/pull/2088))
  164. - docs(): Detailed config options environment.
  165. - Update README.md
  166. - Include axios-data-unpacker in ECOSYSTEM.md ([#2080](https://github.com/axios/axios/pull/2080))
  167. - Allow opening examples in Gitpod ([#1958](https://github.com/axios/axios/pull/1958))
  168. - Remove axios.all() and axios.spread() from Readme.md ([#2727](https://github.com/axios/axios/pull/2727))
  169. - remove axios.all(), axios.spread()
  170. - replace example
  171. - axios.all() -> Promise.all()
  172. - axios.spread(function (acct, perms)) -> function (acct, perms)
  173. - add deprecated mark
  174. - Update README.md ([#2887](https://github.com/axios/axios/pull/2887))
  175. Small change to the data attribute doc of the config. A request body can also be set for DELETE methods but this wasn't mentioned in the documentation (it only mentioned POST, PUT and PATCH). Took my some 10-20 minutes until I realized that I don't need to manipulate the request body with transformRequest in the case of DELETE.
  176. - Include swagger-taxos-codegen in ECOSYSTEM.md ([#2162](https://github.com/axios/axios/pull/2162))
  177. - Add CDNJS version badge in README.md ([#878](https://github.com/axios/axios/pull/878))
  178. This badge will show the version on CDNJS!
  179. - Documentation update to clear up ambiguity in code examples ([#2928](https://github.com/axios/axios/pull/2928))
  180. - Made an adjustment to the documentation to clear up any ambiguity around the use of "fs". This should help clear up that the code examples with "fs" cannot be used on the client side.
  181. - Update README.md about validateStatus ([#2912](https://github.com/axios/axios/pull/2912))
  182. Rewrote the comment from "Reject only if the status code is greater than or equal to 500" to "Resolve only if the status code is less than 500"
  183. - Updating documentation for usage form-data ([#2805](https://github.com/axios/axios/pull/2805))
  184. Closes #2049
  185. - Fixing CHANGELOG.md issue link ([#2784](https://github.com/axios/axios/pull/2784))
  186. - Include axios-hooks in ECOSYSTEM.md ([#2003](https://github.com/axios/axios/pull/2003))
  187. - Added Response header access instructions ([#1901](https://github.com/axios/axios/pull/1901))
  188. - Added Response header access instructions
  189. - Added note about using bracket notation
  190. - Add `onUploadProgress` and `onDownloadProgress` are browser only ([#2763](https://github.com/axios/axios/pull/2763))
  191. Saw in #928 and #1966 that `onUploadProgress` and `onDownloadProgress` only work in the browser and was missing that from the README.
  192. - Update ' sign to ` in proxy spec ([#2778](https://github.com/axios/axios/pull/2778))
  193. - Adding jsDelivr link in README ([#1110](https://github.com/axios/axios/pull/1110))
  194. - Adding jsDelivr link
  195. - Add SRI
  196. - Remove SRI
  197. Huge thanks to everyone who contributed to this release via code (authors listed
  198. below) or via reviews and triaging on GitHub:
  199. - Alan Wang <wp_scut@163.com>
  200. - Alexandru Ungureanu <khakcarot@gmail.com>
  201. - Anubhav Srivastava <anubhav.srivastava00@gmail.com>
  202. - Benny Neugebauer <bn@bennyn.de>
  203. - Cr <631807682@qq.com>
  204. - David <cygnidavid@gmail.com>
  205. - David Ko <david.ko@pvtmethod.com>
  206. - David Tanner <david.tanner@lifeomic.com>
  207. - Emily Morehouse <emilyemorehouse@gmail.com>
  208. - Felipe Martins <felipewmartins@gmail.com>
  209. - Fonger <5862369+Fonger@users.noreply.github.com>
  210. - Frostack <soulburn007@gmail.com>
  211. - George Cheng <Gerhut@GMail.com>
  212. - grumblerchester <grumblerchester@users.noreply.github.com>
  213. - Gustavo López <gualopezb@gmail.com>
  214. - hexaez <45806662+hexaez@users.noreply.github.com>
  215. - huangzuizui <huangzuizui@gmail.com>
  216. - Ian Wijma <ian@wij.ma>
  217. - Jay <jasonsaayman@gmail.com>
  218. - jeffjing <zgayjjf@qq.com>
  219. - jennynju <46782518+jennynju@users.noreply.github.com>
  220. - Jimmy Liao <52391190+jimmy-liao-gogoro@users.noreply.github.com>
  221. - Jonathan Sharpe <j.r.sharpe@gmail.com>
  222. - JounQin <admin@1stg.me>
  223. - Justin Beckwith <justin.beckwith@gmail.com>
  224. - Kamil Posiadała <3dcreator.pl@gmail.com>
  225. - Lukas Drgon <lukas.drgon@gmail.com>
  226. - marcinx <mail@marcinx.com>
  227. - Martti Laine <martti@codeclown.net>
  228. - Michał Zarach <michal.m.zarach@gmail.com>
  229. - Moni <usmoni@gmail.com>
  230. - Motonori Iwata <121048+iwata@users.noreply.github.com>
  231. - Nikita Galkin <nikita@galk.in>
  232. - Petr Mares <petr@mares.tw>
  233. - Philippe Recto <precto1285@gmal.com>
  234. - Remco Haszing <remcohaszing@gmail.com>
  235. - rockcs1992 <chengshi1219@gmail.com>
  236. - Ryan Bown <rbown@niftee.com.au>
  237. - Samina Fu <sufuf3@gmail.com>
  238. - Simone Busoli <simone.busoli@gmail.com>
  239. - Spencer von der Ohe <s.vonderohe40@gmail.com>
  240. - Sven Efftinge <sven.efftinge@typefox.io>
  241. - Taegyeoung Oh <otk1090@naver.com>
  242. - Taemin Shin <cprayer13@gmail.com>
  243. - Thibault Ehrhart <1208424+ehrhart@users.noreply.github.com>
  244. - Xianming Zhong <chinesedfan@qq.com>
  245. - Yasu Flores <carlosyasu91@gmail.com>
  246. - Zac Delventhal <delventhalz@gmail.com>
  247. ### 0.19.2 (Jan 20, 2020)
  248. - Remove unnecessary XSS check ([#2679](https://github.com/axios/axios/pull/2679)) (see ([#2646](https://github.com/axios/axios/issues/2646)) for discussion)
  249. ### 0.19.1 (Jan 7, 2020)
  250. Fixes and Functionality:
  251. - Fixing invalid agent issue ([#1904](https://github.com/axios/axios/pull/1904))
  252. - Fix ignore set withCredentials false ([#2582](https://github.com/axios/axios/pull/2582))
  253. - Delete useless default to hash ([#2458](https://github.com/axios/axios/pull/2458))
  254. - Fix HTTP/HTTPs agents passing to follow-redirect ([#1904](https://github.com/axios/axios/pull/1904))
  255. - Fix ignore set withCredentials false ([#2582](https://github.com/axios/axios/pull/2582))
  256. - Fix CI build failure ([#2570](https://github.com/axios/axios/pull/2570))
  257. - Remove dependency on is-buffer from package.json ([#1816](https://github.com/axios/axios/pull/1816))
  258. - Adding options typings ([#2341](https://github.com/axios/axios/pull/2341))
  259. - Adding Typescript HTTP method definition for LINK and UNLINK. ([#2444](https://github.com/axios/axios/pull/2444))
  260. - Update dist with newest changes, fixes Custom Attributes issue
  261. - Change syntax to see if build passes ([#2488](https://github.com/axios/axios/pull/2488))
  262. - Update Webpack + deps, remove now unnecessary polyfills ([#2410](https://github.com/axios/axios/pull/2410))
  263. - Fix to prevent XSS, throw an error when the URL contains a JS script ([#2464](https://github.com/axios/axios/pull/2464))
  264. - Add custom timeout error copy in config ([#2275](https://github.com/axios/axios/pull/2275))
  265. - Add error toJSON example ([#2466](https://github.com/axios/axios/pull/2466))
  266. - Fixing Vulnerability A Fortify Scan finds a critical Cross-Site Scrip… ([#2451](https://github.com/axios/axios/pull/2451))
  267. - Fixing subdomain handling on no_proxy ([#2442](https://github.com/axios/axios/pull/2442))
  268. - Make redirection from HTTP to HTTPS work ([#2426](https://github.com/axios/axios/pull/2426)) and ([#2547](https://github.com/axios/axios/pull/2547))
  269. - Add toJSON property to AxiosError type ([#2427](https://github.com/axios/axios/pull/2427))
  270. - Fixing socket hang up error on node side for slow response. ([#1752](https://github.com/axios/axios/pull/1752))
  271. - Alternative syntax to send data into the body ([#2317](https://github.com/axios/axios/pull/2317))
  272. - Fixing custom config options ([#2207](https://github.com/axios/axios/pull/2207))
  273. - Fixing set `config.method` after mergeConfig for Axios.prototype.request ([#2383](https://github.com/axios/axios/pull/2383))
  274. - Axios create url bug ([#2290](https://github.com/axios/axios/pull/2290))
  275. - Do not modify config.url when using a relative baseURL (resolves [#1628](https://github.com/axios/axios/issues/1098)) ([#2391](https://github.com/axios/axios/pull/2391))
  276. - Add typescript HTTP method definition for LINK and UNLINK ([#2444](https://github.com/axios/axios/pull/2444))
  277. Internal:
  278. - Revert "Update Webpack + deps, remove now unnecessary polyfills" ([#2479](https://github.com/axios/axios/pull/2479))
  279. - Order of if/else blocks is causing unit tests mocking XHR. ([#2201](https://github.com/axios/axios/pull/2201))
  280. - Add license badge ([#2446](https://github.com/axios/axios/pull/2446))
  281. - Fix travis CI build [#2386](https://github.com/axios/axios/pull/2386)
  282. - Fix cancellation error on build master. #2290 #2207 ([#2407](https://github.com/axios/axios/pull/2407))
  283. Documentation:
  284. - Fixing typo in CHANGELOG.md: s/Functionallity/Functionality ([#2639](https://github.com/axios/axios/pull/2639))
  285. - Fix badge, use master branch ([#2538](https://github.com/axios/axios/pull/2538))
  286. - Fix typo in changelog [#2193](https://github.com/axios/axios/pull/2193)
  287. - Document fix ([#2514](https://github.com/axios/axios/pull/2514))
  288. - Update docs with no_proxy change, issue #2484 ([#2513](https://github.com/axios/axios/pull/2513))
  289. - Fixing missing words in docs template ([#2259](https://github.com/axios/axios/pull/2259))
  290. - 🐛Fix request finally documentation in README ([#2189](https://github.com/axios/axios/pull/2189))
  291. - updating spelling and adding link to docs ([#2212](https://github.com/axios/axios/pull/2212))
  292. - docs: minor tweak ([#2404](https://github.com/axios/axios/pull/2404))
  293. - Update response interceptor docs ([#2399](https://github.com/axios/axios/pull/2399))
  294. - Update README.md ([#2504](https://github.com/axios/axios/pull/2504))
  295. - Fix word 'sintaxe' to 'syntax' in README.md ([#2432](https://github.com/axios/axios/pull/2432))
  296. - updating README: notes on CommonJS autocomplete ([#2256](https://github.com/axios/axios/pull/2256))
  297. - Fix grammar in README.md ([#2271](https://github.com/axios/axios/pull/2271))
  298. - Doc fixes, minor examples cleanup ([#2198](https://github.com/axios/axios/pull/2198))
  299. ### 0.19.0 (May 30, 2019)
  300. Fixes and Functionality:
  301. - Added support for no_proxy env variable ([#1693](https://github.com/axios/axios/pull/1693/files)) - Chance Dickson
  302. - Unzip response body only for statuses != 204 ([#1129](https://github.com/axios/axios/pull/1129)) - drawski
  303. - Destroy stream on exceeding maxContentLength (fixes [#1098](https://github.com/axios/axios/issues/1098)) ([#1485](https://github.com/axios/axios/pull/1485)) - Gadzhi Gadzhiev
  304. - Makes Axios error generic to use AxiosResponse ([#1738](https://github.com/axios/axios/pull/1738)) - Suman Lama
  305. - Fixing Mocha tests by locking follow-redirects version to 1.5.10 ([#1993](https://github.com/axios/axios/pull/1993)) - grumblerchester
  306. - Allow uppercase methods in typings. ([#1781](https://github.com/axios/axios/pull/1781)) - Ken Powers
  307. - Fixing building url with hash mark ([#1771](https://github.com/axios/axios/pull/1771)) - Anatoly Ryabov
  308. - This commit fix building url with hash map (fragment identifier) when parameters are present: they must not be added after `#`, because client cut everything after `#`
  309. - Preserve HTTP method when following redirect ([#1758](https://github.com/axios/axios/pull/1758)) - Rikki Gibson
  310. - Add `getUri` signature to TypeScript definition. ([#1736](https://github.com/axios/axios/pull/1736)) - Alexander Trauzzi
  311. - Adding isAxiosError flag to errors thrown by axios ([#1419](https://github.com/axios/axios/pull/1419)) - Ayush Gupta
  312. Internal:
  313. - Fixing .eslintrc without extension ([#1789](https://github.com/axios/axios/pull/1789)) - Manoel
  314. - Fix failing SauceLabs tests by updating configuration - Emily Morehouse
  315. - Add issue templates - Emily Morehouse
  316. Documentation:
  317. - Consistent coding style in README ([#1787](https://github.com/axios/axios/pull/1787)) - Ali Servet Donmez
  318. - Add information about auth parameter to README ([#2166](https://github.com/axios/axios/pull/2166)) - xlaguna
  319. - Add DELETE to list of methods that allow data as a config option ([#2169](https://github.com/axios/axios/pull/2169)) - Daniela Borges Matos de Carvalho
  320. - Update ECOSYSTEM.md - Add Axios Endpoints ([#2176](https://github.com/axios/axios/pull/2176)) - Renan
  321. - Add r2curl in ECOSYSTEM ([#2141](https://github.com/axios/axios/pull/2141)) - 유용우 / CX
  322. - Update README.md - Add instructions for installing with yarn ([#2036](https://github.com/axios/axios/pull/2036)) - Victor Hermes
  323. - Fixing spacing for README.md ([#2066](https://github.com/axios/axios/pull/2066)) - Josh McCarty
  324. - Update README.md. - Change `.then` to `.finally` in example code ([#2090](https://github.com/axios/axios/pull/2090)) - Omar Cai
  325. - Clarify what values responseType can have in Node ([#2121](https://github.com/axios/axios/pull/2121)) - Tyler Breisacher
  326. - docs(ECOSYSTEM): add axios-api-versioning ([#2020](https://github.com/axios/axios/pull/2020)) - Weffe
  327. - It seems that `responseType: 'blob'` doesn't actually work in Node (when I tried using it, response.data was a string, not a Blob, since Node doesn't have Blobs), so this clarifies that this option should only be used in the browser
  328. - Update README.md. - Add Querystring library note ([#1896](https://github.com/axios/axios/pull/1896)) - Dmitriy Eroshenko
  329. - Add react-hooks-axios to Libraries section of ECOSYSTEM.md ([#1925](https://github.com/axios/axios/pull/1925)) - Cody Chan
  330. - Clarify in README that default timeout is 0 (no timeout) ([#1750](https://github.com/axios/axios/pull/1750)) - Ben Standefer
  331. ### 0.19.0-beta.1 (Aug 9, 2018)
  332. **NOTE:** This is a beta version of this release. There may be functionality that is broken in
  333. certain browsers, though we suspect that builds are hanging and not erroring. See
  334. https://saucelabs.com/u/axios for the most up-to-date information.
  335. New Functionality:
  336. - Add getUri method ([#1712](https://github.com/axios/axios/issues/1712))
  337. - Add support for no_proxy env variable ([#1693](https://github.com/axios/axios/issues/1693))
  338. - Add toJSON to decorated Axios errors to facilitate serialization ([#1625](https://github.com/axios/axios/issues/1625))
  339. - Add second then on axios call ([#1623](https://github.com/axios/axios/issues/1623))
  340. - Typings: allow custom return types
  341. - Add option to specify character set in responses (with http adapter)
  342. Fixes:
  343. - Fix Keep defaults local to instance ([#385](https://github.com/axios/axios/issues/385))
  344. - Correctly catch exception in http test ([#1475](https://github.com/axios/axios/issues/1475))
  345. - Fix accept header normalization ([#1698](https://github.com/axios/axios/issues/1698))
  346. - Fix http adapter to allow HTTPS connections via HTTP ([#959](https://github.com/axios/axios/issues/959))
  347. - Fix Removes usage of deprecated Buffer constructor. ([#1555](https://github.com/axios/axios/issues/1555), [#1622](https://github.com/axios/axios/issues/1622))
  348. - Fix defaults to use httpAdapter if available ([#1285](https://github.com/axios/axios/issues/1285))
  349. - Fixing defaults to use httpAdapter if available
  350. - Use a safer, cross-platform method to detect the Node environment
  351. - Fix Reject promise if request is cancelled by the browser ([#537](https://github.com/axios/axios/issues/537))
  352. - [Typescript] Fix missing type parameters on delete/head methods
  353. - [NS]: Send `false` flag isStandardBrowserEnv for Nativescript
  354. - Fix missing type parameters on delete/head
  355. - Fix Default method for an instance always overwritten by get
  356. - Fix type error when socketPath option in AxiosRequestConfig
  357. - Capture errors on request data streams
  358. - Decorate resolve and reject to clear timeout in all cases
  359. Huge thanks to everyone who contributed to this release via code (authors listed
  360. below) or via reviews and triaging on GitHub:
  361. - Andrew Scott <ascott18@gmail.com>
  362. - Anthony Gauthier <antho325@hotmail.com>
  363. - arpit <arpit2438735@gmail.com>
  364. - ascott18
  365. - Benedikt Rötsch <axe312ger@users.noreply.github.com>
  366. - Chance Dickson <me@chancedickson.com>
  367. - Dave Stewart <info@davestewart.co.uk>
  368. - Deric Cain <deric.cain@gmail.com>
  369. - Guillaume Briday <guillaumebriday@gmail.com>
  370. - Jacob Wejendorp <jacob@wejendorp.dk>
  371. - Jim Lynch <mrdotjim@gmail.com>
  372. - johntron
  373. - Justin Beckwith <beckwith@google.com>
  374. - Justin Beckwith <justin.beckwith@gmail.com>
  375. - Khaled Garbaya <khaledgarbaya@gmail.com>
  376. - Lim Jing Rong <jjingrong@users.noreply.github.com>
  377. - Mark van den Broek <mvdnbrk@gmail.com>
  378. - Martti Laine <martti@codeclown.net>
  379. - mattridley
  380. - mattridley <matt.r@joinblink.com>
  381. - Nicolas Del Valle <nicolas.delvalle@gmail.com>
  382. - Nilegfx
  383. - pbarbiero
  384. - Rikki Gibson <rikkigibson@gmail.com>
  385. - Sako Hartounian <sakohartounian@yahoo.com>
  386. - Shane Fitzpatrick <fitzpasd@gmail.com>
  387. - Stephan Schneider <stephanschndr@gmail.com>
  388. - Steven <steven@ceriously.com>
  389. - Tim Garthwaite <tim.garthwaite@jibo.com>
  390. - Tim Johns <timjohns@yahoo.com>
  391. - Yutaro Miyazaki <yutaro@studio-rubbish.com>
  392. ### 0.18.0 (Feb 19, 2018)
  393. - Adding support for UNIX Sockets when running with Node.js ([#1070](https://github.com/axios/axios/pull/1070))
  394. - Fixing typings ([#1177](https://github.com/axios/axios/pull/1177)):
  395. - AxiosRequestConfig.proxy: allows type false
  396. - AxiosProxyConfig: added auth field
  397. - Adding function signature in AxiosInstance interface so AxiosInstance can be invoked ([#1192](https://github.com/axios/axios/pull/1192), [#1254](https://github.com/axios/axios/pull/1254))
  398. - Allowing maxContentLength to pass through to redirected calls as maxBodyLength in follow-redirects config ([#1287](https://github.com/axios/axios/pull/1287))
  399. - Fixing configuration when using an instance - method can now be set ([#1342](https://github.com/axios/axios/pull/1342))
  400. ### 0.17.1 (Nov 11, 2017)
  401. - Fixing issue with web workers ([#1160](https://github.com/axios/axios/pull/1160))
  402. - Allowing overriding transport ([#1080](https://github.com/axios/axios/pull/1080))
  403. - 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))
  404. ### 0.17.0 (Oct 21, 2017)
  405. - **BREAKING** Fixing issue with `baseURL` and interceptors ([#950](https://github.com/axios/axios/pull/950))
  406. - **BREAKING** Improving handing of duplicate headers ([#874](https://github.com/axios/axios/pull/874))
  407. - Adding support for disabling proxies ([#691](https://github.com/axios/axios/pull/691))
  408. - Updating TypeScript typings with generic type parameters ([#1061](https://github.com/axios/axios/pull/1061))
  409. ### 0.16.2 (Jun 3, 2017)
  410. - Fixing issue with including `buffer` in bundle ([#887](https://github.com/axios/axios/pull/887))
  411. - Including underlying request in errors ([#830](https://github.com/axios/axios/pull/830))
  412. - Convert `method` to lowercase ([#930](https://github.com/axios/axios/pull/930))
  413. ### 0.16.1 (Apr 8, 2017)
  414. - Improving HTTP adapter to return last request in case of redirects ([#828](https://github.com/axios/axios/pull/828))
  415. - Updating `follow-redirects` dependency ([#829](https://github.com/axios/axios/pull/829))
  416. - Adding support for passing `Buffer` in node ([#773](https://github.com/axios/axios/pull/773))
  417. ### 0.16.0 (Mar 31, 2017)
  418. - **BREAKING** Removing `Promise` from axios typings in favor of built-in type declarations ([#480](https://github.com/axios/axios/issues/480))
  419. - Adding `options` shortcut method ([#461](https://github.com/axios/axios/pull/461))
  420. - Fixing issue with using `responseType: 'json'` in browsers incompatible with XHR Level 2 ([#654](https://github.com/axios/axios/pull/654))
  421. - Improving React Native detection ([#731](https://github.com/axios/axios/pull/731))
  422. - Fixing `combineURLs` to support empty `relativeURL` ([#581](https://github.com/axios/axios/pull/581))
  423. - Removing `PROTECTION_PREFIX` support ([#561](https://github.com/axios/axios/pull/561))
  424. ### 0.15.3 (Nov 27, 2016)
  425. - Fixing issue with custom instances and global defaults ([#443](https://github.com/axios/axios/issues/443))
  426. - Renaming `axios.d.ts` to `index.d.ts` ([#519](https://github.com/axios/axios/issues/519))
  427. - Adding `get`, `head`, and `delete` to `defaults.headers` ([#509](https://github.com/axios/axios/issues/509))
  428. - Fixing issue with `btoa` and IE ([#507](https://github.com/axios/axios/issues/507))
  429. - Adding support for proxy authentication ([#483](https://github.com/axios/axios/pull/483))
  430. - Improving HTTP adapter to use `http` protocol by default ([#493](https://github.com/axios/axios/pull/493))
  431. - Fixing proxy issues ([#491](https://github.com/axios/axios/pull/491))
  432. ### 0.15.2 (Oct 17, 2016)
  433. - Fixing issue with calling `cancel` after response has been received ([#482](https://github.com/axios/axios/issues/482))
  434. ### 0.15.1 (Oct 14, 2016)
  435. - Fixing issue with UMD ([#485](https://github.com/axios/axios/issues/485))
  436. ### 0.15.0 (Oct 10, 2016)
  437. - Adding cancellation support ([#452](https://github.com/axios/axios/pull/452))
  438. - Moving default adapter to global defaults ([#437](https://github.com/axios/axios/pull/437))
  439. - Fixing issue with `file` URI scheme ([#440](https://github.com/axios/axios/pull/440))
  440. - Fixing issue with `params` objects that have no prototype ([#445](https://github.com/axios/axios/pull/445))
  441. ### 0.14.0 (Aug 27, 2016)
  442. - **BREAKING** Updating TypeScript definitions ([#419](https://github.com/axios/axios/pull/419))
  443. - **BREAKING** Replacing `agent` option with `httpAgent` and `httpsAgent` ([#387](https://github.com/axios/axios/pull/387))
  444. - **BREAKING** Splitting `progress` event handlers into `onUploadProgress` and `onDownloadProgress` ([#423](https://github.com/axios/axios/pull/423))
  445. - Adding support for `http_proxy` and `https_proxy` environment variables ([#366](https://github.com/axios/axios/pull/366))
  446. - Fixing issue with `auth` config option and `Authorization` header ([#397](https://github.com/axios/axios/pull/397))
  447. - Don't set XSRF header if `xsrfCookieName` is `null` ([#406](https://github.com/axios/axios/pull/406))
  448. ### 0.13.1 (Jul 16, 2016)
  449. - Fixing issue with response data not being transformed on error ([#378](https://github.com/axios/axios/issues/378))
  450. ### 0.13.0 (Jul 13, 2016)
  451. - **BREAKING** Improved error handling ([#345](https://github.com/axios/axios/pull/345))
  452. - **BREAKING** Response transformer now invoked in dispatcher not adapter ([10eb238](https://github.com/axios/axios/commit/10eb23865101f9347570552c04e9d6211376e25e))
  453. - **BREAKING** Request adapters now return a `Promise` ([157efd5](https://github.com/axios/axios/commit/157efd5615890301824e3121cc6c9d2f9b21f94a))
  454. - Fixing issue with `withCredentials` not being overwritten ([#343](https://github.com/axios/axios/issues/343))
  455. - Fixing regression with request transformer being called before request interceptor ([#352](https://github.com/axios/axios/issues/352))
  456. - Fixing custom instance defaults ([#341](https://github.com/axios/axios/issues/341))
  457. - Fixing instances created from `axios.create` to have same API as default axios ([#217](https://github.com/axios/axios/issues/217))
  458. ### 0.12.0 (May 31, 2016)
  459. - Adding support for `URLSearchParams` ([#317](https://github.com/axios/axios/pull/317))
  460. - Adding `maxRedirects` option ([#307](https://github.com/axios/axios/pull/307))
  461. ### 0.11.1 (May 17, 2016)
  462. - Fixing IE CORS support ([#313](https://github.com/axios/axios/pull/313))
  463. - Fixing detection of `FormData` ([#325](https://github.com/axios/axios/pull/325))
  464. - Adding `Axios` class to exports ([#321](https://github.com/axios/axios/pull/321))
  465. ### 0.11.0 (Apr 26, 2016)
  466. - Adding support for Stream with HTTP adapter ([#296](https://github.com/axios/axios/pull/296))
  467. - Adding support for custom HTTP status code error ranges ([#308](https://github.com/axios/axios/pull/308))
  468. - Fixing issue with ArrayBuffer ([#299](https://github.com/axios/axios/pull/299))
  469. ### 0.10.0 (Apr 20, 2016)
  470. - Fixing issue with some requests sending `undefined` instead of `null` ([#250](https://github.com/axios/axios/pull/250))
  471. - Fixing basic auth for HTTP adapter ([#252](https://github.com/axios/axios/pull/252))
  472. - Fixing request timeout for XHR adapter ([#227](https://github.com/axios/axios/pull/227))
  473. - Fixing IE8 support by using `onreadystatechange` instead of `onload` ([#249](https://github.com/axios/axios/pull/249))
  474. - Fixing IE9 cross domain requests ([#251](https://github.com/axios/axios/pull/251))
  475. - Adding `maxContentLength` option ([#275](https://github.com/axios/axios/pull/275))
  476. - Fixing XHR support for WebWorker environment ([#279](https://github.com/axios/axios/pull/279))
  477. - Adding request instance to response ([#200](https://github.com/axios/axios/pull/200))
  478. ### 0.9.1 (Jan 24, 2016)
  479. - Improving handling of request timeout in node ([#124](https://github.com/axios/axios/issues/124))
  480. - Fixing network errors not rejecting ([#205](https://github.com/axios/axios/pull/205))
  481. - Fixing issue with IE rejecting on HTTP 204 ([#201](https://github.com/axios/axios/issues/201))
  482. - Fixing host/port when following redirects ([#198](https://github.com/axios/axios/pull/198))
  483. ### 0.9.0 (Jan 18, 2016)
  484. - Adding support for custom adapters
  485. - Fixing Content-Type header being removed when data is false ([#195](https://github.com/axios/axios/pull/195))
  486. - Improving XDomainRequest implementation ([#185](https://github.com/axios/axios/pull/185))
  487. - Improving config merging and order of precedence ([#183](https://github.com/axios/axios/pull/183))
  488. - Fixing XDomainRequest support for only <= IE9 ([#182](https://github.com/axios/axios/pull/182))
  489. ### 0.8.1 (Dec 14, 2015)
  490. - Adding support for passing XSRF token for cross domain requests when using `withCredentials` ([#168](https://github.com/axios/axios/pull/168))
  491. - Fixing error with format of basic auth header ([#178](https://github.com/axios/axios/pull/173))
  492. - Fixing error with JSON payloads throwing `InvalidStateError` in some cases ([#174](https://github.com/axios/axios/pull/174))
  493. ### 0.8.0 (Dec 11, 2015)
  494. - Adding support for creating instances of axios ([#123](https://github.com/axios/axios/pull/123))
  495. - Fixing http adapter to use `Buffer` instead of `String` in case of `responseType === 'arraybuffer'` ([#128](https://github.com/axios/axios/pull/128))
  496. - Adding support for using custom parameter serializer with `paramsSerializer` option ([#121](https://github.com/axios/axios/pull/121))
  497. - Fixing issue in IE8 caused by `forEach` on `arguments` ([#127](https://github.com/axios/axios/pull/127))
  498. - Adding support for following redirects in node ([#146](https://github.com/axios/axios/pull/146))
  499. - Adding support for transparent decompression if `content-encoding` is set ([#149](https://github.com/axios/axios/pull/149))
  500. - Adding support for transparent XDomainRequest to handle cross domain requests in IE9 ([#140](https://github.com/axios/axios/pull/140))
  501. - Adding support for HTTP basic auth via Authorization header ([#167](https://github.com/axios/axios/pull/167))
  502. - Adding support for baseURL option ([#160](https://github.com/axios/axios/pull/160))
  503. ### 0.7.0 (Sep 29, 2015)
  504. - Fixing issue with minified bundle in IE8 ([#87](https://github.com/axios/axios/pull/87))
  505. - Adding support for passing agent in node ([#102](https://github.com/axios/axios/pull/102))
  506. - Adding support for returning result from `axios.spread` for chaining ([#106](https://github.com/axios/axios/pull/106))
  507. - Fixing typescript definition ([#105](https://github.com/axios/axios/pull/105))
  508. - Fixing default timeout config for node ([#112](https://github.com/axios/axios/pull/112))
  509. - 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))
  510. - Adding support for fetch like API `axios(url[, config])` ([#116](https://github.com/axios/axios/issues/116))
  511. ### 0.6.0 (Sep 21, 2015)
  512. - Removing deprecated success/error aliases
  513. - Fixing issue with array params not being properly encoded ([#49](https://github.com/axios/axios/pull/49))
  514. - Fixing issue with User-Agent getting overridden ([#69](https://github.com/axios/axios/issues/69))
  515. - Adding support for timeout config ([#56](https://github.com/axios/axios/issues/56))
  516. - Removing es6-promise dependency
  517. - Fixing issue preventing `length` to be used as a parameter ([#91](https://github.com/axios/axios/pull/91))
  518. - Fixing issue with IE8 ([#85](https://github.com/axios/axios/pull/85))
  519. - Converting build to UMD
  520. ### 0.5.4 (Apr 08, 2015)
  521. - Fixing issue with FormData not being sent ([#53](https://github.com/axios/axios/issues/53))
  522. ### 0.5.3 (Apr 07, 2015)
  523. - Using JSON.parse unconditionally when transforming response string ([#55](https://github.com/axios/axios/issues/55))
  524. ### 0.5.2 (Mar 13, 2015)
  525. - Adding support for `statusText` in response ([#46](https://github.com/axios/axios/issues/46))
  526. ### 0.5.1 (Mar 10, 2015)
  527. - Fixing issue using strict mode ([#45](https://github.com/axios/axios/issues/45))
  528. - Fixing issue with standalone build ([#47](https://github.com/axios/axios/issues/47))
  529. ### 0.5.0 (Jan 23, 2015)
  530. - Adding support for intercepetors ([#14](https://github.com/axios/axios/issues/14))
  531. - Updating es6-promise dependency
  532. ### 0.4.2 (Dec 10, 2014)
  533. - Fixing issue with `Content-Type` when using `FormData` ([#22](https://github.com/axios/axios/issues/22))
  534. - Adding support for TypeScript ([#25](https://github.com/axios/axios/issues/25))
  535. - Fixing issue with standalone build ([#29](https://github.com/axios/axios/issues/29))
  536. - Fixing issue with verbs needing to be capitalized in some browsers ([#30](https://github.com/axios/axios/issues/30))
  537. ### 0.4.1 (Oct 15, 2014)
  538. - Adding error handling to request for node.js ([#18](https://github.com/axios/axios/issues/18))
  539. ### 0.4.0 (Oct 03, 2014)
  540. - Adding support for `ArrayBuffer` and `ArrayBufferView` ([#10](https://github.com/axios/axios/issues/10))
  541. - Adding support for utf-8 for node.js ([#13](https://github.com/axios/axios/issues/13))
  542. - Adding support for SSL for node.js ([#12](https://github.com/axios/axios/issues/12))
  543. - Fixing incorrect `Content-Type` header ([#9](https://github.com/axios/axios/issues/9))
  544. - Adding standalone build without bundled es6-promise ([#11](https://github.com/axios/axios/issues/11))
  545. - Deprecating `success`/`error` in favor of `then`/`catch`
  546. ### 0.3.1 (Sep 16, 2014)
  547. - Fixing missing post body when using node.js ([#3](https://github.com/axios/axios/issues/3))
  548. ### 0.3.0 (Sep 16, 2014)
  549. - Fixing `success` and `error` to properly receive response data as individual arguments ([#8](https://github.com/axios/axios/issues/8))
  550. - Updating `then` and `catch` to receive response data as a single object ([#6](https://github.com/axios/axios/issues/6))
  551. - Fixing issue with `all` not working ([#7](https://github.com/axios/axios/issues/7))
  552. ### 0.2.2 (Sep 14, 2014)
  553. - Fixing bundling with browserify ([#4](https://github.com/axios/axios/issues/4))
  554. ### 0.2.1 (Sep 12, 2014)
  555. - Fixing build problem causing ridiculous file sizes
  556. ### 0.2.0 (Sep 12, 2014)
  557. - Adding support for `all` and `spread`
  558. - Adding support for node.js ([#1](https://github.com/axios/axios/issues/1))
  559. ### 0.1.0 (Aug 29, 2014)
  560. - Initial release