Releases: suhaotian/xior
v0.5.1
v0.5.0
This is a breaking change:
- Feat(core): The xior class should be CapitalCase, like:
Xior
. Fix issues/18
Migration
If you always use import xior from 'xior';
, you can ignore migration code below.
Before:
import { xior } from 'xior';
Now:
import { Xior } from 'xior';
Thanks
Thanks @guoyunhe feedback 🙌!
Full Changelog: v0.4.3...v0.5.0
v0.4.3
- revert minor improvement(unnecessary)
Full Changelog: v0.4.2...v0.4.3
v0.4.2
- Feat(new plugin): add token refresh plugin
- Chore: Update README
- Refactor: minor improvement
Full Changelog: v0.4.1...v0.4.2
v0.4.1
- Feat: remove
undefined
value inparams
/data
. Fix #17
Thanks @amitava82 Feedback!
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Breaking Change
This version is about Axios compatible issue in some cases. Fixing #12 and #15.
- Feat(core): when
responseType: 'blob' | 'arrarybuffer'
then theresposne.data
isBlob
andArrayBuffer
, no needresponse.blob()
orresponse.arraybuffer()
anymore. - Fix(interceptors): make sure the multiple response interceptors chain behaviour same as axios's interceptors.
Thanks @Aybee5 and @mgoodfellow
What's Changed
- Response type blob arrarybuffer and add same axios's multiple response interceptors chain behaviour by @suhaotian in #16
Full Changelog: v0.3.13...v0.4.0
v0.3.13
-
Feat(plugin): add custom paramaters of LRU in plugins: cache, error-cache, throttle
-
Feat(plugin): add
cacheTime
to cache plugin -
chore(docs): update intro, add examples and tips.
-
chore(docs): add new community plugin https://github.com/Audiu/xior-auth-refresh Thanks @mgoodfellow
Full Changelog: v0.3.12...v0.3.13
v0.3.12
- fix(plugin): fix error cache plugin
cacheTime
is undefined whenuseCacheFirst: true
Full Changelog: v0.3.11...v0.3.12
v0.3.11
v0.3.10
- feat(plugin):
error-retry
plugin'sretryInterval
addconfig
anderror
to parameters
Full Changelog: v0.3.9...v0.3.10