Releases: suhaotian/xior
Releases · suhaotian/xior
v0.1.4
- Feat(core): support
xiorInstance.defaults.headers['Authorization'] = 'Basic token';
Full Changelog: v0.1.3...v0.1.4
v0.1.3
- Feat(core): add
isGet?: boolean
option
It's very useful for some backend
get
data API but method isPOST
, so setisGet: true
will let xior's plugins know this isGET
behaviour.
Full Changelog: v0.1.2...v0.1.3
v0.1.2
- Feat(cache plugin): add
fromCache: boolean
in result if the data from the cache plugin.
Full Changelog: v0.1.1...v0.1.2
v0.1.1
- Fix: compatible
delete
method with axios, anddelete
method shouldn't have body - Chore: remove unused code in core module
Breaking change:
import xior from 'xior';
const http = xior.create({ baseURL: 'https://exampled.com' });
// before
http.delete('/', {}, { params: { a: 1, b: 2 } });
// now
http.delete('/', { params: { a: 1, b: 2 } });
v0.0.10
v0.0.9
v0.0.8
v0.0.7
- feat(core): suport nested object paramaters in default
- feat(plugin): implemented error retry, cache, throttle, and upload/download progress plugins
- fix(build): resolved Bunchee build output error with Vite projects.
- chore(doc): updated README.md
- chore(examples): add bun, vite, and next build example for make sure it's working in these projects(except deno, it's work, but type check error)