2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00
Commit Graph

1659 Commits

Author SHA1 Message Date
FatahChan e61a8934d8 fix(types): fix autocomplete for adapter config (#6855)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2025-04-19 18:54:33 +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
github-actions[bot] 47a611f084 chore(sponsor): update sponsor block (#6864)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-04-10 08:27:11 +02:00
Jay 5ffdcbb276 chore: update sponsors 2025-04-02 08:23:12 +02:00
George Cheng d1178cad4c chore(types): move AxiosStatic#create to AxiosInstance#create (#5096)
* Add the bad test case.

* Fix and pass the test

* Update index.d.cts

---------

Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-03-31 21:00:51 +02:00
Jay 5a9134e099 chore: create SECURITY.md 2025-03-26 17:19:58 +02: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] fd1095838c chore(sponsor): update sponsor block (#6834)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-03-20 04:13:10 +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
dependabot[bot] 1e6632cd62 chore(deps): bump tj-actions/changed-files in the github-actions group (#6838)
Bumps the github-actions group with 1 update: [tj-actions/changed-files](https://github.com/tj-actions/changed-files).


Updates `tj-actions/changed-files` from 45 to 46
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v45...v46)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 17:17:04 +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
StefanBRas 10fa70ef14 fix: add missing type for allowAbsoluteUrls (#6818)
* fix: add missing type for allowAbsoluteUrls

* fix: use semicolon in type files

---------

Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-03-10 19:22:36 +02:00
Ashcon Partovi 7821ef9f5b docs: update readme to include bun install (#6811)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-03-10 19:04:03 +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] 9812045755 chore(sponsor): update sponsor block (#6804)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-03-02 17:29:51 +02:00
github-actions[bot] 72acf75937 chore(sponsor): update sponsor block (#6794)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2025-02-26 18:44:52 +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
Willian Agostini 4a3e26cf65 chore(config): adjust rollup config to preserve license header to minified JavaScript (#6777) 2025-02-09 11:15:25 +02:00
Habip Akyol 30966a79cb docs(type): fix typo in index.ts (#6030)
docs(type): fix typo in index.ts (#6030)
2025-02-02 16:41:49 +02:00
Naron e7a9cbe3be test(transform): add test case for issue 5853 on response type to 'json' (#5901)
* test(transform): add test case for issue 5853 on response type to 'json'

* test(transform): formatted second argument

---------

Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-02-02 16:33:16 +02:00
Bailey Lissington 51c1d7ba9d chore(docs): typo in README (#6771)
chore(docs): typo in README (#6771)
2025-01-31 19:10:20 +02:00
Bernardo da Eira Duarte b5b063e476 docs(readme): fix Request Config options code highlight (#6480)
docs(readme): fix Request Config options code highlight (#6480)
2025-01-31 19:05:08 +02:00
Justin Dhillon 896f9af1be chore(docs): remove SECURITY.md (#6312)
chore(docs): remove SECURITY.md (#6312)
2025-01-31 19:01:58 +02:00
shravan || श्रvan 8889dc0383 chore(docs): fix documentation for usage of interceptors in axios (#6116)
chore(docs): fix documentation for usage of interceptors in axios (#6116)
2025-01-30 21:49:26 +02:00
yionr 45d0baa6b3 chore(docs): split long lines, easier for reading (#6129)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2025-01-30 21:45:54 +02:00
Nitin Ramnani 1260ded634 fix(examples): application crashed when navigating examples in browser (#5938)
fix(examples): application crashed when navigating examples in browser (#5938)
2025-01-30 21:25:28 +02:00
Shivam Batham bba8e2e47d chore(examples): change logo width to 100px (#5949)
chore(examples): change logo width to 100px (#5949)
2025-01-30 21:18:46 +02:00
Lipin Kariappa cdacd9761c chore(docs): Issue was related to the outdated file path and Permalink in README.md (#5936)
chore(docs): Issue was related to the outdated file path and Permalink in README.md (#5936)
2025-01-30 21:13:42 +02:00
Shin'ya Ueoka 4719d7c219 chore(docs): fix contribution guide (#5935)
chore(docs): fix contribution guide (#5935)
2025-01-30 21:09:12 +02:00
Dan Dascalescu f3723f5ad6 chore(docs): consistent spacing after comment start (#5908)
chore(docs): consistent spacing after comment start (#5908)
2025-01-30 21:02:11 +02:00
Dan Dascalescu 1f890b13f2 fix: missing word in SUPPORT_QUESTION.yml (#6757)
fix: missing word in SUPPORT_QUESTION.yml (#6757)
2025-01-28 19:36:33 +02:00
Shay Molcho 7f4dfb8c06 chore(docs): added missing colons and period for consistency (#6770)
chore(docs): added missing colons and period for consistency (#6770)
2025-01-28 19:31:24 +02:00
github-actions[bot] bad6d8b97b chore(sponsor): update sponsor block (#6754)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2025-01-10 04:57:40 +02:00
github-actions[bot] 2e58825bc7 chore(sponsor): update sponsor block (#6749)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-12-31 14:03:13 +02:00
github-actions[bot] 15054bca82 chore(sponsor): update sponsor block (#6748)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-12-28 03:53:14 +02:00
github-actions[bot] 2c9b33bab4 chore(sponsor): update sponsor block (#6746)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-12-27 05:15:03 +02:00
github-actions[bot] db44d339f0 chore(sponsor): update sponsor block (#6742)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-12-18 16:15:38 +02:00
github-actions[bot] ce350f1e21 chore(sponsor): update sponsor block (#6740)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-12-17 03:37:36 +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