Dimitrios Lazanas
5064b108de
fix(form-data): convert boolean values to strings in FormData serialization ( #6917 )
2025-05-21 17:32:38 +02:00
github-actions[bot]
cdcfd214c1
chore(release): v1.9.0 ( #6891 )
...
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com >
2025-04-24 23:18:14 +03:00
Ionuț G. Stan
987d2e2dd3
fix(http): send minimal end multipart boundary ( #6661 )
2025-04-24 22:19:48 +03:00
Dmitriy Mozgovoy
f7a3b5e0f7
fix(headers): fixed support for setting multiple header values from an iterated source; ( #6885 )
2025-04-23 19:24:08 +03:00
Dmitriy Mozgovoy
6c5d4cd692
fix(core): fix the Axios constructor implementation to treat the config argument as optional; ( #6881 )
2025-04-18 02:22:31 +03:00
Dmitriy Mozgovoy
dfe8411c9a
fix(fetch): fixed ERR_NETWORK mapping for Safari browsers; ( #6767 )
2025-04-15 01:52:53 +03:00
Dmitriy Mozgovoy
d4f7df4b30
fix(headers): fix getSetCookie by using 'get' method for caseless access; ( #6874 )
2025-04-14 22:38:27 +03:00
Dmitriy Mozgovoy
1b1f9ccdc1
fix(headers): allow iterable objects to be a data source for the set method; ( #6873 )
2025-04-14 21:55:27 +03:00
Willian Agostini
80ea756e72
feat(AxiosHeaders): add getSetCookie method to retrieve set-cookie headers values ( #5707 )
...
* feat(AxiosHeaders): add getSetCookie method to retrieve set-cookie header values
* refactor(AxiosHeaders.js): use logical OR instead of nullish coalescing operator in getSetCookie method
---------
Co-authored-by: Willian Agostini <willian.agostini@gmail.com.br >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2025-03-25 21:30:23 +02:00
github-actions[bot]
9f6f97bcfb
chore(release): v1.8.4 ( #6844 )
...
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com >
2025-03-19 21:26:49 +02:00
Marc Hassan
f10c2e0de7
fix(buildFullPath): handle allowAbsoluteUrls: false without baseURL ( #6833 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2025-03-18 20:01:37 +02:00
github-actions[bot]
39ec206483
chore(release): v1.8.3 ( #6819 )
...
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com >
2025-03-12 09:23:22 +02:00
Marc Hassan
ec159e507b
fix(xhr/fetch): pass allowAbsoluteUrls to buildFullPath in xhr and fetch adapters ( #6814 )
2025-03-10 14:29:41 +02:00
github-actions[bot]
a9f7689b0c
chore(release): v1.8.2 ( #6812 )
...
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com >
2025-03-07 09:40:33 +02:00
Fasoro-Joseph Alexander
fb8eec214c
fix(http-adapter): add allowAbsoluteUrls to path building ( #6810 )
...
Co-authored-by: alex-paystack <alex@paystack.com >
2025-03-07 09:30:30 +02:00
github-actions[bot]
2e64afdff5
chore(release): v1.8.1 ( #6800 )
...
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com >
2025-02-26 11:06:15 +02:00
Dmitriy Mozgovoy
36a5a620be
fix(utils): move generateString to platform utils to avoid importing crypto module into client builds; ( #6789 )
...
* chore(ci): Add release-it script;
* fix(utils): move generateString util to platform utils to avoid importing crypto module into client build;
---------
Co-authored-by: Jay <jasonsaayman@gmail.com >
2025-02-26 10:30:55 +02:00
github-actions[bot]
cceb7b1e15
chore(release): v1.8.0 ( #6795 )
...
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com >
2025-02-26 08:00:31 +02:00
Willian Agostini
23a25af068
fix(utils): replace getRandomValues with crypto module ( #6788 )
2025-02-18 14:36:51 +02:00
Michael Toscano
32c7bcc0f2
feat: Add config for ignoring absolute URLs ( #5902 ) ( #6192 )
...
* fix: prevent request url override
prevent request URL from overriding preconfigured base URL
BREAKING CHANGE: code relying on the above will now combine the URLs instead of prefer request URL
* feat: add config option for allowing absolute URLs
* fix: add default value for allowAbsoluteUrls in buildFullPath
* fix: typo in flow control when setting allowAbsoluteUrls
* feat: update tests supporting issue #5902 functionality
* feat: update README.md with allowAbsoluteUrls
* fix: properly group conditions in buildFullPath.js to avoid undefined error when baseUrl undefined
* Update README.md fix typo
* fix: update build full path logic to address failing test case
* fix: update base URL test
* fix: remove problem test (works locally, will not work in the pipeline)
* fix: update https test to use github.com instead of google.com
* fix: revert previous commit
* fix: add back problem test
* chore: remove un-needed passed var to URL class instanciation
---------
Co-authored-by: Austin Ryan Lawson <ryan.lawson2@gmail.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2025-02-12 11:09:24 +02:00
Jay
1317261125
Revert "chore: expose fromDataToStream to be consumable ( #6731 )" ( #6732 )
...
This reverts commit 7aae04d292 .
2024-12-06 11:30:15 +02:00
fancy45daddy
7aae04d292
chore: expose fromDataToStream to be consumable ( #6731 )
2024-12-05 16:27:34 +02:00
github-actions[bot]
b2cb45d5a5
chore(release): v1.7.9 ( #6730 )
...
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com >
2024-12-04 09:37:30 +02:00
github-actions[bot]
415ca94401
chore(release): v1.7.8 ( #6715 )
...
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com >
2024-11-25 23:13:12 +02:00
Dmitriy Mozgovoy
0a8d6e19da
fix: use URL API instead of DOM to fix a potential vulnerability warning; ( #6714 )
2024-11-25 22:02:07 +02:00
Tommaso Paulon
eac4619fe2
fix: allow passing a callback as paramsSerializer to buildURL ( #6680 )
...
* fix: allow passing a callback as paramsSerializer to buildURL
* fix: add missing semicolon
2024-11-12 17:33:33 +02:00
Kasper Isager Dalsgarð
df956d18fe
fix(http): use globalThis.TextEncoder when available ( #6634 )
...
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-11-12 16:00:26 +02:00
Pavan Welihinda
12b32957f1
fix(http): fixed proxy-from-env module import ( #5222 )
...
Co-authored-by: Pavan Welihinda <pavan@babyjourney.se >
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-11-07 21:12:02 +02:00
Akki
5d99fe4491
fix(core): fixed config merging bug ( #6668 )
...
Co-authored-by: rana-aakash <aakash.rana@rooter.io >
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-10-30 23:39:55 +02:00
Henco Appel
6841d8d18d
fix(http): add support for File objects as payload in http adapter ( #6588 ) ( #6605 )
...
Co-authored-by: Hendrik Appel <happel@europe.altair.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-10-13 20:43:40 +03:00
Taylor Flatt
cc3217a612
fix: updated stream aborted error message to be more clear ( #6615 )
2024-09-28 13:04:22 +02:00
Ell Bradshaw
8f3cde11d2
Warn about common option misspellings ( #6489 )
...
* chore(tests): add failing tests for baseUrl
* chore(tests): simplify to just warning
* feat: warn about likely-misspelled options
* chore: add semi-colon
* chore: add missing semi-colons
---------
Co-authored-by: Ell Bradshaw <ell@c9a.co >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2024-09-26 21:31:24 +02:00
Kenzo Wada
763895270f
fix: ios11 breaks when build ( #6608 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2024-09-26 19:28:35 +02:00
github-actions[bot]
5b8a826771
chore(release): v1.7.7 ( #6585 )
...
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com >
2024-09-01 01:01:25 +03:00
Rishi556
364993f0d8
fix(http): fixed support for IPv6 literal strings in url ( #5731 )
2024-09-01 00:47:25 +03:00
Dmitriy Mozgovoy
d1980854fe
fix(fetch): fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; ( #6584 )
2024-08-31 22:14:23 +03:00
github-actions[bot]
d584fcfa62
chore(release): v1.7.6 ( #6583 )
...
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com >
2024-08-30 22:56:08 +03:00
Dmitriy Mozgovoy
df9889b83c
fix(fetch): optimize signals composing logic; ( #6582 )
2024-08-30 21:26:12 +03:00
Jacques Germishuys
085f56861a
fix(fetch): fix content length calculation for FormData payload; ( #6524 )
2024-08-25 20:38:10 +03:00
github-actions[bot]
59cd6b0dec
chore(release): v1.7.5 ( #6574 )
...
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com >
2024-08-23 16:31:50 +03:00
Dmitriy Mozgovoy
6700a8adac
fix(core): add the missed implementation of AxiosError#status property; ( #6573 )
2024-08-23 15:58:38 +03:00
Antonin Bas
7004707c41
fix(adapter): fix undefined reference to hasBrowserEnv ( #6572 )
2024-08-23 15:23:14 +03:00
Dmitriy Mozgovoy
fed1a4b2d7
fix(core): fix ReferenceError: navigator is not defined for custom environments; ( #6567 )
2024-08-23 15:16:42 +03:00
Hans Otto Wirtz
550d885eb9
fix(fetch): fix credentials handling in Cloudflare workers ( #6533 )
...
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com >
2024-08-20 15:23:32 +03:00
github-actions[bot]
abd24a7367
chore(release): v1.7.4 ( #6544 )
...
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com >
2024-08-13 21:32:20 +02:00
Lev Pachmanov
6b6b605eaf
fix(sec): CVE-2024-39338 ( #6539 ) ( #6543 )
...
* fix(sec): cve-2024-39338 (#6539 )
* fix(sec): fix test
2024-08-13 20:43:05 +02:00
Đỗ Trọng Hải
07a661a2a6
fix(sec): disregard protocol-relative URL to remediate SSRF ( #6539 )
...
* fix(sec): disregard protocol-relative URL to remediate SSRF
Signed-off-by: hainenber <dotronghai96@gmail.com >
* feat(test/unit/regression): add regression test to ensure SNYK-JS-AXIOS-7361793 fixed in future version
Signed-off-by: hainenber <dotronghai96@gmail.com >
* chore: add EoF newline + comments
Signed-off-by: hainenber <dotronghai96@gmail.com >
* chore: fix eslint issues
Signed-off-by: hainenber <dotronghai96@gmail.com >
* Update SNYK-JS-AXIOS-7361793.js
Co-authored-by: tom-reinders <tom-reinders@users.noreply.github.com >
---------
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: tom-reinders <tom-reinders@users.noreply.github.com >
2024-08-13 17:03:25 +02:00
github-actions[bot]
c6cce43cd9
chore(release): v1.7.3 ( #6521 )
...
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com >
2024-08-01 19:15:27 +03:00
Dmitriy Mozgovoy
e3c76fc9bd
fix(adapter): fix progress event emitting; ( #6518 )
2024-08-01 16:59:58 +03:00
prianYu
85d4d0ea0a
fix(fetch): fix withCredentials request config ( #6505 )
2024-08-01 15:26:06 +03:00