Skip to content

Commit

Permalink
big update: plugins, new README, more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaotian committed Feb 26, 2024
1 parent bc95c55 commit 246773c
Show file tree
Hide file tree
Showing 33 changed files with 2,658 additions and 276 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build
on: push
on: [push, pull_request]

jobs:
check:
Expand Down Expand Up @@ -30,3 +30,12 @@ jobs:

- name: Run build
run: pnpm build

- name: Run example build
run: pnpm --filter=example-app build

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: suhaotian/xior
20 changes: 14 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,33 @@
# CHANGELOG 📝

- feat: work with polyfill in old enviroment
## v0.0.7 2024-02-26

- 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

## v0.0.6 2024-02-24

- feat(plugin): Plugin mechanism implemented 🖖
- feat: Compatibility with polyfills in older environments

## v0.0.5 2024-02-20

- fix: github actions release
- fix: resolved issues with GitHub Actions release

## v0.0.4

- feat: support url as first paramter in xiorInstance.request('/url')
- feat: mark `headers` and `params` types as `Record<string, any>` and not undefined in interceptors
- feat: add generic type to `XiorRequestConfig`
- feat: Removed first parameter `url` from `xiorInstance.request`

## v0.0.3

- Chore: improve README and add more tests
- Chore: Enhanced README and added more tests
- Feat: `xiorInstance.request` remove first parameter `url`

## v0.0.2 2024-02-18

- Feat: compatiable error handle with axios's response interceptor
- Feat: improved error handling compatibility with Axios's response interceptor.

## v0.0.1 2024-02-15

Expand Down
Loading

0 comments on commit 246773c

Please sign in to comment.