Skip to content

Releases: suhaotian/xior

v0.5.1

28 May 06:08
Compare
Choose a tag to compare
  • Feat(core): if request config withCredentials: true, before useless, now will set fetch config to credentials: 'include'. Fix issues/19

Full Changelog: v0.5.0...v0.5.1


Thanks @guoyunhe

v0.5.0

19 May 10:19
Compare
Choose a tag to compare

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

02 May 01:12
Compare
Choose a tag to compare
  • revert minor improvement(unnecessary)

Full Changelog: v0.4.2...v0.4.3

v0.4.2

02 May 00:41
Compare
Choose a tag to compare
  • Feat(new plugin): add token refresh plugin
  • Chore: Update README
  • Refactor: minor improvement

Full Changelog: v0.4.1...v0.4.2

v0.4.1

29 Apr 07:53
Compare
Choose a tag to compare
  • Feat: remove undefined value in params / data. Fix #17

Thanks @amitava82 Feedback!

Full Changelog: v0.4.0...v0.4.1

v0.4.0

24 Apr 09:34
57205fe
Compare
Choose a tag to compare

Breaking Change

This version is about Axios compatible issue in some cases. Fixing #12 and #15.

  • Feat(core): when responseType: 'blob' | 'arrarybuffer' then the resposne.data is Blob and ArrayBuffer, no need response.blob() or response.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

21 Apr 01:39
Compare
Choose a tag to compare
  • 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

12 Apr 23:11
Compare
Choose a tag to compare
  • fix(plugin): fix error cache plugin cacheTime is undefined when useCacheFirst: true

Full Changelog: v0.3.11...v0.3.12

v0.3.11

12 Apr 00:41
Compare
Choose a tag to compare
  • feat(plugin): error-cache plugin add cacheTime to the response

v0.3.10

11 Apr 00:53
Compare
Choose a tag to compare
  • feat(plugin): error-retry plugin's retryInterval add config and error to parameters

Full Changelog: v0.3.9...v0.3.10