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

1403 Commits

Author SHA1 Message Date
Dmitriy Mozgovoy 580f1e8033 fix(types): fixed AxiosHeaders to handle spread syntax by making all methods non-enumerable; (#5499) 2023-01-26 16:01:06 +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
Dmitriy Mozgovoy 2a71f49bc6 fix(types): renamed RawAxiosRequestConfig back to AxiosRequestConfig; (#5486) 2023-01-23 01:09:18 +02:00
Dmitriy Mozgovoy 6486929f70 Fix AxiosRequestHeaders & AxiosHeaders types; (#5482) 2023-01-21 17:31:24 +02:00
Daniel Hillmann 186ea062da fix AxiosRequestConfig generic (#5478)
pass AxiosRequestConfig generic D to RawAxiosRequestConfig
2023-01-19 08:57:38 +02:00
Dmitriy Mozgovoy 557ed0a748 chore(ci): fixed publish action; (#5470) 2023-01-16 01:47:46 +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
Dmitriy Mozgovoy d83316db4a chore(ci): enabled npm publishing; (#5460) 2023-01-10 21:14:49 +02:00
Dmitriy Mozgovoy d750901ded chore(ci): added an action to make GitHub & NPM releases when merging a release PR; (#5456) 2023-01-10 00:08:59 +02:00
Dmitriy Mozgovoy 477c71427d chore(ci): fixed error in generating changelog with unnecessary spaces; (#5455) 2023-01-09 17:10:14 +02:00
Dmitriy Mozgovoy e2a1e280f6 chore(ci): improved contributors & PRs sections generator; (#5453) 2023-01-09 15:24:02 +02:00
Dmitriy Mozgovoy 18772ed8fd chore(ci): improved logging; (#5451) 2023-01-08 02:51:52 +02:00
Dmitriy Mozgovoy 259f5f5aaa chore(ci): added step of generating a list of contributors for CHANELOG.md; (#5449) 2023-01-07 20:01:43 +02:00
Dmitriy Mozgovoy d33a3deb82 chore(ci): added commit message config; (#5447) 2023-01-07 19:15:54 +02:00
dependabot[bot] ebb9e81443 chore(deps): bump json5 from 1.0.1 to 1.0.2 (#5438)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-07 18:15:58 +02:00
Dmitriy Mozgovoy b4b5b360ec chore(ci): updated release-it config; (#5446) 2023-01-07 18:04:51 +02:00
Dmitriy Mozgovoy f6b480912e chore(ci): improved contributors list generator; (#5443) 2023-01-07 02:40:08 +02:00
Dmitriy Mozgovoy 145df40e44 chore(ci): add authorization token for GitHub API requests; (#5442) 2023-01-06 16:17:02 +02:00
Dmitriy Mozgovoy 139d51f682 chore(ci): updated release-it config; (#5439) 2023-01-06 02:34:45 +02:00
Dmitriy Mozgovoy 08119634a2 fix(types): fixed AxiosRequestConfig header interface by refactoring it to RawAxiosRequestConfig; (#5420) 2023-01-06 02:02:08 +02:00
Dmitriy Mozgovoy 8651bf17d4 chore(ci): add an action to create a release PR; 2023-01-06 01:50:31 +02:00
dependabot[bot] abd2cb83a3 chore(deps): bump actions/stale from 6 to 7 (#5408)
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 08:39:48 +02:00
Jay 8ea432429b chore(docs): added latest release notes 2022-12-29 08:31:54 +02:00
Jay 45c4948416 chore: build new version 2022-12-29 08:21:12 +02:00
Dmitriy Mozgovoy 6f74cb1880 chore(ci): set conventional-changelog header config; (#5406) 2022-12-25 17:43:44 +02:00
Dmitriy Mozgovoy 8de391ff8a chore(ci): fix automatic contributors resolving; (#5403) 2022-12-23 16:49:47 +02:00
Dmitriy Mozgovoy 341f735297 chore(ci): improved logging for the contributors list generator; 2022-12-20 23:03:27 +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 f12d01eed1 chore(ci): fix version bump script by adding bump argument for target version; 2022-12-19 19:52:59 +02:00
Dmitriy Mozgovoy 75217e690c fix(ci): fix release script inputs; 2022-12-19 18:43:57 +02:00
dependabot[bot] c1fc33c5e2 chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 08:16:06 +02:00
Dmitriy Mozgovoy 45b29dbc32 GitHub Actions Release script; (#5384)
* chore(ci): Add release-it script;

* chore(ci): add github actions release script;
2022-12-17 22:32:07 +02:00
Dmitriy Mozgovoy 493e04cd28 Fix/prerelease scipts (#5377)
* fix(scripts): rename prerelease scripts due to npm namespace conflict;

* chore(git): add `.npmrc` and `.env` to gitignore;
2022-12-15 19:50:44 +02:00
Dmitriy Mozgovoy 38865e3205 Fix/release scripts (#5376)
* fix(scripts): fix version bump script;
2022-12-15 00:56:04 +02:00
Dmitriy Mozgovoy 7a2f901f42 Fix/typescript tests (#5375)
* chore(ci): Add release-it script;

* chore(ci): add `release:no-npm` script to release the package without making an npm release;

* fix(test): fixed `d.ts` typings;
refactor(test): refactor typescript tests;
2022-12-14 22:49:49 +02:00
Dmitriy Mozgovoy f2547d0e03 CI/release scripts (#5364)
* chore(ci): add release scripts;
2022-12-12 00:50:11 +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 981265dbf4 chore: release notes 2022-12-05 21:43:37 +02:00
Jay 1fd79d3220 chore: release 1.2.1 2022-12-05 21:36:02 +02:00
Dmitriy Mozgovoy a6efeaf2d9 Change AxiosProgressEvent.event type to any; (#5308)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 21:03:58 +02:00
Zachary Lysobey 6d367b9e2c docs: remove README link to non-existent upgrade guide (#5307)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 20:52:42 +02:00
Kevin Ennis 26874603b3 feat: export mergeConfig (#5151)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 20:41:57 +02:00
Philipp Loose 6f59cdbac9 refactor: add missing types for static AxiosError.from method (#4956)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 20:36:42 +02:00
secondl1ght e1a4efe638 Fix typo in issue template name (#5159)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-12-01 19:29:17 +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