Dmitriy Mozgovoy
0c3a1e9fde
Refactored module exports; ( #5162 )
...
* Refactored build pipeline;
Added module exports tests;
Added missing ESM export for parity with Axios factory;
Added `toFormData`, `formToJSON`, `isAxiosError`, `spread`, `isCancel`, `all` as named export to `index.d.ts`;
* Added ESM entry test;
* Updated README.md `installing` section;
* Added TypeScript importing test;
Added missed `CanceledError` & `AxiosHeaders` to `AxiosStatic` interface;
* Exclude `/test/module/` from tslint;
2022-10-30 18:46:17 +02:00
Adrien Brunet
5666ee498a
Update CHANGELOG.md ( #5137 )
2022-10-27 13:20:55 +02:00
Jay
9bd53214f6
chore: release 1.1.3
2022-10-15 15:43:01 +02:00
ChronosMasterOfAllTime
b0ebf9fcac
Fix: Don't add null values to query string. ( #5108 )
...
* feat: add boolean flag to mimic pre 1.x behavior for paramsSerializer custom function
* chore: update ParamsSerializer Readme
* fix: dont slice hash off URL if not appending params
* Omit nulls from formData serialization
* fix: dont add nulls or undefined values to arrays either
* readme update
* fix test
* chore: documentation
* chore: do TS properly
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-15 15:01:59 +02:00
littledian
ef1c48a476
fix: eep top-level export same with static properties ( #5109 )
...
* chore: add necessary devDependencies for rollup build
* fix: keep top-level export same with static properties(#5031 )
Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-13 22:17:06 +02:00
Dmitriy Mozgovoy
9d4b016dde
feat: added custom params serializer support; ( #5113 )
...
* Added custom params serializer support;
* Added missed semicolon;
Fixed allowUnknown option;
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-13 22:12:10 +02:00
Salman Shaikh
ed19414b33
fix: added AxiosHeaders in AxiosHeaderValue ( #5103 )
...
fixes issue #5034
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-13 22:00:05 +02:00
Patrick Petrovic
717f476b0f
fix: restore proxy config backwards compatibility with 0.x ( #5097 )
...
* fix: restore proxy config backwards compatibility with 0.x
* Formatting
Co-authored-by: Patrick Petrovic <patrick@Air-de-Patrick.lan >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-13 21:55:20 +02:00
Dmitriy Mozgovoy
83454a55f6
chore: added progress capturing section to the docs; ( #5084 )
...
Added rate limiting section to the docs;
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-13 21:47:23 +02:00
Félix Legrelle
e7b3f553e9
chore: update issue template ( #5061 )
...
* chore: update issue template
* fix: fix bug report template
* fix: fix feature request template
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-13 21:29:23 +02:00
Arvindh
eedd9aafa5
chore: fixing comments typo ( #5054 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-13 21:20:41 +02:00
Dmitriy Mozgovoy
110ae9ae61
fix: handling of array values for AxiosHeaders ( #5085 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-13 21:11:01 +02:00
Lenz Weber-Tronic
85740c3e7a
pin CDN install instructions to a specific version ( #5060 )
2022-10-13 21:05:15 +02:00
scarf
b733f36c2a
docs: match badge style, add link to them ( #5046 )
...
codetriage and snyk could not be styled because the former does not have api; snyk api is charged.
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-08 20:25:37 +02:00
Jay
1b29f4e98e
chore: release v1.1.2
2022-10-07 12:09:17 +02:00
Jay
1315e2282f
chore: release v1.1.1
2022-10-07 11:08:35 +02:00
Jay
6140fcf96f
chore: updated changelog
2022-10-07 11:04:34 +02:00
Jay
9fc94b7dcd
fix: revert named exports
2022-10-07 10:43:43 +02:00
Jay
a46beab152
fix: keep compatability with other changes
2022-10-07 10:24:18 +02:00
Jay
2149464bb4
fix: issue with exports not working correctly in common js scenarios
2022-10-07 10:19:25 +02:00
Jay
9c3dce366b
chore: release v1.1.0
2022-10-06 21:17:46 +02:00
Jay
52d64ac3b7
chore: generate changelog
2022-10-06 21:14:48 +02:00
Richard Kořínek
d701c7b591
Improved plain object checking ( #5036 )
2022-10-06 21:01:37 +02:00
Ivan Pepelko
7a06a3616f
Fix commonjs & umd exports ( #5030 )
2022-10-06 10:59:47 +02:00
shingo.sasaki
a6e40c3bb2
fix(type): add clear to AxiosInterceptorManager ( #5010 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-10-06 08:16:27 +02:00
Dmitriy Mozgovoy
e757e0e572
Make onabort&addEventListener&removeEventListener of GenericAbortSignal interface optional; ( #5021 )
2022-10-06 08:09:45 +02:00
Dmitriy Mozgovoy
3e4d52171e
Fixed query params composing; ( #5018 )
...
* Fixes #4999 ;
* Added regression test;
2022-10-05 21:29:50 +02:00
Trim21
d61dbede95
add missing export ( #5003 )
2022-10-05 08:02:35 +02:00
Jay
484aa4fe6a
chore: updated changelog
2022-10-04 21:19:36 +02:00
Jay
ff34f6dd51
chore: release v1.0.0
2022-10-04 20:25:21 +02:00
Raihan Nismara
aa001e2946
Using Logo Axios in Readme.md ( #4993 )
...
Using logo Axios in readme file made looks nicer
2022-10-04 19:48:11 +02:00
dependabot[bot]
659eeaf67c
chore(deps): bump actions/stale from 5 to 6 ( #4980 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 6.
- [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/v5...v6 )
---
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>
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-29 08:27:44 +02:00
Huyen Nguyen
60e85533b3
docs: enable syntax highlighting for a code block ( #4970 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-29 08:27:32 +02:00
Willian Agostini
58ec93a95e
Allow null indexes on formSerializer and paramsSerializer ( #4960 )
...
* test: Failed test
Param indexes from formSerializer and paramsSerializer receiving null
Closes #4959
* fix: Allow null to indexes in SerializerOptions
Closes #4959
Co-authored-by: Willian Agostini <willian.agostini@fleetcor.com.br >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-29 08:18:35 +02:00
Luca Pizzini
05338f4454
Removed unused imports ( #4949 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-28 21:16:14 +02:00
Marco Weber
0959c5cbbb
Improve typing of timeout in index.d.ts ( #4934 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-28 21:09:57 +02:00
Parth Banathia
25a5669739
fix: removed unused imports ( #4914 )
...
Co-authored-by: parth0105pluang <98079965+parth0105pluang@users.noreply.github.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-28 20:57:06 +02:00
mia-z
b5ea1dc009
feat: add enum containing Http Status Codes to typings. ( #4903 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-28 20:42:00 +02:00
C. T. Lin
7c60c6282a
chore: simplify the import path of AxiosError ( #4875 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-26 21:16:44 +02:00
Stephen Jennings
64906bd886
require interceptors to return values ( #4874 )
...
Fixes #4873
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-26 21:11:29 +02:00
Günther Foidl
b0710bf8a2
SerializerOptions.indexes allows boolean | null | undefined ( #4862 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-26 20:26:32 +02:00
WD
daa426a01c
fix: the error of calling extend to pass parameters #4844 ( #4857 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-26 20:14:37 +02:00
Usman Ali Siddiqui
892c241773
Fix: typo in readme ( #4942 )
...
Co-authored-by: Usman Ali Siddiqui <usmanali.siddiqui@wsa.com >
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-15 07:36:31 +02:00
Yue JIN
5138c302bb
docs: fix Gitpod dead link ( #4941 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-15 07:32:36 +02:00
WD
cec2287024
chore: remove unnecessary spaces ( #4854 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-15 07:25:21 +02:00
Karl Horky
d57fdb6510
Fix typo and formatting, add colons ( #4853 )
...
* Fix typo, add colons
* Fix code formatting
* Fix code formatting
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-15 07:21:40 +02:00
felipedamin
738fa63661
Use WHATWG URL API instead of url.parse() ( #4852 )
...
* replace url.parse with new whatwg url api
* remove comments
* use const instead of var
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-14 21:40:08 +02:00
Grégoire Pineau
dd5ba02254
Fix markup for note in README ( #4825 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-14 21:32:23 +02:00
Bassel Rachid
242c1d9782
fix(adapters/http): remove repeated compression algorithm ( #4820 )
...
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-14 21:28:09 +02:00
Dmitriy Mozgovoy
379fdebc46
Fixed a regression bug with unsubscribing from cancel token; ( #4819 )
...
Reverts #4795 ;
Co-authored-by: Jay <jasonsaayman@gmail.com >
2022-09-14 21:24:22 +02:00