2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-24 14:04:14 +03:00
Commit Graph

575 Commits

Author SHA1 Message Date
Dmitriy Mozgovoy cff996779b feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old withCredentials behavior; (#6046) 2023-11-14 15:38:25 +02:00
github-actions[bot] a22f4b918a chore(release): v1.6.1 (#6060)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-11-08 16:44:45 +02:00
Dmitriy Mozgovoy dd465ab22b fix(formdata): fixed content-type header normalization for non-standard browser environments; (#6056) 2023-11-07 22:21:19 +02:00
Dmitriy Mozgovoy 3dc8369e50 fix(platform): fixed emulated browser detection in node.js environment; (#6055) 2023-11-07 22:16:15 +02:00
github-actions[bot] f7adacdbaa chore(release): v1.6.0 (#6031)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-10-27 00:14:41 +03:00
Valentin Panov 96ee232bd3 fix(CSRF): fixed CSRF vulnerability CVE-2023-45857 (#6028)
Co-authored-by: DigitalBrainJS <robotshara@gmail.com>
2023-10-26 22:54:06 +03:00
Dmitriy Mozgovoy 7d45ab2e2a chore(tests): fixed tests to pass in node v19 and v20 with keep-alive enabled; (#6021) 2023-10-22 18:20:44 +03:00
Dmitriy Mozgovoy 5aaff532a6 fix(dns): fixed lookup function decorator to work properly in node v20; (#6011) 2023-10-22 17:12:33 +03:00
github-actions[bot] 88fb52b5fa chore(release): v1.5.1 (#5920)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-09-26 21:21:09 +03:00
Dmitriy Mozgovoy e4107797a7 fix(adapters): improved adapters loading logic to have clear error messages; (#5919) 2023-09-26 19:43:25 +03:00
Dmitriy Mozgovoy bc9af51b18 fix(formdata): fixed automatic addition of the Content-Type header for FormData in non-browser environments; (#5917) 2023-09-25 02:44:30 +03:00
Przemyslaw Motacki 4c89f25196 fix(headers): allow content-encoding header to handle case-insensitive values (#5890) (#5892) 2023-09-12 15:23:03 +03:00
Mustafa Ateş Uzun a989ccdc1a Change isNaN to Number.isNaN
* Change isNaN to Number.isNaN

* == to ===

---------

Co-authored-by: Jay <jasonsaayman@gmail.com>
2023-08-30 20:47:01 +02:00
github-actions[bot] 6365751ba6 chore(release): v1.5.0 (#5838)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-08-26 22:10:04 +03:00
夜葬 ca73eb878d feat: export getAdapter function (#5324) 2023-08-26 20:42:25 +03:00
Dmitriy Mozgovoy 9a414bb6c8 fix(adapter): make adapter loading error more clear by using platform-specific adapters explicitly (#5837) 2023-08-26 20:31:13 +03:00
Dmitriy Mozgovoy b3e327dcc9 fix(dns): fixed cacheable-lookup integration; (#5836) 2023-08-26 18:51:09 +03:00
Dmitriy Mozgovoy 8fda2766b1 fix(headers): fixed common Content-Type header merging; (#5832) 2023-08-26 16:26:50 +03:00
Dmitriy Mozgovoy d8b4ca0ea5 fix(headers): added support for setting header names that overlap with class methods; (#5831) 2023-08-25 21:07:51 +03:00
github-actions[bot] 21a5ad34c4 chore(release): v1.4.0 (#5683)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-04-28 02:04:53 +03:00
Dmitriy Mozgovoy d627610d0c chore(utils): refactored isAsyncFn util to avoid inlining additional Babel helpers to the build; (#5684) 2023-04-28 01:44:23 +03:00
Dmitriy Mozgovoy 2701911260 feat(dns): added support for a custom lookup function; (#5339) 2023-04-26 02:04:59 +03:00
Dmitriy Mozgovoy e6f7053bf1 perf(merge-config): optimize mergeConfig performance by avoiding duplicate key visits; (#5679) 2023-04-26 00:34:46 +03:00
Dmitriy Mozgovoy bbb61e70cb fix(formdata): add multipart/form-data content type for FormData payload on custom client environments; (#5678) 2023-04-26 00:21:37 +03:00
github-actions[bot] 59eb991835 chore(release): v1.3.6 (#5666)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-04-19 22:37:45 +03:00
Dmitriy Mozgovoy aa372f7306 fix(utils): make isFormData detection logic stricter to avoid unnecessary calling of the toString method on the target; (#5661) 2023-04-19 20:14:32 +03:00
github-actions[bot] 4af78a72ee chore(release): v1.3.5 (#5634)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-04-05 21:01:58 +03:00
Dmitriy Mozgovoy a56c866120 fix(params): re-added the ability to set the function as paramsSerializer config; (#5633) 2023-04-05 19:44:36 +03:00
Dmitriy Mozgovoy e7decef6a9 fix(headers): fixed isValidHeaderName to support full list of allowed characters; (#5584) 2023-03-19 15:30:51 +02:00
github-actions[bot] 2e70cecda4 chore(release): v1.3.4 (#5565)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2023-02-22 23:05:31 +02:00
lcysgsg 3772c8fe74 fix(blob): added a check to make sure the Blob class is available in the browser's global scope; (#5548) 2023-02-22 21:55:45 +02:00
Dmitriy Mozgovoy a3b246c9de fix(http): fixed regression bug when handling synchronous errors inside the adapter; (#5564) 2023-02-22 21:50:31 +02:00
github-actions[bot] d9ebf8fb3a chore(release): v1.3.3 (#5546)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-02-13 20:46:08 +02:00
Dmitriy Mozgovoy a6dfa72010 fix(formdata): added a check to make sure the FormData class is available in the browser's global scope; (#5545) 2023-02-13 20:03:14 +02:00
Dmitriy Mozgovoy c19f7bf770 fix(formdata): fixed setting NaN as Content-Length for form payload in some cases; (#5535) 2023-02-11 16:34:51 +02:00
Dmitriy Mozgovoy ea87ebfe6d fix(headers): fixed the filtering logic of the clear method; (#5542) 2023-02-11 16:31:03 +02:00
github-actions[bot] 0b449293fc chore(release): v1.3.2 (#5531)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-02-03 20:09:55 +02:00
Dmitriy Mozgovoy 6b3c305fc4 fix(http): use explicit import instead of TextEncoder global; (#5530) 2023-02-03 19:34:07 +02:00
Dmitriy Mozgovoy 128d56f4a0 fix(http): treat http://localhost as base URL for relative paths to avoid ERR_INVALID_URL error; (#5528) 2023-02-03 19:02:50 +02:00
github-actions[bot] 54d3facb3b chore(release): v1.3.1 (#5522)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-02-02 01:30:01 +02:00
Dmitriy Mozgovoy 96d336f527 fix(formdata): add hotfix to use the asynchronous API to compute the content-length header value; (#5521) 2023-02-02 00:55:05 +02:00
Dmitriy Mozgovoy 08104c028c fix(serializer): fixed serialization of array-like objects; (#5518) 2023-02-01 20:38:59 +02:00
github-actions[bot] 7fbfbbeff6 chore(release): v1.3.0 (#5513)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-01-31 18:54:52 +02:00
Dmitriy Mozgovoy 9957377260 chore(ci): change release-it git config; (#5512) 2023-01-31 15:39:10 +02:00
Dmitriy Mozgovoy 6ac574e00a feat(fomdata): added support for spec-compliant FormData & Blob types; (#5316) 2023-01-31 01:10:39 +02:00
ItsNotGoodName 65e8d1e28c fix(http): add zlib headers if missing (#5497) 2023-01-31 00:49:37 +02:00
Dmitriy Mozgovoy 9915635c69 fix(headers): fixed & optimized clear method; (#5507) 2023-01-31 00:35:06 +02:00
github-actions[bot] 5bde91cac7 chore(release): v1.2.6 (#5505)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-01-28 18:40:09 +02:00
Dmitriy Mozgovoy 342c0ba9a1 fix(headers): added missed Authorization accessor; (#5502) 2023-01-27 02:01:36 +02:00
github-actions[bot] 366161e5e4 chore(release): v1.2.5 (#5500)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-01-26 17:05:24 +02:00