夜葬
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
github-actions[bot]
6600d51e6b
[Release] v1.2.4 ( #5487 )
...
* chore(release): v1.2.4
* chore(changelog): update CHANGELOG;
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com >
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2023-01-24 19:20:59 +02:00
github-actions[bot]
484e0b6ed2
chore(release): v1.2.3 ( #5459 )
...
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com >
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2023-01-15 19:33:15 +02:00
Jay
45c4948416
chore: build new version
2022-12-29 08:21:12 +02:00
Dmitriy Mozgovoy
46085e6ffc
chore(ci): fix release action;
...
* chore(ci): Add release-it script;
* fix(utils): redesigned logic for obtaining the global link;;
* chore(git): updated .gitignore;
chore(npm): updated .npmignore;
* chore(git): fix husky prepare script;
* chore(github): reworked npm release action step;
* chore(ci): add CHANGELOG.md contributors section generator;
* chore(deps): add `auto-changelog` to package.json;
2022-12-20 20:45:24 +02:00
Dmitriy Mozgovoy
1e58a659ec
fix: fixed Brotli decompression; ( #5353 )
...
test: added decompression tests;
fix: added legacy `x-gzip` & `x-compress` encoding types;
2022-12-07 20:57:02 +02:00
Winnie
56e9ca1a86
fix: Add missing HttpStatusCode ( #5345 )
2022-12-06 22:34:48 +02:00
Jay
1fd79d3220
chore: release 1.2.1
2022-12-05 21:36:02 +02:00
Kevin Ennis
26874603b3
feat: export mergeConfig ( #5151 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-12-01 20:41:57 +02:00
wenzheng
e3d759491c
fix: exception to sending formdata in webworker ( #5139 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-12-01 19:15:23 +02:00
Dmitriy Mozgovoy
9041c7d272
Fixed decompression for responses without Content-Length header ( #5306 )
...
* Fixed decompression for responses without `content-length` header;
* Add Brotli encoding to the `Accept-Encoding` header only if it is supported.
* `content-length` header transformation moved up;
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-12-01 16:22:20 +02:00
Ivan Barsukov
786b113a40
fix: removing multiple/trailing/leading whitespaces ( #5022 )
...
* fix: removing multiple/trailing/leading whitespaces
* Reverting changes in the dist directory
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-11-25 15:56:31 +02:00
Arthur Fiorette
cac6cfa6f6
fix: include config on new CancelledError ( #4922 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-11-25 15:46:49 +02:00
Jay
f92e167f76
chore(release): 1.2.0
2022-11-22 20:59:45 +02:00
Dmitriy Mozgovoy
d032edda08
Refactored adapters loader; ( #5277 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-11-22 20:53:56 +02:00