Skip to content

Releases: suhaotian/xior

v0.1.4

09 Mar 08:11
Compare
Choose a tag to compare
  • Feat(core): support xiorInstance.defaults.headers['Authorization'] = 'Basic token';

Full Changelog: v0.1.3...v0.1.4

v0.1.3

08 Mar 06:34
Compare
Choose a tag to compare
  • Feat(core): add isGet?: boolean option

It's very useful for some backend get data API but method is POST, so set isGet: true will let xior's plugins know this is GET behaviour.

Full Changelog: v0.1.2...v0.1.3

v0.1.2

08 Mar 02:21
Compare
Choose a tag to compare
  • 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

04 Mar 05:57
Compare
Choose a tag to compare
  • Fix: compatible delete method with axios, and delete 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

29 Feb 23:51
Compare
Choose a tag to compare
  • chore(build): Update build config to ensure consistency of plugin import paths
  • chore(doc): Update README

v0.0.9

29 Feb 08:15
Compare
Choose a tag to compare

fix(plugins): resolve import plugins not found file error in expo(react-native) project

v0.0.8

29 Feb 07:34
Compare
Choose a tag to compare
  • feat(core): compatiable axios's options: paramsSerializer and withCredentials

v0.0.7

27 Feb 00:03
9944d05
Compare
Choose a tag to compare
  • 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)

v0.0.6

24 Feb 04:07
Compare
Choose a tag to compare
  • feat: support plugin  🖖

Now, you can custom your plugin. In next version, will support these plugins: cache / error retry / request throttle

v0.0.5

20 Feb 03:30
Compare
Choose a tag to compare
  • fix: github release actions